How to detect small object like a football player?

asked 2015-06-25 23:00:28 -0600

lfcooh gravatar image

updated 2017-09-04 11:14:48 -0600

I want to know what a techniques can use for this problem. I have an example of captured image from video. In real situation it is video file

image description

edit retag flag offensive close merge delete

Comments

1

I think you shall start by a calibration of the camera (image is deformed)... then try to segment the playing area. Does the image has very high resolution?I think you shall start by detecting the players by segmentation or background subtraction and then eliminate the shadow(s). You shall pay attention at the border shadows, or not players... Ask again about your problems after you have implemented something.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-06-26 04:09:53 -0600 )edit

Do you have an example code for backgroud substraction? Thank you

lfcooh gravatar imagelfcooh ( 2015-07-01 21:43:41 -0600 )edit

Have you google it? There is also in docs of OpenCV

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-07-02 03:01:11 -0600 )edit

This size of object(player) can detect,Right? Can it be smaller than this?

lfcooh gravatar imagelfcooh ( 2015-07-02 04:23:30 -0600 )edit

Normally it could be detected. You have the video, try the bg subtraction. If you do not get the players... then you shall try another approach, but it should work

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-07-02 04:31:42 -0600 )edit

Thank you sir. After that what technique I should use? I want to detect ,tracking and get position of object.

lfcooh gravatar imagelfcooh ( 2015-07-02 04:54:57 -0600 )edit

Doing the bg subtraction you'll get the bops of the players (and maybe their shadows too), so you detected the players

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-07-02 07:20:38 -0600 )edit

I try using bg subtraction, it got this output link text but I want only player, ball and line of field. How can I do? This is original image link text

lfcooh gravatar imagelfcooh ( 2015-08-06 21:21:59 -0600 )edit

If that is the resolution, I do not think you can do big deal... But I can see that you have the players (and their shadow too) and some other things. Could those be some artefacts because of not applying blur before processing? You can also apply some kind of algorithm that removes shadows (you can look on google) if you think that is annoying

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-08-07 02:32:24 -0600 )edit

Excuse me, I found some technique now and I got this output Images Do you know how to remove unwanted object? I want only player.

lfcooh gravatar imagelfcooh ( 2015-08-10 04:32:32 -0600 )edit