Difference between revisions of "Bee counter software"

From HiveTool
Jump to: navigation, search
(Created page with "beeTrack1 A c++ program using openCV libraries. Each frame: #Convert image to grey scale. #Threshold based on grey value. #Filter to smoth the noise. #Draw a contour around ...")
 
Line 22: Line 22:
 
7 vilot
 
7 vilot
  
[[media:/beecounter/beeTrack1_1.mp4]]
+
 
 +
http://hivetool.org/counter/beeTrack1_1.mp4

Revision as of 00:34, 19 March 2015

beeTrack1

A c++ program using openCV libraries.

Each frame:

  1. Convert image to grey scale.
  2. Threshold based on grey value.
  3. Filter to smoth the noise.
  4. Draw a contour around each object.
  5. Calculate area of each object and color code it based on size
  6. Check each track to see if it falls within a contour fo an object.
  7. If so, append the center coordinates of the object to the track. If not, start a new track.
  8. When the track ends, increment the In or out counter depending on where the track ends.


1 brown 2 red 3 orange 4 yellow 5 green 6 blue 7 vilot


http://hivetool.org/counter/beeTrack1_1.mp4