36 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Audun

This is the error message: >>> %Run -c $EDITOR_CONTENT Traceback (most recent call last): File "<string>", line 6 image = cv2.imread(“C:\Users\Audun Nilsen\Pictures\pica.webp”) ^ SyntaxError: invalid character in identifier >>> This is the code: import cv2 # OpenCV for image processing image = cv2.imread(“C:\Users\Audun Nilsen\Pictures\pica.webp”)

Member Avatar for Audun
1
52
Member Avatar for Sonia11

I am proceeding with parallel processing using GPU, while installing CUDA, I did build the dll files in CMAKE to have GPU support. I did include all the CUDA files and now when I am trying to rebuild the following solution: #include <iostream> #include <stdio.h> #include "C:\Users\admin\Documents\opencv\build\include\opencv2\opencv.hpp" #include "C:\Users\admin\Documents\opencv\build\include\opencv2\gpu\gpu.hpp" using …

Member Avatar for mike_2000_17
0
2K
Member Avatar for silvercats

How to draw a convexthull and a polygon around the hand in this tutorial. I found this tutorial in JavaCV how to detect a hand gesture. But it doesn't show how to draw the convexhull or a polygon around the palm. Can someone tell me how to do that in …

Member Avatar for Hiroshe
0
240
Member Avatar for learner_new

Hi i developed a C++ code for tracking a yellow colored object. IDE: CodeBLocks Opencv Version:2.4.6 Language: C++ Following is the code for yellow color detection, which i was able to successfully perform. #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <iostream> using namespace cv; using namespace std; Mat GetThresholdedImage(Mat image_here) { Mat …

0
162
Member Avatar for ravi_14

i made a project using visual studio and opencv ,it worked fine. however later i thought of adding GUI. i googled and found abput QT.some how i managed to include libraries and build paths,when i use **C fucntions of opencv** the program works fine but when i use ***c++ features …

Member Avatar for Ancient Dragon
0
687
Member Avatar for intelharsh

I am trying to semi-circles and full circles in an image. This is the process I'm following : Process image (including Canny edge detection) Find contours and draw them on an empty image, so that I can eliminate unwanted components. (The processed image is exactly what I want.) Detect circles …

Member Avatar for Moschops
0
824
Member Avatar for fafa70

hi. i am working on a project to find colors. i've stucked in finding purple color. i've used many application for finding color ranges and i've tested many numbers. i am using cvInRangeS function. i really appreciate if someone helps me. thanks.

Member Avatar for ben25x
0
540
Member Avatar for Manasarala

