Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Method to detect the perimeter board in an Ice Hockey game image

Hi all, I need to be able to detect the boundary of the ad-board in an ice hockey arena.

The Perimeter board always has a yellow line on the bottom. Of course, there is a lot of noise due to the players, the hockey stick, goal post and the referee and the brands on the display.

The step by step approach I followed is to : 1) using HSV image, apply threshold to mark the yellow region of the image. Challenge: due to the players, the contour is not always continuous.. How to merge the contours?

2) Apply another threshold on the original image whereby I am able to segregate the spectators predominantly ( from the top of the perimeter board and above). Challenge: I still am left with a lot of players in the arena. Please see point 4 on my approach for this.

3) Combine the filtered image from step 1 and 2.

4) Use the HOG-Human detection to mark the players ( In the hope that I can draw contours for each of the player detected, mask them, remove them from the original picture - This part is yet to be done).

I will upload my initial image and the output of my effort so far..

Is there a more intelligent approach to solve this?

Method to detect the perimeter board in an Ice Hockey game image

Hi all, I need to be able to detect the boundary of the ad-board in an ice hockey arena.

The Perimeter board always has a yellow line on the bottom. Of course, there is a lot of noise due to the players, the hockey stick, goal post and the referee and the brands on the display.

The step by step approach I followed is to : 1) using HSV image, apply threshold to mark the yellow region of the image. Challenge: due to the players, the contour is not always continuous.. How to merge the contours?

2) Apply another threshold on the original image whereby I am able to segregate the spectators predominantly ( from the top of the perimeter board and above). Challenge: I still am left with a lot of players in the arena. Please see point 4 on my approach for this.

3) Combine the filtered image from step 1 and 2.

4) Use the HOG-Human detection to mark the players ( In the hope that I can draw contours for each of the player detected, mask them, remove them from the original picture - This part is yet to be done).

I will upload my initial image and the output of my effort so far..

Is there a more intelligent approach to solve this?

Images 1) !H:\opencv\ThresholdYellow.png "ThresholdYellow" 2) !H:\opencv\NHLGAMESOFTHE-02508.jpg "OriginalImage" 3) !H:\opencv\ThresholdTopEdge.png "ThresholdTopEdge"

Method to detect the perimeter board in an Ice Hockey game image

Hi all, I need to be able to detect the boundary of the ad-board in an ice hockey arena.

The Perimeter board always has a yellow line on the bottom. Of course, there is a lot of noise due to the players, the hockey stick, goal post and the referee and the brands on the display.

The step by step approach I followed is to : 1) using HSV image, apply threshold to mark the yellow region of the image. Challenge: due to the players, the contour is not always continuous.. How to merge the contours?

2) Apply another threshold on the original image whereby I am able to segregate the spectators predominantly ( from the top of the perimeter board and above). Challenge: I still am left with a lot of players in the arena. Please see point 4 on my approach for this.

3) Combine the filtered image from step 1 and 2.

4) Use the HOG-Human detection to mark the players ( In the hope that I can draw contours for each of the player detected, mask them, remove them from the original picture - This part is yet to be done).

I will upload my initial image and the output of my effort so far..

Is there a more intelligent approach to solve this?

Images 1) !H:\opencv\ThresholdYellow.png "ThresholdYellow" 2) !H:\opencv\NHLGAMESOFTHE-02508.jpg "OriginalImage" 3) !H:\opencv\ThresholdTopEdge.png "ThresholdTopEdge"Original Image image description

With Yellow Threshold image description

With Threshold for top edge of the Permeter board image description

What I actually want finally (Tall ask!??) image description

click to hide/show revision 4
retagged

updated 2015-02-03 08:18:27 -0500

berak gravatar image

Method to detect the perimeter board in an Ice Hockey game image

Hi all, I need to be able to detect the boundary of the ad-board in an ice hockey arena.

The Perimeter board always has a yellow line on the bottom. Of course, there is a lot of noise due to the players, the hockey stick, goal post and the referee and the brands on the display.

The step by step approach I followed is to : 1) using HSV image, apply threshold to mark the yellow region of the image. Challenge: due to the players, the contour is not always continuous.. How to merge the contours?

2) Apply another threshold on the original image whereby I am able to segregate the spectators predominantly ( from the top of the perimeter board and above). Challenge: I still am left with a lot of players in the arena. Please see point 4 on my approach for this.

3) Combine the filtered image from step 1 and 2.

4) Use the HOG-Human detection to mark the players ( In the hope that I can draw contours for each of the player detected, mask them, remove them from the original picture - This part is yet to be done).

I will upload my initial image and the output of my effort so far..

Is there a more intelligent approach to solve this?

Original Image image description

With Yellow Threshold image description

With Threshold for top edge of the Permeter board image description

What I actually want finally (Tall ask!??) image description