Ask Your Question

kanankhan's profile - activity

2020-03-24 09:08:00 -0600 commented question Imwrite saves images as black .

Yeah I did but it didn't change the result.

2020-03-24 08:22:28 -0600 commented question Imwrite saves images as black .

I solved it as well but still it gives full black images

2020-03-24 08:11:25 -0600 commented question Imwrite saves images as black .

thanks I solved it simple adding 2 lines: im = Image.open(img).convert('RGBA') iimg = '/Users/khand

2020-03-24 07:46:11 -0600 commented question Imwrite saves images as black .

I edited original post and added images.

2020-03-24 07:45:47 -0600 edited question Imwrite saves images as black .

Imwrite saves images as black . I am trying to write a program that finds center of black objects and cuts around that a

2020-03-24 07:43:05 -0600 edited question Imwrite saves images as black .

Imwrite saves images as black . I am trying to write a program that finds center of black objects and cuts around that a

2020-03-24 04:49:19 -0600 received badge  Editor (source)
2020-03-24 04:49:19 -0600 edited question Imwrite saves images as black .

How to crop images using python? I am trying to write a program that finds center of black objects and cuts around that

2020-03-24 04:48:50 -0600 asked a question Imwrite saves images as black .

How to crop images using python? I am trying to write a program that finds center of black objects and cuts around that

2020-03-03 14:44:41 -0600 commented answer How to find contour of black regions in white background ?

Thanks, I used numpy slicing as suggested in OpenCV, my program , runs for the first image and it works perfectle as I

2020-03-03 04:19:26 -0600 asked a question How to crop images using python?

How to crop images using python? Hello, I have image like this: I have found contours of black regions and using mome

2020-03-03 02:01:24 -0600 commented answer How to find contour of black regions in white background ?

Thanks I used moments like this: for c in range(0,len(cnts)): cnt = cn

2020-03-02 10:57:22 -0600 commented answer How to find contour of black regions in white background ?

Thanks, I have one more problem, I want to get coordinates of the centers of the regions those I found. what can I use

2020-03-02 06:08:07 -0600 commented answer How to find contour of black regions in white background ?

Thanks, it solved my problem, I also laugh because it is first time that I use OPENCV xD

2020-03-02 05:51:39 -0600 commented answer How to find contour of black regions in white background ?

Thanks, It solved for that line but for the next line -" error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\i

2020-03-02 04:31:32 -0600 asked a question How to find contour of black regions in white background ?

How to find contour of black regions in white background ? I have image like this, I want to find contours of black regi