Ask Your Question

Hatmpatn's profile - activity

2021-02-05 02:49:26 -0600 received badge  Popular Question (source)
2018-12-02 16:51:55 -0600 commented question Largest circle inside a contour - Python

Yes, solved it by using a singe channel image instead! So everything is good now, thx for the help!

2018-12-02 13:03:16 -0600 commented question Largest circle inside a contour - Python

What to write instead of cnt in dist_transform? if (hu[6] < 0): #Calculate and draw center of mass

2018-12-02 13:02:27 -0600 commented question Largest circle inside a contour - Python

What do I write instead of CNT to supply the distanceTransform with an image of the specific contour? dist_tran

2018-12-02 13:01:41 -0600 commented question Largest circle inside a contour - Python

if (hu[6] < 0): #Calculate and draw center of mass centres.append((in

2018-12-02 13:01:06 -0600 commented question Largest circle inside a contour - Python

if (hu[6] < 0): #Calculate and draw center of mass centres.append((int(moment

2018-12-02 13:00:35 -0600 commented question Largest circle inside a contour - Python

if (hu[6] < 0): #Calculate and draw center of mass centres.append((int(moment

2018-12-02 13:00:04 -0600 commented question Largest circle inside a contour - Python

Okay, I have gotten the distanceTransform to work perfectly with the original image. But when I try to supply it with th

2018-12-02 04:41:11 -0600 commented question Largest circle inside a contour - Python

Do you mean that the code in my link will not work for my code? Ok, in that case too bad. Could this work? dist_transf

2018-12-01 16:38:57 -0600 commented question Largest circle inside a contour - Python

That is genious LBerger! Lets go with that solution. I found something promising that would return the X and Y position

2018-12-01 11:30:00 -0600 asked a question Largest circle inside a contour - Python

Largest circle inside a contour - Python I want to find the largest circle(or rectangle) possible inside the contours ge

2018-11-28 04:13:02 -0600 commented question Displace X-Y on centroid

Yes, I agree, it is correctly calculated. But is there a way to move the centroid, as like 20px in X and 30px in Y?

2018-11-27 15:56:01 -0600 asked a question Displace X-Y on centroid

Displace X-Y on centroid Hello! I'm doing a project where I want a robot to pick up a part on the middle of the biggest

2018-11-27 13:45:58 -0600 commented question Identify object on a conveyor belt

Thanks for the answers Der Luftmensch. I solved it by using the 7th argument of HuMoments which shows a - sign for the m

2018-11-27 09:08:24 -0600 commented question Identify object on a conveyor belt

Resulting image: link text The returned moments values are too long to attach. And also the HuMoments values.

2018-11-27 09:05:25 -0600 commented question Identify object on a conveyor belt

area_min=3000 area_max=4000 for i in range(len(contours)): cnt=contours[i] area=cv2.contourArea(cnt) ce

2018-11-27 09:04:12 -0600 commented question Identify object on a conveyor belt

I'm getting really close now! I've changed the background to a bright orange. My code is as follows: -Take an image -

2018-11-25 12:10:14 -0600 received badge  Enthusiast
2018-11-13 08:47:21 -0600 commented answer Identify object on a conveyor belt

Do you want me to remove my answer then? Do you have any solution to the problem that I wont get any answers on my edit

2018-11-13 08:44:52 -0600 answered a question How can I improve the binarization of image in my sample app

Have you tried using something else than THRESH_BINARY? Like: th3 = cv.adaptiveThreshold(img,255,cv.ADAPTIVE_THRESH_GAU

2018-11-13 08:41:03 -0600 commented answer Identify object on a conveyor belt

Yes, I agree with that.

2018-11-13 08:32:13 -0600 commented answer Identify object on a conveyor belt

An edit with an update of the question would result in no answers. Wouldnt you agree?

2018-11-13 06:16:03 -0600 commented question How can I improve the binarization of image in my sample app

Have you tried using something else than THRESH_BINARY? Like: th3 = cv.adaptiveThreshold(img,255,cv.ADAPTIVE_THRESH_GA

2018-11-13 06:09:13 -0600 answered a question Identify object on a conveyor belt

Hello again! I'm taking the image with the raspberry pi camera module. I convert the image to greyscale and then conver

2018-10-29 07:05:23 -0600 commented question Identify object on a conveyor belt

Thank you! I will start with your advice! Will I need to put a glare filter on the camera lens? Is raspberry pi camera m

2018-10-26 16:39:51 -0600 edited question Identify object on a conveyor belt

Identify object on a conveyor belt Hello! I'm thinking of trying out openCV for my robot. I want the program to be able

2018-10-26 16:38:52 -0600 edited question Identify object on a conveyor belt

Identify object on a conveyor belt Hello! I'm thinking of trying out openCV for my robot. I want the program to be able

2018-10-26 16:36:12 -0600 edited question Identify object on a conveyor belt

Identify single object on a conveyor belt Hello! I'm thinking of trying out openCV for my robot. I want the program to

2018-10-26 01:12:21 -0600 edited question Identify object on a conveyor belt

Identify single object on a conveyor belt Hello! I'm thinking of trying out openCV for my robot. I want the program to

2018-10-26 01:12:18 -0600 received badge  Editor (source)
2018-10-26 01:12:18 -0600 edited question Identify object on a conveyor belt

Identify single object on a conveyor belt Hello! I'm thinking of trying out openCV for my robot. I want the program to

2018-10-26 01:10:11 -0600 asked a question Identify object on a conveyor belt

Identify single object on a conveyor belt Hello! I'm thinking of trying out openCV for my robot. I want the program to