This project is used to detect and count eggs with the opencv library.
You can also adjust the radius and area from the settings page.
There are two blue and one green lines in the image. When the egg enters between two blue lines, the detection algorithm starts running.When the green line crosses, the number of eggs is increased by 1.
P.S: I added a video file for testing. You can test it either through the video file or via the ip camera or via your webcam.
- Python 2.7.15+
- OpenCV 3.4.2+
- PyQt5 Library(GUI - for Setting page)
- Python(or from here reference):
$ brew install python3
- OpenCV(or from here reference):
$ brew install opencv
or
$ pip3 install opencv-python
- PyQt5(or from here reference):
$ pip3 install pyqt5
Help / bug fix etc. Feel free to contact out via Mail
Harun Özdemir, harunozdmirr@gmail.com