I have this image:
and would need to get the region of the crate. like this:
I have not been able to get a clean selection so far. I tried thresholding the image, tried after adding some mult_image, add_image, but no luck.
Any help on detecting the outlines/region of the crate is greatly appreciated.
NOTE: the crates can be different hights, even higher than this. in that case the imgage itself is higher too. BUT this implies that the bright areas left and right of the crates might not be entirely visible.
Thank you
EDIT:
This is the original image