Difference between revisions of "Bee counter software"
Line 1: | Line 1: | ||
[[File:BeeTrack1_1a.png|thumb|right|450px|beeTrack1]] | [[File:BeeTrack1_1a.png|thumb|right|450px|beeTrack1]] | ||
+ | [[File:BeeTrack1_1b.png|thumb|right|450px|beeTrack1]] | ||
+ | [[File:BeeTrack1_1c.png|thumb|right|450px|beeTrack1]] | ||
+ | [[File:BeeTrack1_1d.png|thumb|right|450px|beeTrack1]] | ||
+ | [[File:BeeTrack1_1e.png|thumb|right|450px|beeTrack1]] | ||
+ | beeTrack1 is a c++ program using openCV libraries. | ||
− | + | Processing steps for each frame: | |
− | |||
− | |||
− | |||
− | |||
− | |||
#Convert image to grey scale. | #Convert image to grey scale. | ||
#Threshold based on grey value. | #Threshold based on grey value. |
Revision as of 01:05, 19 March 2015
beeTrack1 is a c++ program using openCV libraries.
Processing steps for each frame:
- Convert image to grey scale.
- Threshold based on grey value.
- Filter to smoth the noise.
- Draw a contour around each object.
- Calculate area of each object and color code it based on size
- Check each track to see if it falls within a contour fo an object.
- If so, append the center coordinates of the object to the track. If not, start a new track.
- 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