Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set dynamic roi for character recognition using OCR

how to Set dynamic ROI for reading characters in image captured from camera.

0 Kudos
Message 1 of 2
(3,668 Views)

You are kind of requesting to put the cart before the horse.  You have to set the ROI large enough so that you can find any instance of a character you are expecting, although if you know how the size will change under different circumstances, you can certainly adjust the size of the ROI dynamically.  To do this, I typically use the IMAQ Convert Rectangle to ROI, and change the rectangle bounds as needed.

 

 

0 Kudos
Message 2 of 2
(3,503 Views)