I recommend to put your OCR Check into a For Loop (or a separate VI). Retrieve the list of photos in your folder and pass that array of paths to the loop.
My Folder will have 2 different type picture file (.jpg, .bmp) how can i run labview the prog. with auto select all the image file(.bmp, .jpg) into OCR Check