Ask Your Question

moHe's profile - activity

2020-09-28 13:14:00 -0500 received badge  Nice Answer (source)
2020-07-08 06:49:31 -0500 received badge  Nice Answer (source)
2018-07-20 04:21:20 -0500 commented question Combining multiple images into one image

Hi, helcicek, I'd be very glad to make clear answer if you could give a effect picture as an example, confused by you 'c

2018-04-28 06:54:14 -0500 commented answer How to remove these small glare from the image?

@Santhosh1 Hi, Santhosh, glad to response. Above all, img_hsv > np.array([0, 0, 230]) means I don't care what the val

2018-04-28 06:53:19 -0500 commented answer How to remove these small glare from the image?

@Santhosh1 Hi, Santhosh, glad to response. Above all, img_hsv > np.array([0, 0, 230]) means I don't care what the val

2018-04-18 05:18:00 -0500 commented answer How to join broken edges from Canny

Nice work! But why there is a white slim contour in the down-right part of the result image?

2018-04-07 00:45:23 -0500 commented question Need help with multiplying mask and disparity map in C++ opencv

Have you tried bitwise_and?

2018-04-07 00:41:13 -0500 answered a question Work with operations pixel by pixel and loops

In my personal view, there are a lot of parallel computations at the bottom, if you use built-in function in opencv. For

2018-04-02 01:35:03 -0500 edited answer Python - Trying to Find Average Intensity of a ROI

Hello, Stephane. Is this what you'd expected? Cancel the thresh operation, otherwise there would be only almost 5 place

2018-04-02 01:32:43 -0500 commented answer Python - Trying to Find Average Intensity of a ROI

Alright, I've updated the answer above.

2018-03-29 21:34:47 -0500 answered a question How to operate area filtering ?

Bilateral Filter can smooth the image while preserving the edges. Use findContours to find the contours with small area

2018-03-29 01:50:33 -0500 answered a question Python - Trying to Find Average Intensity of a ROI

Hello, Stephane. Is this what you'd expected? Cancel the thresh operation, otherwise there would be only almost 5 place

2018-03-28 09:20:03 -0500 commented question Python - Trying to Find Average Intensity of a ROI

Hi Stephane, could you show the raw image rather than the output image... And may I ask why the cut_off_point is set as

2018-03-13 08:50:10 -0500 asked a question Extract a poly from an image and make the poly part a new image

Extract a poly from an image and make the poly part a new image Hi, CVers, I met a problem while doing some ocr task. S

2018-01-24 06:16:00 -0500 answered a question How to know the width of the line

I've a simple idea, may this can help you:) Do some morphology to eliminate the noise. Straighten the line, correct it

2018-01-24 04:06:05 -0500 commented question How to improve this pixel remover process?

Maybe you can make a mask -- if the value of BGR in every pixel is the BGR_to_be_removed, then use cv2.bitwise_and(img,

2018-01-11 05:41:29 -0500 commented question Detect text of newspaper headlines

Since no picture shown, I've only one suggestion: after converted into a gray image, the TEXT regions are fractions whic

2018-01-10 23:56:58 -0500 answered a question background color affecting contour detection

Maybe you can use Histogram Equalization to make the details in the regions with dark background more clear, instead of

2017-12-29 04:33:24 -0500 commented answer read image as HSV vs convert red RBG to HSV?

Hi Santhosh, you can still get some value, but the program will view you BGR channels as RGB. As a result, it mix the B

2017-12-29 01:46:22 -0500 commented question read image as HSV vs convert red RBG to HSV?

Shouldn't the 2nd parameter of cv2.imread() be cv2.BGR2HSV?...

2017-12-29 01:42:43 -0500 commented question How to do skeletonization for this image

Very simple! from skimage.morphology import skeletonize But please pay attention to this, the input parameter should

2017-12-22 00:39:15 -0500 answered a question Why gray to BGR conversion giving distorted results

Firstly, you'd better know the gray transformation between gray and rgb: Gray_value = 0.299R + 0.587G + 0.114B, so the t

2017-12-21 23:35:20 -0500 received badge  Citizen Patrol (source)
2017-12-21 21:33:45 -0500 edited answer Measuring height and weight of rectangle

Take look at the concept of "dpi", which is a measure between pixel number and inch. Maybe this will help you:) width x

