Hey guys, this is my first time posting in the forum, so sorry in advance if I am doing something wrong.
The objective of my program is the following:
Given an image of a multimeter with all seven segments on, find the ROI of all individual digits so I can pass to the IMAQ Read LCD.
Some things you should know:
- The program will run in different images of multimeters.
- The multimeter with all 7 segments on will not be in a fixed position.
- After the 7 segments image the following images will be in the same position.
- I know I can draw the ROI to pass to the IMAQ Get LCD ROI VI but the objective is that the program can detect the ROI alone. Ideally I want to pass a constant big rectangle ROI that I know all digits of the multimeter will be. (see attacheds images).
Problems Found:
- When passing a big photo like the one attached LabVIEW just crashes when using IMAQ Get LCD ROI VI. (Using a smaller images works)
- The ROI I need to pass to the IMAQ Get LCD ROI VI needs to fit very well in the digits so it can work.
- When the ROI passed to the IMAQ Get LCD ROI VI is not well fit it returns a error saying it's not a valid lcd image or ROI.
Is there a way to find the ROI Automatically to pass to the IMAQ Get LCD ROI VI ?
I have attached the images and the code,
Thanks in advance