- Using watershed algorithm to recognized and mark multiple pigs in video.
- Using opencv tracker (KCF tracker) and Hungarian algorithm to track recognized pigs.
- Run
pip install -r requirements.txt
- Run
python find_pig.py
- Run
python find_and_track_pig.py
- the data was download in http://psrg.unl.edu/Projects/Details/12-Animal-Tracking
- first gif is the sameple data
- 2nd gif is the result of detecting multi pigs
- 3rd gif is the result of detecting and tracking pigs.