Ask Your Question

Ziri's profile - activity

2019-07-24 04:13:50 -0500 commented answer 4K VideoCapture very slow on Windows compared to MS Camera App

did you try opening the video without setting any parameters? You can use Gstreamer in Windows Installing on Windows

2019-07-24 03:45:59 -0500 commented question Remove black spots + noise & just keep Numbers?

You have to post your original image before binarizing .

2019-07-24 03:42:41 -0500 edited answer how to enhance text in this image

Try Contrast Limited Adaptive Histogram Equalization CLAHE before thresholding.

2019-07-24 03:41:44 -0500 answered a question how to enhance text in this image

Try Contrast Limited Adaptive Histogram Equalization CLAHE before threshing.

2019-07-24 03:21:28 -0500 answered a question 4K VideoCapture very slow on Windows compared to MS Camera App

I am not sure why are you setting these parameters after opening the video : capture.set(cv::CAP_PROP_FOURCC, cv::Video

2018-08-31 03:25:13 -0500 answered a question findContour() detect unintended internal edges and calculates area wierd for them

You don't have to use : cannyImg = cv2.Canny(dialeteImg, 100,200) Just find contours in the binary image then filter

2018-08-31 02:32:03 -0500 answered a question Circle detection

I Suggest this method : 1 ) - as @StevenPuttemns suggested, use watershed or another method to get individual contour

2018-08-31 02:24:25 -0500 answered a question Detecting Percentage of Red ,Green , Blue ,Cyan , Magenta , Yellow

IF you want to check the percentage of the color red(R=255 , G = 0 , B = 0) the count pixels and calculate the ratio.. b

2018-08-21 23:25:24 -0500 commented question erasing the rectangle drawn in image

To achieve that you'll need to draw on transparent overlay image instead.

2018-07-10 04:47:54 -0500 commented question Can an Integral Image assist in producing histograms?

That makes sense now.

2018-07-10 04:16:37 -0500 commented question Can an Integral Image assist in producing histograms?

Where did you find about: "considering only the 4 corners of an ROI to calculate the mean?"

2018-07-10 04:04:03 -0500 commented question Finding segment length

Accumulate those segments using 2 constraints ( parallelism & distance) OR Collinearity you'll get complete segments

2018-07-10 04:02:13 -0500 commented question Finding segment length

Accumulate those segments using 2 constraints ( parallelism & distance) you'll get complete segments. Then use simpl

2018-07-10 03:45:13 -0500 commented question Better way to Drawing contour line

I think you're not using Background subtraction the right way. And if you want to use the fixed threshold you'll have t

2018-07-06 04:25:23 -0500 commented question Debugging OpenCV DLL used by Executable

Thanks . I didn't know that.

2018-07-06 04:20:03 -0500 answered a question How do I keep an object in the same place?

Use findHomography to get the right transformation matrix.

2018-07-06 03:49:46 -0500 commented answer Segmenting an image with similar background color.

For testing... don't train from scratch. Fine-tune an existing model.

2018-07-06 03:43:57 -0500 commented answer Segmenting an image with similar background color.

You can create large data by changing images you have ( contrast chnage , rotation , translation ...etc)

2018-07-06 03:38:21 -0500 answered a question Segmenting an image with similar background color.

You can try converting your image into different color spaces and threshold using 3 channels... But if you want more p

2018-07-06 03:32:10 -0500 commented question extraction of a rectangle

The simplest way to do it is to Color threshold (for example) -> extract the blobs -> delete noise -> and find

2018-07-06 03:30:47 -0500 commented question extraction of a rectangle

The simplest way to do it is to Color threshold (for example) -> extract the blobs -> delete noise -> and find

2018-06-07 11:16:04 -0500 received badge  Necromancer (source)
2018-01-12 03:42:38 -0500 commented answer How to calculate the distance that from the pixel to image edges

You need 2 point coordinates from your line or segment and your single point coordinates --> then use dot product f

2018-01-12 03:28:14 -0500 answered a question background color affecting contour detection

I suggest using DOG or Variance filter to ignore background variation.

2018-01-12 03:16:59 -0500 answered a question Detect replicating pattern in grid images

Convert your image to HSV or HSL and do simple color thresholding in all 3 channels. If itdoesn't work then segment usi

2017-11-14 05:30:17 -0500 commented question HoughLinesP not able to detect lines

