Ask Your Question

help with tracking bees

asked 2017-07-24 03:24:39 -0500

I'm new with opencv and i want to make a program that can detect the bees at the beehive entrance and track their motion. What are the steps and tools needed to do that ?

edit retag flag offensive close merge delete


Well simply said

  1. Google
  2. Look for movement detection / object detection --> will get you tons of tutorials out there
  3. Try some stuff out

Once you get stuck, and you have actual errors, head back. We are not here to solve your projects, but more for providing guidance in finding solutions to your issues :)

StevenPuttemans gravatar imageStevenPuttemans ( 2017-07-24 06:35:09 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-25 05:49:15 -0500

Raki gravatar image

updated 2017-07-25 05:53:06 -0500

This is not a trivial task. It depends on a lot of variables but the most important one is definitely the background. If your camera is static, you can use the background subtraction, this way you would detect anything that moves. After that, you would need to filter out the bees (considering there are other things that also move in your frame, if not, you are already done), which you can use Haar Classifier for. Or if you want a simplistic approach, all bees are more or less yellowish, you may go for traditional image processing techniques to filter the non-yellow matches.

As I said, it depends on a lot of parameters. but since you haven't provided any other information, I cannot help that much either. At least provide a sample frame that you want to detect bees in so that we could brainstorm about it accordingly. Now without knowing anything, it is not really possible.

That said, background subtraction is your best bet as long as your camera does not move. If you also move around with your camera, then you should go for learning methods probably,

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-07-24 03:24:39 -0500

Seen: 183 times

Last updated: Jul 25 '17