hi, Below is the code that displays 2 similar images and pixel values BGR of both images. I wanted to know , how to calculate the distance(euclidean) between selected pixels in 2 images[like (100,100),(100,101) coordinate and so on.how to go about it?how to use the values of BGR and B1G1R1 …

0
141
Member Avatar for capton

Hello, I'm building opencv library with cmake for mingw to be used with qt and i've been able to generate the makefilelist. But when i type **mingw32-make** at the command prompt i get error when it's 44% built. error says: *Cannot export _ZN12_GLOBAL__N_13R)p3aLLEv: symbol not found Cannot export _ZN12_GLOBAL__N_17CmpType3allEv: symbol …

0
152
Member Avatar for singularity~

# **I am installing OpenCv using these steps:** # Building OpenCV from Source Using CMake, Using the Command Line Create a temporary directory, which we denote as <cmake_binary_dir>, where you want to put the generated Makefiles, project files as well the object files and output binaries. Enter the <cmake_binary_dir> and …

Member Avatar for deniscass
0
460
Member Avatar for spetro3387

I am compiling some source that is linked to two packages. One is OpenCV and the other is a driver library for an infrared camera. The company only provides a 32-bit version of the library via an rpm package. I compiled OpenCV from source and it's libraries are installed in …

Member Avatar for spetro3387
0
5K
Member Avatar for giancan

Hi everybody, is there anyone with experience with opencv for python? I was wondering if there is a way to allocate some memory on demand, since when I try processing images (usually bigger than 800x800 pixels) I get a "OpenCV Error: Insufficient memory (unable to allocate 59500564 bytes)" message. (bytes …

0
113
Member Avatar for menaka_it

hi i want to do object identification (whether it is a human or vehicle).... i use cvmatchtemplates and cvshapematch.... both function couldn't give proper result... which function should give better result for my project......

0
115
Member Avatar for sss93

Am I correctly including all the library files from the directory ?? LIBS += `"C:\openCV24\opencv_bin\lib\*.dll"` Because this line keeps on giving me `C:\openCV24\opencv_bin\install\lib*.dll: Invalid argument` Ive tried looking several places and have altered this line many times but cant seem to get it to work. Can someone please let me …

0
153
Member Avatar for nyquist

Hi, i need to create a binary matrix (one which elements can only be 1 or 0) in openCV. The nearest that I was getting is creating a matrix which elements are 8-bit values using the CV_8UC1 dataType. There must be another dataType which specifies that the matrix elements are …

Member Avatar for vijayan121
0
6K
Member Avatar for anuran
Member Avatar for anuran

im using this code to detect face features,it works properly but after sometime of its run,video frame pauses and stops responding. im running it on microsoft visual cpp 2008 #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include <cv.h> #include <highgui.h> #include <conio.h> // A Simple Camera Capture Framework const …

Member Avatar for Banfa
0
257
Member Avatar for sandz24

Does anyone know the equivalent version of cvCreateImage in c++. I tried googling it but no luck. Thanks!!!

Member Avatar for Ancient Dragon
0
125
Member Avatar for sandz24

Can anyone discuss how to convert a jpeg color image into binary using OpenCv and C++. I find it hard understanding it on my own. I found sample programs but that really doesn't help much if I don't understand the meaning of every line of code. At least a step …

0
105
Member Avatar for BlackJavaBean

I'm trying my hand at OpenCV and have run into a problem that Dr. Google hasn't been able to help me out with. According to O'Reilly, the following code should play an AVI file in a window the program creates. [CODE] #include "highgui.h" #include <stdio.h> int main( int argc, char** …

Member Avatar for nhadley
0
644
Member Avatar for 9tontruck

C programming in IOS? Hi, I am implementing an image editing program in C which should work both in Windows, IOS (iDevices). Ths point is that we do not want to re-write same code in Object-C or Xcode. Let's say that we have a C program that is just resizing …

Member Avatar for 9tontruck
0
279
Member Avatar for sumit3gupta

GUYs, pls help me in installing openCV in win7 64-bit, i downloaded opencv 2.3 its round about 141mb and it has some cmake files. i got it from here [url]http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3.1/[/url] and i dont know how to proceed further?

Member Avatar for haroonaejaz
0
297
Member Avatar for sunder6218

hey everyone, i have trying to build a aplication which takes hand gestures as input and performs corresponding mouse events as output using opencv inc/c++, but im having trouble implementing the hand detection and gesture recognition part.. so anyone can help me out..!!!

Member Avatar for Moschops
0
112
Member Avatar for goluman

I am a beginner in openCV and C++ as well.I am stuck in a particular place while trying to implement face recognition in open cv. I have the stored training images in a folder called data the images of first person is stored like 1_john1.pgm 2nd image of first person …

Member Avatar for goluman
0
1K
Member Avatar for ipunished

Hello, Ive been working on learning opencv by example and have learned lots but have some confusions/confusion in some parts, and would appreciate if you guys could help me out.. First off I have 5 matrices, and I want to combine them into one big matrix.. for this reason I …

Member Avatar for ipunished
0
239
Member Avatar for Kirielson

Hello, I'm having trouble running the CalcOpticalFlowPyrLK in Python. When I try doing the calculations for the Lucas Kanade code it will not compute the error I get is the following:[ICODE] File "****", line 63, in callback (currFeatures, status, track_error) = cv.CalcOpticalFlowPyrLK(old_image, new_image, old_pyramid, new_pyramid, old_features, (3,3), 1, (cv.CV_TERMCRIT_ITER, 10, …

0
173
Member Avatar for SWEngineer

I have followed this tutorial for setting up Eclipse and OpenCV: [URL="http://carrierfrequency.blogspot.com/2011/05/opencv-22-in-windows-using-eclipse-ide.html"]http://carrierfrequency.blogspot.com/2011/05/opencv-22-in-windows-using-eclipse-ide.html[/URL], and doing it with OpenCV 2.3. But, I'm always getting the error: Type 'IplImage' could not be resolved for IplImage* img = 0; Why is that? Thanks.

Member Avatar for raptr_dflo
0
266
Member Avatar for silentassasin

Hi, I wrote a program for detecting circles using Hough Transform using OpenCV in C. The program inputs 3 images, each image contains a fixed small circle and a big circle with variable position. The program then recognizes both the circles and marks the centres of both the circles. Now …

0
174
Member Avatar for jintujacob

Hey friends lets checkout a small, simple and cute python program for taking photos with with your webcam without the help of any third party application programs. [CODE] import os import datetime import opencv.adaptors from opencv import highgui import Image def get_image(camera): im = highgui.cvQueryFrame(camera) # Add the line below …

Member Avatar for jintujacob
0
401
Member Avatar for Chris11246

Im trying to install the opencv libraries and i tried following the instructions at: [URL="http://blog.cuvilib.com/2011/03/22/how-to-build-opencv-2-2-with-gpu-cuda-on-windows-7/"]http://blog.cuvilib.com/2011/03/22/how-to-build-opencv-2-2-with-gpu-cuda-on-windows-7/[/URL] but Im having problems getting the sample code to compile. When I try: [CODE]#include <iostream> #include <opencv2/opencv.hpp> #include <opencv2/gpu/gpu.hpp> using namespace std; int main() { try { cout<<cv::gpu::getDeviceName(0); } catch(const cv::Exception& ex) { std::cout << …

Member Avatar for rubberman
0
276

The End.