2017-12-21 21:32:00 -0500 edited answer Measuring height and weight of rectangle

Take look at the concept of "dpi", which is a measure between pixel number and inch. Maybe this will help you:)

2017-12-21 21:31:46 -0500 commented answer Measuring height and weight of rectangle

Hi, friend. In my win10, I right clicked the .jpg to see the property of the image, and you can find the dpi. I've updat

2017-12-21 21:29:41 -0500 commented answer Measuring height and weight of rectangle

Hi, friend. In my win10, I right clicked the .jpg to see the property of the image, and you can find the dpi. I've updat

2017-12-21 21:12:42 -0500 commented answer Lines detection

Hi, actually, if you use python, you can easily from skimage.morphology import skeletonize.

2017-12-21 08:46:38 -0500 received badge  Nice Answer (source)
2017-12-21 05:56:26 -0500 commented question Lines detection

Hi, my suggestion is clustering too... But I recommend that you use "superpixel", like SLIC. The SLIC will automatically

2017-12-21 05:56:19 -0500 commented question Lines detection

Hi, my suggestion is clustering too... But I recommend that you use "superpixel", like SLIC. The SLIC will automatically

2017-12-21 05:30:52 -0500 answered a question Measuring height and weight of rectangle

Take look at the concept of "dpi", which is a measure between pixel number and inch. Maybe this will help you:)

2017-12-21 05:27:51 -0500 commented question How to find the center of one palm in the picture

If it's hard to erode, you may use region growth with left-up-right three directions, starting from the white pixel whic

2017-12-21 05:16:37 -0500 commented question Building contours from points

Hey, you should set a rule for points to make up a contour, like: it is a possibly convex, since a set of points can get

2017-12-21 00:54:25 -0500 answered a question Python faster pixel access

h, s, v = cv2.split(hsv_frame)

2017-12-14 10:33:21 -0500 received badge  Supporter (source)
2017-12-12 08:30:00 -0500 edited answer How do I draw a scale inside the bounding box?

Hi, I've drawn one line in my poor code T_T, but I don't have time now to transform it into the iterative one: draw para

2017-12-12 08:29:31 -0500 edited answer How do I draw a scale inside the bounding box?

Hi, I've drawn one line in my poor code T_T, but I don't have time now to transform it into the iterative one: draw para

2017-12-12 08:28:23 -0500 answered a question How do I draw a scale inside the bounding box?

Hi, I've drawn one line in my poor code T_T, but I don't have time now to transform it into the iterative one: draw para

2017-12-11 14:12:18 -0500 received badge  Nice Answer (source)
2017-12-09 01:15:36 -0500 commented answer How to remove these small glare from the image?

Hi, I've just had a free time to fix the problems. Very glad that this can help you:)

2017-12-09 01:12:41 -0500 edited answer How to remove these small glare from the image?

I've solved your problem, but the yellow is not very yellow.. import cv2 import numpy as np import matplotlib.pyplot as

2017-12-08 09:03:35 -0500 answered a question How to remove these small glare from the image?

I've solved your problem, but the yellow is not very yellow, ahh import cv2 import numpy as np import matplotlib.pyplot

2017-12-08 06:52:35 -0500 answered a question I am trying to detect largest tile on the floor.

Your sample code is too complicated as I've seen. Here is my easy code, may this can help you:) import cv2 import nump

2017-12-07 20:10:02 -0500 commented question Cannot import cv2 in python 2.7.14

May be you can use pip to choose your numpy's version.

2017-11-04 03:17:21 -0500 commented question OpenCV 3: Why does the UI render incorrectly?

It seems that the length of switch string can only be less than 11, or there will be "...", yet len("0:OFF\n1:ON") happe

2017-10-24 10:51:19 -0500 commented question OpenCV - Apply color mask to color image

Can you show the piece of code for making masks? Maybe there is something wrong.

2017-10-24 05:45:04 -0500 received badge  Enthusiast
2017-10-23 07:53:09 -0500 commented answer How to add background in webcam using python and opencv

Hello, I've just figured out why it's so slow, and updated my codes. Here are the two main reasons: Before this, more

2017-10-22 03:01:01 -0500 commented question Did JPEG 2000 saved in Lossless or Lossy

Hi, maybe this can help you.