Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 2088 articles
Browse latest View live
↧

Problem Installing OpenCV on Windows 10

Hi All I download openCV on Windows 10 when I run the EXE to extract the file to C: drive I get an error saying "Can not open file 'C:\Downlods\opencv-3.2.0-vc14.exe' as archive So please how can I...

View Article


Question about numbering with built-in and external cam

I'm very new to opencv (as in I started using it today). I'm working on a simple program to process images from a usb webcam. If I don't connect my external webcam, the built-in camera opens as device...

View Article


ERROR using opencv_contrib with Python 3.x

Whenever I try to use something from the opencv_contrib I get an error: ---------- Ex1: In the command line python >>> import cv2>>> help(cv2.xfeatures2d) AttributeError: module...

View Article

How to check Lane Departing in OpenCV 3?

Hey guys, I'm using OpenCV 3 in Python 2.7. My project's aim is to build an autonomous lane departing robot that can detect the two lanes on its sides and continuously correct itself to remain within...

View Article

Bounding box not showing?

I am writing code to be able to detect moving objects in a video. I have blurred the video, computed the difference between the first and current frame, found contours and computed the bounding box. In...

View Article


Identify the best angle to orient a map

I can't upload my image or publish links so I'll describe my map. It is a robotics map that is similar to the one you will find if you Google "Centibots: the Hundred-Robots Project". Take away the...

View Article

Applying four color theorem in image of map/graph hand-drawn/computer-generated

From an image of a graph, (hand-drawn or computer-generated), I want to:- 1. Recognize all the regions in this image 2. Recognize which region is connected to other regions My goal is to apply four...

View Article

Trouble building opencv 3.2.0 on raspbian(pi3)

Hey guys! I'm facing some trouble installing 3.2.0 on my pi3. I'm new to linux. I followed the steps here: pklab(dot)net/?id=392&lang=EN but the build would always return errors no matter what I...

View Article


About segmenting characters for ocr. Contours I could detect is not in order.

I have a code that can detect contours in an image. My image consists of a string of characters. But contours being detected is not in the order of character. So I am not able to save it in the correct...

View Article


Does saliency module from opencv_contrib work in python ?

Hi, I am trying the Motion saliency algorithm in the Saliency module from Opencv_contrib (in python) but it doesn't seem to work. I didn't find any example on how to use the python wrapping of these...

View Article

How to count the number of faces detected in live video by openCV using python?

I need to count the number of faces in a video taken from webcam.For example,if I am standing in front of the camera then count=1,now if any other person is detected then count=2,if another person is...

View Article

I am trying to train a classifier using haar cascades for detecting...

create samples.bat C:\opencv\opencv\build\x64\vc12\bin\opencv_createsamples.exe -info POSITIVES.txt -vec samples1.vec -num 413 -w 50 -h 80 PAUSE train.bat...

View Article

hello. i want to separated the objects from the photo . how can i scan the...

the shapes that i need to split are: 1. Circle 2. Square 3. Rectangle 4. Rhombus 5. Arrow from a flow chart all of the shapes are connected with arrows

View Article


Stereo Vision (Python) - How can I improve my Stereo Rectification results?

Hi all, I am carrying out an undergraduate where I need to find out the depth of a stereo image, thus it is crucial to get a good disparity map for the calculations to be accurate. My rectification...

View Article

OpenCV installation error: SyntaxError related to python

Hi, I am trying to install openCV on a remote server, and I keep getting hung up at this error at 98% after running make. Here is my cmake command cmake -D CMAKE_BUILD_TYPE=RELEASE -D...

View Article


How to convert Keypoints to an argument for findhomography()?

I've seen some tutorials use this code to convert Keypoints (from a list of matches) to an argument for findHomography(). src_pts = np.float32([ kp1[m.queryIdx].pt for m in good ]).reshape(-1,1,2)...

View Article

How to refine the edges of an image?

Hi all, I extracted the following object using grabcut alogrithm. ![image description](/upfiles/14835974907280043.png) However, i wish to have more refined edges of the extracted object. Is there any...

View Article


OpenCV Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow...

Hello! I searched the Internet but did not find a solution for me. First of all I simply want to run my webcam and see it. Here is my code: import numpy as np import cv2 cap = cv2.VideoCapture(3)...

View Article

detectmultiscale multiprocessing

Hello. I have just found that detecmultiscale only seems to run on one processor core. With predict () this is apparently the same. Is it possible to split this command into several cores? This would...

View Article

Segmentation fault when you import cv2 in Python

Hi, I installed opencv and python on the raspberry pi with the kinetic version. My Python version is 2.7.9. When I do a import cv2 after I start python, it gives a segmentation fault. However, when I...

View Article
Browsing all 2088 articles
Browse latest View live