Ask Your Question

supra56's profile - activity

2020-05-25 11:11:55 -0500 edited question Opencv in ubuntu 20.04 undefined reference

Opencv in ubuntu 20.04 undefined reference I upgraded my PC to Ubuntu 20.04 and I installed OpenCV 4.2.0 which compiles

2020-05-25 10:58:49 -0500 edited question Visual Studio and libraries

Visual Studio and libraries Hello, I'm trying to run OpenCV on Visual Studio 2019, so I followed this However, when I a

2020-05-25 10:57:41 -0500 edited question Visual Studio and libraries

Visual Studio and libraries Hello, I'm trying to run OpenCV on Visual Studio 2019, so I followed this However, when I a

2020-05-25 10:56:54 -0500 edited question Visual Studio and libraries

Visual Studio and libraries Hello, I'm trying to run OpenCV on Visual Studio 2019, so I followed this and this tutorials

2020-05-24 20:58:37 -0500 edited question Independent scaling on x and y direction of image

Independent scaling on x and y direction of image Hi, I am able to use cv2.getRotationMatrix2D (in python) along with w

2020-05-24 20:57:43 -0500 edited question What's the best edge detection for solid color difference?

What's the best edge detection for solid color difference? I am looking for ways to capture a marker-drawn empty shape o

2020-05-24 20:51:47 -0500 edited answer How to convert cv::Mat to Gdk::Pixbuf?

1. convert cv::Mat to CvMat: cv::Mat img = ...; CvMat des_img(img); 2. convert CvMat to Gdk::Pixbuf: auto img_buf

2020-05-24 07:24:32 -0500 edited question Sort bounding boxes in x- Axis of a image in order

Sort bounding boxes in x- Axis of a image in order In this cord it finds all the contours and extract each contour and s

2020-05-24 07:21:38 -0500 commented question Sorting centroids

Are you streaming on video?

2020-05-24 07:17:24 -0500 edited question How can i sort the contours from left to right and top to bottom?

How can i sort the contours from left to right and top to bottom? Code: import cv2 import numpy as np image = cv2.

2020-05-24 03:34:26 -0500 commented question Sorting centroids

Cam you post original image?

2020-05-24 03:25:06 -0500 edited question executing stitching example throws error: (-2:Unspecified error) OpenCV samples: Can't find required data file: --try_use_gpu in function 'findFile'

executing stitching example throws error: (-2:Unspecified error) OpenCV samples: Can't find required data file: --try_us

2020-05-23 21:18:14 -0500 edited question OpenCV DNN net.forward giving segmentation fault.

OpenCV DNN net.forward giving segmentation fault. I am using OpenVino recent kit : l_openvino_toolkit_runtime_raspbian_p

2020-05-23 07:16:29 -0500 commented question how to follow a pix value by checking the neighbors 3x3 in x,y imread()

There are 2 syntax errors. You left out semi_colon in both range. This doesn't work for OpenCV4. I need to see to compl

2020-05-23 06:49:32 -0500 edited question How to extract conjunctiva portion from eye image

How to extract conjunctiva portion from eye image I want to extract the red conjunctiva region using OpenCV (python) and

2020-05-23 06:45:32 -0500 commented question Get an error when trying to install openCV. I don't understand the fix.

Exceeded word count so 2nd comment... ... It said “try to: cmake -DOPENCV_ENABLE_ALLOCATOR_STATS=OFF but I now believ

2020-05-22 08:55:35 -0500 edited question Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube

Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube Hello, I've started using OpenCV a couple of weeks ago

2020-05-22 08:27:02 -0500 edited question [SOLVED]Determining number of Traffic Light Pattern after Detecting Traffic Light

Determining number of Traffic Light Pattern after Detecting Traffic Light Hello, I am working on a project for detectin

2020-05-22 08:22:11 -0500 edited answer Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube

This is not an answer. I used your code on my side using linux on raspberry pi. I've commented out one of them. I just

2020-05-22 08:18:59 -0500 edited question Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube

Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube Hello, I've started using OpenCV a couple of weeks ago

2020-05-22 08:15:46 -0500 commented answer Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube

@kbarni. This doesn't work for me.

2020-05-22 08:15:06 -0500 edited answer Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube

This is not an answer. I used your code on my side using linux on raspberry pi. I've commented out one of them. I just

2020-05-22 08:13:02 -0500 answered a question Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube

This is not an answer. I used your code on my side using linux on raspberry pi. I've commented out one of them. I just

2020-05-21 21:21:42 -0500 edited question [SOLVED]Determining number of Traffic Light Pattern after Detecting Traffic Light

Determining number of Traffic Light Pattern after Detecting Traffic Light Hello, I am working on a project for detectin

2020-05-21 21:14:14 -0500 commented question X,Y and RGB data

