rozumden / fmo-cpp-demo

Fast Moving Objects Detection (demo version)
http://cmp.felk.cvut.cz/fmo/
MIT License
59 stars 13 forks source link

settings for small ball #5

Closed gitunit closed 3 years ago

gitunit commented 4 years ago

what radius and dfactor would you recommend for videos with following views:

image

so far it couldn't detect anything yet

gitunit commented 4 years ago

changing to median-v2 shows some results, while the default "taxonomy-v1" is not detecting the ball at all (debug shows it's focusing rather on players and the court). any suggestions how to stabilize it more? i was playing a bit with the dfactor param, that shows some changes in the results. changing p2cm/radius affects only the calculation of the speed, is that right?

gitunit commented 4 years ago

also what makes this a bit more challenging is the moving camera. what do you think, would stabilizing the video help?

rozumden commented 4 years ago

Changing p2cm/radius indeed affects only the calculation of speed. The parameter dfactor changes how sensitive is the method with respect to noise and low contrast.

If your sequence is not stable due to shaking or moving camera, you could try to stabilize it with OpenCV or just using some online tool - https://video-stabilize.com/ Stabilized video would definitely make the detection more robust and would definitely help.