Color License Plate Recognizing ?

asked 2016-08-29 23:47:25 -0500

Dinh Thap gravatar image

updated 2016-08-30 05:24:16 -0500

How can I use OpenCV to detect the color of the license plate? I was confused in some case.

  1. White LP -> Blue: image description image description
  2. White LP -> Red: image description image description
edit retag flag offensive close merge delete

Comments

Your question is not really clear. Are those license plates under different lighting conditions and do you want to define it as white in both cases? Or do you want to return blue and red as the color? How did you get those images. Please provide more information.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-30 03:49:42 -0500 )edit

That are white plates and in my application, they were confused in the blue and red plate. How can I use OpenCV to overcome this problem? Thanks.

Dinh Thap gravatar imageDinh Thap ( 2016-08-30 04:17:41 -0500 )edit

YES. I want to define it as white in both cases.

Dinh Thap gravatar imageDinh Thap ( 2016-08-30 04:27:30 -0500 )edit

It's vehicle image I captured from hardware. I processed and got the license plate, but in different weather condition, I got the different image.

Dinh Thap gravatar imageDinh Thap ( 2016-08-30 04:30:30 -0500 )edit

Provide the code you used to retrieve the license plates, combined with the original captured images. My first guess, to get such a coloring only due to wether conditions is impossible. Guess you have some faulty processing somewhere, like switching color channels or so...

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-30 04:37:14 -0500 )edit

I updated original captured images.

Dinh Thap gravatar imageDinh Thap ( 2016-08-30 05:26:14 -0500 )edit

Okay first one I can get, but the second one? How did you get these lightning conditions?

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-30 05:41:36 -0500 )edit

Sorry, I am not allowed to publish the source code out. If I know the color of character contour is dark or light then I get success.

Dinh Thap gravatar imageDinh Thap ( 2016-08-31 01:40:43 -0500 )edit

I need an algorithm to detect the color of character contour and I think OpenCV can help me overcome that. Thanks.

Dinh Thap gravatar imageDinh Thap ( 2016-08-31 01:47:39 -0500 )edit

I am sorry, but on a forum of an open source package, trying to get help without sharing the part that triggers the issue is about the biggest no go you can have ... I will not be wildly guessing for issues :P

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-31 03:50:35 -0500 )edit