Number detect in video

asked 2014-03-06 12:05:12 -0500

Howdy, I am looking into a way to record the time a bicycle enters a rest stop for a charity event. I am thinking that a Raspberry Pi with a camera and OpenCV should be able to do it. But I am not a programmer.

Evch rider has a white bib with a four digit number. I know that not every bib will be detected, due to the mass amount of groups that ride in a pack. But if I can capture as many as I can would help.

I see that there is a tutoral in the book everyone talks about for licence plates, but it looks to be using images not video.

Does anyone have an ideas on the best way to do this? I just need it to record all (or most) of the numbers seen that past by to a text field.

Thanks, Phil

edit retag flag offensive close merge delete


You could start with an image file of each sign. If you know the font and spacing these files could be generated. Then use one of the object finding methods to cycle threw the list. This would be quite processor intensive.

GrumbleLion gravatar imageGrumbleLion ( 2014-03-08 18:49:12 -0500 )edit

That would be a big task, I am looking at 3000+ riders in the event. I can find out the font and spacing, I have photos of past events to use to test. Can OpenCV detect the number and save it as a string?

pbrunson gravatar imagepbrunson ( 2014-03-19 14:02:00 -0500 )edit

I don't see it being able to detect any arbitrary whole number, but it can detect each number and then your code would have to string them together.

GrumbleLion gravatar imageGrumbleLion ( 2014-03-21 20:18:34 -0500 )edit