Bird camera: detect (rapid) camera movement

asked 2014-10-25 15:34:35 -0600

tracek gravatar image

updated 2017-10-14 17:41:23 -0600

Hi,

I am just starting Computer Vision, which is why my question will not be very specific. We have at our disposal a set of videos that were recorded from birds' necks; the point is to learn more about behaviour of a certain species. There are in principle three actions to classify:

  1. Bird is flapping its wings, which characterised by rapid camera movement: flapping example
  2. Bird is gliding, the camera moves relatively steadily: gliding example
  3. Bird is in a colony, again no rapid movement, but also amount of blue is much less than in the point above: colony example

On top of that there are also videos that are just messy due to a camera that was fogged up or moved to a position that limits field of view to the bird's feathers (example).

Can you give me some ideas what algorithms from OpenCV I could use to discriminate flapping (1) from gliding (2)? Since we are talking about birds that spend their day at the see, I guess distinction between gliding (2) and colony (3) should be simple by checking histogram content, right?

Any thoughts about finding the instances in which camera was fogged? Histogram again perhaps? Gray tends to dominate there.

edit retag flag offensive close merge delete

Comments

That's a really nice problem. My first thought is optical flow: http://docs.opencv.org/trunk/doc/py_tutorials/py_video/py_lucas_kanade/py_lucas_kanade.html There should be a large vertical flow during flapping and rather little flow during gliding. I think you shouldn't rely to much on color since the sea could be as gray as the stones in bad weather and color in general depends strongly on the lighting conditions.

FooBar gravatar imageFooBar ( 2014-10-25 18:22:23 -0600 )edit

Thanks for the suggestion! Indeed "optical flow" looks like a good place to start. And you are right that colour of the sea is not always the same. I am more of a mountain person, which is why my definition of ocean is big blue water reservoir :).

tracek gravatar imagetracek ( 2014-10-26 06:20:09 -0600 )edit