车牌识别 - 确定像素比较的颜色范围 [英] License Plate Recognition - Determining Color Range For Pixel Comparison
问题描述
现在的问题,我知道黄色是车牌是基于许多因素,如亮度,环境。
洞察这一点我需要一个范围来比较,例如:
if(FindIfYellow(GetPixel(x,y))))
但是我不知道是否使用RGB值, RGB值来确定颜色是否是黄色的阴影。最后是有一个网站或某种定义这些范围的信息?我知道
R:255
G:255
B:0
纯净的黄色,但在范围我不知道。无论如何,希望这是一个共鸣的想法,我发布的原因是确保我没有忽视的东西,因为我一直在做的频繁:)。
使用CMYK频道分隔 - 让我们OCR的板!
使用其他图片重复此过程
Well after much work regarding vehicle plate detection, I've decided that simply finding a 'pattern' of yellow pixels within an image would be a sufficient method of finding the location of a license plate within an image. Currently I use various graphic filters and detect white pixel patterns, however this is proving to be more and more problematic.
Now for the question, I'm aware that the 'yellow' are a license plate is based on numerous factors such as brightness, environment.
Insight of this I would need a range to compare to, for example:
if(FindIfYellow(GetPixel(x, y)))
However I don't know if to use RGB values, specifically individual RGB values to determine if the color is a shade of yellow. Finally is there a website or information of some sort defining these ranges? I know
R: 255 G: 255 B: 0
Is the purest of yellow, but in terms of range I have no idea. Anyway hopefully it's a resonable idea, and the reason I post is to ensure I haven't overlook something, as I have been doing frequently :).
Using CMYK channel separation - Let's OCR the Plate!
Repeating the process with the other image
这篇关于车牌识别 - 确定像素比较的颜色范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!