![]() | 1 | initial version |
One can use background subtraction if your camera is stationary. Subsequently one can count blobs. For background subtraction take a look at this: http://docs.opencv.org/trunk/d1/dc5/tutorial_background_subtraction.html#gsc.tab=0
Binarize the image, then detect and count blobs. You might need to track the hornets and add extra logic to determine if its the same hornet in order to extract the count.