you'll be able to do the same with Hough but tuning parameters for different cases is difficult.

2017-11-14 05:28:50 -0500 commented question HoughLinesP not able to detect lines

If you detect contours as a tree with RETR_TREE your triangle becomes a hole. (check contour Hierarchy) you'll also nee

2017-11-14 04:21:26 -0500 commented question HoughLinesP not able to detect lines

If your purpose is detecting (rectangle with triangle) then doing contour analysis and detecting shapes is better for th

2017-11-13 22:47:59 -0500 commented question Weak edge(Curve) detection in low contrast (Update)

Hi , I added original image (curve shape and orientation are random ) . Thank you.

2017-11-13 22:46:44 -0500 edited question Weak edge(Curve) detection in low contrast (Update)

Weak edge(Curve) detection in low contrast (Update) Hi Everyone . After trying different methods including sobel , cann

2017-11-13 20:13:29 -0500 commented answer Weak edge(Curve) detection in low contrast (Update)

Thank you. I will try your suggestion.

2017-11-13 20:11:22 -0500 edited question Weak edge(Curve) detection in low contrast (Update)

Weak edge(Curve) detection in low contrast (Update) Hi Everyone . After trying different methods including sobel , cann

2017-11-13 19:51:32 -0500 asked a question Weak edge(Curve) detection in low contrast (Update)

Weak edge(Curve) detection in low contrast (Update) Hi Everyone . After trying different methods including sobel , cann

2017-11-06 18:35:50 -0500 commented question Weak edge(Curve) detection in low contrast

Thank you. I tried CLAHE before applying edge detection but results are same with more noise to filter.

2017-11-06 03:56:24 -0500 edited question Weak edge(Curve) detection in low contrast

Weak edge(Curve) detection in low contrast Hi, Everyone. I am trying to detect the curve in the image below , (it's not

2017-11-06 03:55:28 -0500 edited question Weak edge(Curve) detection in low contrast

Weak edge(Curve) detection in low contrast Hi, Everyone. I am trying to detect the curve in the image below , (it's not

2017-11-06 03:52:46 -0500 edited question Weak edge(Curve) detection in low contrast

Weak edge(Curve) detection in low contrast Hi, Everyone. I am trying to detect the curve in the image below , (it's not

2017-11-06 03:51:57 -0500 asked a question Weak edge(Curve) detection in low contrast

Weak edge(Curve) detection in low contrast Hi, Everyone. I am trying to detect the curve in the image below , (it's not

2017-10-11 21:15:59 -0500 answered a question completing characters to get their contour

If using Opencv OCR is not necessary try training your images so you don't need to preprocess.

2017-09-19 08:23:21 -0500 commented answer How can I connect Kinect in opencv?

Did you add path to include and lib ?

2017-09-19 00:09:27 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

Post your code as well so you can get help.

2017-09-19 00:03:21 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

You can set image ROI in JAVA like this : Rect Rect_ROI = new Rect(x, y, Width, height); Mat Mat_ROI = new Mat(Your_

2017-09-19 00:02:21 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

You can set image ROI in JAVA like this : Rect Rect_ROI = new Rect(x, y, Width, height); Mat Mat_ROI = new Mat(Your_

2017-09-19 00:01:29 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

You can set image ROI in JAVA like this : Rect Rect_ROI = new Rect(x, y, Width, height); Mat Mat_ROI = new Mat(Your_

2017-09-18 23:52:18 -0500 answered a question object detection of small insects

Create data of positive and negative images (negative images should be noisy background , other blobs.... ) extract fe

2017-09-18 23:29:30 -0500 answered a question How can I connect Kinect in opencv?

You have to compile opencv source with openni : Using Kinect and other OpenNI compatible depth sensors

2017-09-18 19:54:02 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

To find a heptagon use Imgproc.convexHull and check length of resulting hull .

2017-09-18 19:51:15 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

if you want to process parts of image you'll have to set an ROI . If you want to know contour position in image then you

2017-09-18 19:50:15 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

if you want to process parts of image you'll have to set an ROI . If you want to know contour position in image then you

2017-09-18 19:13:24 -0500 commented question How can I use the Imgproc.findContours() method only on a certain portion of an image, and not the whole image?

findContours returns a vector of contours. (vector of vector of points) so you'll be able to access contours one by one