Hello! I currently doing Master Degree Program about Image Processing for bottle detection.
I have perform following processing:
1. Acquire image from webcam
2. Convert RGB image into binary image with boolean output (0,1)
3. Select botle with ROI Global Rectangle. If bottle detected, LED indicator turn "on".
The code work fine. However, when I apply morphological operation before converting into binary image it display error when performing ROI, "error 1074395720 Invalid ROI".
Please kindly give me suggestion
Thank You
Issara
King Mongkut University of Ladkrabang