bw4sz / OpenCV_HummingbirdsMotion

Motion Detection using OpenCV and python
http://benweinstein.weebly.com/motionmeerkat.html
GNU General Public License v3.0
13 stars 5 forks source link

MOG fails with large picture frames #27

Closed bw4sz closed 7 years ago

bw4sz commented 8 years ago

Current workaround is to default pictures to Acc.

bw4sz commented 7 years ago

Cannot recreate, currently working new build of openCV

['C:/Users/Ben/Documents/OpenCV_HummingbirdsMotion/MotionMeerkat/main.py', '--i', 'C:/Users/Ben/Desktop/MeerkatTest/torfinn', '--runtype', 'pictures']
Entering Command Line

Welcome to MotionMeerkat!

Background MOG sensitivity set to 0.09
MOG Variance tolerance set to 25
Processing file C:/Users/Ben/Desktop/MeerkatTest/torfinn
Output path will be C:/MotionMeerkat\torfinn
300 pictures found
Processing...
10 % completed: 3 candidate motion frames
20 % completed: 15 candidate motion frames
30 % completed: 22 candidate motion frames
40 % completed: 33 candidate motion frames
50 % completed: 43 candidate motion frames
60 % completed: 50 candidate motion frames
70 % completed: 56 candidate motion frames
80 % completed: 73 candidate motion frames
90 % completed: 82 candidate motion frames
100 % completed: 93 candidate motion frames

Thank you for using MotionMeerkat! 

Total run time (min): 4.68 

Average frames processed per second: 1.07 

Candidate motion events: 94 

Frames skipped due to insufficient movement based on the threshold parameter: 32 

Frames skipped due to minimum size of the contours: 174 

Total frames in files: 300 

Hitrate: 31.33 % 

Its not fast, but i'm not seeing the memory leak anymore, good job team OpenCV