Giter VIP home page Giter VIP logo

blobdetection's Introduction

BlobDetection

A tool for Hannah to count mayfly eggs. Reuires a running and up-to-date version of Anaconda and Jupyter notebooks on your local PC. (I will try to get it running on Binder from here when I have a chance).

You can download this repository as a folder to your machine. One you have unzipped the array, navigate to the unpacked directory using your terminal. In the directory, run the command:

conda env create -n ENVNAME --file BlobDetection.yml

^ this command will create a working environmnent in your anaconda and will download all the necessary python packages for the code to work. After the environment BlobDetection is installed, you will need to run the following code in your terminal before using the code:

conda activate BlobDetection

^ this command activates the working environment. Once the environment is active, you can run the code:

jupyter notebook

^ this command will launch a jupyter notebook interface in your browser tab. In that tab, you should be able to navigate to the directory and run the file count_eggs.ipynb. Everything will be done through that file and it contains some superficial instructions and tuning controls for you to play with. Note that you do not need to move all your photos to the directory, it should be possible to upload images from any directory of your machine.

When you are done with the script you can close the tab on the browser and the return to your terminal and enter:

conda deactivate

^ this will deactivate your working environemnt.

Currently, the code is adjusted for the image in the input_photos folder called testimage.jpg. If you run all cells in order without making any changes to the detector tuning parameters, you should get 82 eggs in that image. (in reality there is more but that is why you have control over the tuning parameters).

blobdetection's People

Contributors

anastasia-rk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.