2018-08-14 08:33:01 -0600 | received badge | ● Critic (source) |
2018-08-14 06:25:53 -0600 | edited question | [SOLVED] Unable to use rotate_bound image from imutils in matchTemplate Unable to use rotate_bound image from imutils in matchTemplate Hello everyone, I am trying to compare several input ima |
2018-08-14 05:34:54 -0600 | commented answer | [SOLVED] Unable to use rotate_bound image from imutils in matchTemplate It works!, Thanks a lot berak! |
2018-08-14 05:34:37 -0600 | received badge | ● Supporter (source) |
2018-08-14 05:34:36 -0600 | marked best answer | [SOLVED] Unable to use rotate_bound image from imutils in matchTemplate Hello everyone, I am trying to compare several input images, where those can came in many angles, with a target image for quality control, and I am trying to rotate all input images with imutils.rotate_bound and then compare those with cv2.matchTemplate, but seems like I cannot do that, that way, where I got: Do you know a way to fix this or do it another way? This is the input image: This is the template image: This is the full code: (more) |
2018-08-14 05:34:36 -0600 | received badge | ● Scholar (source) |
2018-08-14 05:30:45 -0600 | commented question | [SOLVED] Unable to use rotate_bound image from imutils in matchTemplate img_rotated.dtype is an uint8. I tried with, angle=rect[2] image_center = tuple(np.array(img.shape[1::-1]) / 2) rot_ma |
2018-08-14 05:10:44 -0600 | edited question | [SOLVED] Unable to use rotate_bound image from imutils in matchTemplate Unable to use rotate_bound image from imutils in matchTemplate Hello everyone, I am trying to compare several input ima |
2018-08-14 05:09:17 -0600 | asked a question | [SOLVED] Unable to use rotate_bound image from imutils in matchTemplate Unable to use rotate_bound image from imutils in matchTemplate Hello everyone, I am trying to compare several input ima |
2018-08-10 05:56:37 -0600 | edited answer | [SOLVED] boundingRect selects all image instead of target object In line findContours I had to change img_mask to ~img_mask, to invert colors, since white is the target color for boundi |
2018-08-10 05:35:40 -0600 | marked best answer | [SOLVED] boundingRect selects all image instead of target object Hello, I am trying to track an object in an image, using examples that I have found in opencv documention as well as from other users, and right now I am able to use drawContours but cannot use boundingRect, instead of selecting just the object, it selects the whole image. Here is the source image:
Here is the result image with drawContours and the failed boundingRect: This is the code that I am using: |
2018-08-10 05:34:42 -0600 | commented question | [SOLVED] boundingRect selects all image instead of target object In line findContours I had to change img_mask to ~img_mask, to invert colors, since black is the target color for boundi |
2018-08-10 05:30:47 -0600 | edited question | [SOLVED] boundingRect selects all image instead of target object boundingRect selects all image instead of target object Hello, I am trying to track an object in an image, using exampl |
2018-08-10 05:24:00 -0600 | received badge | ● Editor (source) |
2018-08-10 05:24:00 -0600 | edited question | [SOLVED] boundingRect selects all image instead of target object boundingRect selects all image instead of target object Hello, I am trying to track an object in an image, using exampl |
2018-08-10 04:17:18 -0600 | asked a question | [SOLVED] boundingRect selects all image instead of target object boundingRect selects all image instead of target object Hello, I am trying to track an object in an image, using exampl |