06-20-2014 06:12 PM
I'm not very experienced in labview, andI'm using OCR with the vision assistant.
I would like to know if someone could tell me what is threshold, and why do I have to train the vision assistant with characters the database already has, when I move the object farther away from the camera?
Thanks in advance!
Solved! Go to Solution.
06-20-2014 06:45 PM
why is working in an environment with constant illumination, necessary for the application to work correctly?
06-21-2014 02:58 AM
@Nando88 wrote:
why is working in an environment with constant illumination, necessary for the application to work correctly?
Ofcourse. Constant illumination is neccasary for all image processing functions to give you a repeatable consistent result. Regarding your OCR question You will ned to train the characters and store it . Post an image if you have difficulty
06-21-2014 03:23 AM
06-21-2014 03:41 AM
This is from context help
When you select Linear or Nonlinear, you must set # of Blocks to at least the number of objects in the region of interest. If you selected Fixed Range in Type, use Min and Max or the slider at the bottom of the histogram to determine the threshold value. If you selected Computed, Linear, or Nonlinear in Type, use Characters to indicate the character color in the image. Light on Dark indicates that the image contains light characters on a dark background. Dark on Light indicates that the image contains dark characters on a light background.
Moving object farther away is expected to create inconsistensies. If you can post an image i will try to work something
06-21-2014 03:45 AM
06-21-2014 04:04 AM
An 8 bit gray scale image will be having values of 0 to 255. 0 being black and 255 corresponds to white. By threshold you are setting a range whose pixel values you want to use it for further processing. If you want to just get bright and near white pixel values then your thresold values will be something like min - 200 and max 255.
06-21-2014 04:31 AM
Is this connected by any chance? Did you try the sampling thing before OCR.
06-21-2014 04:32 AM
06-21-2014 04:37 AM
Did you not see the vis attached in this post