06-16-2014 07:32 PM - edited 06-16-2014 07:33 PM
I was wondering if there's a way to zoom in an Imaq image programatically, and then crop the image. I want to crop the image, so that only the area that appears in the color pattern match appears on screen. Can someone please give me an example on how to do this?
If I zoom the image, will that reduce the original image resolution?
Thanks in advance!
06-17-2014 01:10 AM
Use an imaq extract and configure the extract parametrs using the output from pattern matching. The output image will be what you require.
06-17-2014 01:24 AM
Like this
06-17-2014 01:32 AM
Use a property node for zoom
06-17-2014 09:03 AM
I tried your example, and I'm getting Error -1074396154 occurred at IMAQ Match Color Pattern.
Is there a way for me to fix this, so I can use the pattern match and zoom it.
I will attach the image and the pattern, so you can take a look.
Thanks in advance!
06-17-2014 09:05 AM - edited 06-17-2014 09:06 AM
I'm trying to make an app that will recognize license plates.
And I need some help.
Thanks in advance!
06-17-2014 01:59 PM
I tried fixing this problem by using an Imaq SetImageSize, but I am still getting the same error.
I am attaching the VI, so someone can tell me what do I have to fix.
Thanks in advance!
06-18-2014 01:31 AM
In the Vi that i posted see the template file path . change that to point to your local drive. Let me know if you have already done that
06-18-2014 01:49 AM
Seeing from your "motion_img_120199_001829_165.jpg " why dont you use an ocr
06-18-2014 05:56 AM
I am using an OCR in another application. I just need to zoom the image of the license plate, so I can feed that to the OCR, so that it can make the character recognition. I am trying to do this, because the image is too small. Can someone please help me fix this?
Thanks in advance!