find bounding box of the image
Hello everybody I have to find the min coord and max coord of this image. (see the red rectangle of the image) How can I do? I know the color is white (255) I made an algorithm but it is too slow. There is a native method of open cv. Thank you all.
look http://answers.opencv.org/question/64... you can find the solution here if you change the code like
minRect = BoundingRect( Mat(contours[i]) );
is suited to youthank you it is possible write a code in visual basic ? tank you
@ato , there is no official opencv support for visual basic.
ok excuse me! where is support for visual basic ?
@ato, maybe you can abuse some 3rd party .net wrapper, but, tbh, they're all badly maintained, and incomplete.
rather learn python ;) (or c++, even)