Here it works try: while True: frames = pipeline.wait_for_frames() depth_frame = frames

2020-05-21 13:27:18 -0500 commented question Python OpenCV: Canny Edge Detection for Stickerless Rubik's Cube

U merely have 5 colours instead of 6 colours. So how come?

2020-05-21 07:19:08 -0500 edited answer Python openCV drawing functions does not work?!

Actually I had the same problem.All you need to do is: img = np.zeros((512,512,3), np.uint8) img1= cv2.line(img,(0,0),(

2020-05-21 07:18:26 -0500 edited answer Python openCV drawing functions does not work?!

This problem also occurred with me this morning, while i started leaning OpenCV, below solution worked for me, probably

2020-05-21 07:17:39 -0500 edited question Python openCV drawing functions does not work?!

Python openCV drawing functions does not work?! Hi, today I tried to draw a line in a window, this is the code I used.

2020-05-21 06:57:47 -0500 edited question Error 'module' object has no attribute 'TrackerMIL_create'

Error 'module' object has no attribute 'TrackerMIL_create' OpenCV 3.4 Python 2.7 My code: import cv2 import numpy as

2020-05-20 21:00:53 -0500 edited question [Solved]cv2.cv2' has no attribute 'Tracker_create error

cv2.cv2' has no attribute 'Tracker_create error Hi I want to use OpenCV's trackers. I see this error tracker = cv

2020-05-20 20:43:47 -0500 commented question Extracting Curved Contours

@YashRunwal. Comment out np.zeros. U don't needed this.

2020-05-20 20:35:37 -0500 edited question [Solved]OpenCV error: (-215:Assertion failed), read and display an image

OpenCV error: (-215:Assertion failed), read and display an image Hey everyone, previously I was able to use the OpenCV

2020-05-20 11:58:28 -0500 commented question [Solved]OpenCV error: (-215:Assertion failed), read and display an image

Didn't you added cv2. waitKey()?

2020-05-20 11:47:55 -0500 commented question [Solved]OpenCV error: (-215:Assertion failed), read and display an image

It is raspberry pi or pc?

2020-05-20 07:49:41 -0500 answered a question How to use cv::ocl::BilateralFilter in c++ code

Change this: cv::ocl::BilateralFilter(inp_mat,filtered,8,15,15); to: cv::ocl::bilateralFilter(inp_mat,filtered,8,15,

2020-05-20 06:38:06 -0500 edited question Android canny edge detection opencv error Assertion failed

Android canny edge detection opencv error Assertion failed I would make edge detection of the image in Android with open

2020-05-19 22:39:01 -0500 commented answer How to write first N images of video frames

Add this import os.path and os.path.isfile(join(inputpath, f))]

2020-05-19 22:34:05 -0500 commented answer How to write first N images of video frames

Add this import os.path

2020-05-19 22:15:16 -0500 commented question Use openCV for object+distance detection

How many HRS04 sensors? U should have 3...left, centre and right.

2020-05-19 22:13:07 -0500 commented question Use openCV for object+distance detection

@YigalB. Yes, u can used webcam... Fortunately, laptop comes with built in camera. if it is car #1, stop it 100 cm befor

2020-05-19 22:11:35 -0500 commented question Use openCV for object+distance detection

@YigalB. Yes, u can used webcam... Fortunately, laptop comes with built in camera. if it is car #1, stop it 100 cm befor

2020-05-19 21:56:17 -0500 commented question training shape predictor

@irwin_com. Yes, u can do .dat file for deep learning. Unfortunately, not on detect on feet.

2020-05-19 21:51:49 -0500 edited question Detect rectangles in image and save using Java

Detect rectangles in image and save using Java Hi i am working on a small project using Java where one of the so many fu

2020-05-19 21:48:12 -0500 commented question isolate clover leaves on grass

Can u post original image?

2020-05-19 21:47:20 -0500 commented question cmake static lib

R u using Raspberry pi?

2020-05-19 21:45:09 -0500 answered a question How to write first N images of video frames

W/out namespace glob and dictionary. Try this: import cv2 import numpy as np import os def frames_to_video(inputpath,o

2020-05-19 14:02:23 -0500 edited question Opencv4.2.0 dnn Module with CUDA support Issue #https://github.com/opencv/opencv/issues/17321

Opencv4.2.0 dnn Module with CUDA support Issue #https://github.com/opencv/opencv/issues/17321 An error: #https://github

2020-05-19 08:39:12 -0500 commented question Build and install the Python 3 module

OpenCV 4.x must including python 2. You don't need install by urself. OpenCV 4.x will take a care for u,.

2020-05-19 08:37:29 -0500 commented question Build and install the Python 3 module

Take look; Python 2: Interpreter: /usr/bin/python2.7 (ver 2.7.16) Libraries: