Open Source Computer Vision Library, real time computer vision

learn more… | top users | synonyms (1)

1
vote
0answers
9 views

overlay from opencv on top of camera stream

I watched this video. There is a face being tracked by a Raspberry Pi and a frame gets displayed around the face. I'm interested in creating the overlay with the frame. As you can see, the stream of ...
1
vote
1answer
40 views

Error Installing OpenCV on Raspberry Pi

I have been trying to install OpenCV on my Raspberry Pi with Python 3. I have followed this tutorial http://mitchtech.net/raspberry-pi-opencv/ and when I get to the make command it gets to around 14 ...
0
votes
0answers
34 views

Stereo Vision Using Compute Module: Pi camera synchronization

Good day, I am currently working on an obstacle avoiding UAV using stereo vision to obtain depth maps. I noticed that the quadcopter would sometimes not steer to the correct direction. I am using ...
1
vote
0answers
19 views

Simplest way to grab camera images from Java

I want to write a software that runs on the JVM (in Scala but you can think Java). I am looking for the simplest way to capture images from the standard camera module (v2). I find the raspstill quite ...
1
vote
1answer
16 views

Python 3.4 opencv import error

I've tried the installation of opencv 3 for Python 3+ on the Raspberry Pi. After importing the opencv using import cv2 on Python shell it gives me this error: ImportError: dynamic module does not ...
0
votes
1answer
62 views

OpenCV camera doesn't work in 'bgr' mode, but works in 'rgb' with inverted colours

I'm following this tutorial (specifically step 6) to get basic video working with openCV and my Pi 3 B. I know the camera works, because the camera.start_preview() and camera.stop_preview() code works ...
0
votes
0answers
31 views

Do I need openCV to use pHash in a video stream with picamera?

I just acquired a Pi 3 B with the camera 2 module, with which I want to do video recognition of cards. I've installed the ImageHash library to use pHash, which works, I can create hashes of images ...
0
votes
3answers
108 views

autofocus raspi-cam

I was wondering if someone ever tried to implement a rudimentary autofocus for the raspberry pi camera. From hardware point of view one needs some actuator, that is able to turn the little objective ...
1
vote
1answer
38 views

Python doesn't recognize cv2 when running under sudo

I've installed opencv with python 2.7 using this tutorial. I've created a test python file and everything works fine. But when I try to run it as sudo, it throws an error: ImportError: No module ...
2
votes
2answers
127 views

Getting extremely low fps on Rpi 3 while image processing

I am working on a project that requires image processing to detect a traffic light and take action based on its status (on or off). I initially developed the code on my PC, using OpenCV and Python, it ...
1
vote
0answers
26 views

sudo pip install packagename not working

sudo pip install packagename not working... I am not able to install python package using pip.
0
votes
1answer
59 views

Getting multiple errors while Installing Scipy

I'm not able to install Scipy on my Raspberry Pi Model B. My current setup is: Raspberry Pi model B running Raspbian Jessie and 16gb SD card. OpenCV 3.1.0 installed on the raspberry pi using this ...
1
vote
1answer
61 views

Detecting red contours

I am trying to detect the largest red contour my picamera captures. The following is the code from picamera.array import PiRGBArray from picamera import PiCamera import cv2 import numpy as np ...
0
votes
0answers
40 views

opencv image is black

I'm facing a problem where the image displayed by opencv and the image displayed by picamera are different. picamera displays an image as expected but opencv just displays black. any thoughts? code ...
2
votes
1answer
87 views

can't save video with opencv 3.1 windows

i'm trying to capture a video using opencv 3.1. I'm using the following code, but when I run it on pycharm, a small window opens (according to task Manager it has something to do with video ...
0
votes
2answers
97 views

Error Install OpenCV 3.1.0

Trying to install OpenCV 3.1.0 on Raspbian Pi-2, came up with this error. Linking CXX static library ../../lib/libopencv_ts.a [ 52%] Built target opencv_ts Makefile:147: recipe for target 'all'...
0
votes
1answer
169 views

Activate virtual environment and run python script on RPi startup

I am working on my project and using a raspberry pi 2 with raspbian OS. I followed the following link http://www.pyimagesearch.com/2015/10/26/how-to-install-opencv-3-on-raspbian-jessie/ to install ...
0
votes
0answers
57 views

VideoSurveilance Application whichs was provided by Emgucv bundle Hangs on Raspberry Pi

When i try to run the VideoSurveilance Application on Raspberry Pi.The Application Hangs it cannot open a window,I followed the steps From this Link EmguCv Download and Installation Steps are there ...
0
votes
2answers
362 views

How to install OpenCV3 for Python 3 on Raspberry Pi 3?

I have searched the net for the process but have not yet found any useful help for the query. Following are the links, http://www.linuxcircle.com/2015/05/18/open-computer-vision-opencv3-with-python-3-...
0
votes
1answer
136 views

raspberry camera module feed is slow with Opencv using v4l2

i am trying to use Opencv to video capture from the raspi cam to do some operation on it, the problem is i am using v4l2 to capture the video and it is so slow (10 sec delay and 2 fps). what i have ...
1
vote
0answers
50 views

Using Raspberry Pi 2 B with Pan Tilt and OpenCV 3.0.0 for the 1st Time

I am very new to Raspberry Pi, and This is my first time using it. I have read a lot from the documentation on the official website, and I really got great things. After that I installed OpenCV 3 with ...
0
votes
1answer
84 views

raspberry camera module cannot be opened with device ID

i am trying to run this face recognition code from here! i successfully installed OpenCV on the raspberry, and i used the code before on windows. but here i have the problem with the raspberry ...
0
votes
0answers
138 views

Raspbian Jessie with OpenCV 3.0 and 2.4. How to remove 2.4?

I have installed OpenCV 3.0 and 2.4 on my RPI (Raspbian Jessie). Is there any way to remove (uninstall) the 2.4 OpenCV?
0
votes
0answers
84 views

box.py: “File can't be opened for writing”

I get this error when I try sudo python box.py on Raspberry Pi 2: Loading training data... OpenCV Error: Unspecified error (File can't be opened for writing!) in load, file /build/opencv-ISmtkH/...
0
votes
1answer
77 views

execute cpp code written with visual studio on the Raspberry Pi 2

I am new to the Raspberry Pi and opencv lib, I have spent some time learning opencv up until I finished my first program written in c++ . Now I want to compile and execute the same c++ file on the Pi ...
0
votes
0answers
8 views

Installing Java OpenCV 3.1.1 on a Raspberry Pi 2? [duplicate]

Is it possible to do this and if so how? I was able to install the C++ libraries but I would prefer to work in Java.
1
vote
1answer
87 views

Raspbian Jessie and OpenCV 2.4.9 “get_buffer() failed (-12 (nil))” error

I upgraded my RPI2 to use Raspbian Jessie. (NOOBS 1.9.0) I also installed OpenCV 2.4.9.1 package. (It is the default package from apt-get install) Now, I have a problem while recording video with ...
0
votes
0answers
139 views

libtiff4-dev - The following packages have unmet dependencies

I am trying to install opencv on my raspberry pi. One of the dependent packages is: libtiff4-dev When I try to install it I get the following: sudo apt-get install libtiff4-dev Reading package ...
0
votes
1answer
223 views

opencv raspicam configuration C++ Example

I need any help with this error pi@raspberrypi ~/opencam_test $ sudo g++ simpletest_raspicam_cv.cpp -o simpletest_raspicam_cv -I/usr/local/include/ -lraspicam -lraspicam_cv -lmmal -lmmal_core -...
0
votes
0answers
15 views

best choice for image processing and real time embeded processing [duplicate]

I'm trying to learn & develop Image processing application based on opencv on a embedded board.As you know latest Ras-pi(ras-pi 3) has modern ARM A53 processor with a VideoCore that makes it a ...
0
votes
1answer
318 views

How to install OpenCV 3 on Raspbian Jessie

I followed installation procedure as in How to install OpenCV 3 on Raspbian Jessie. I am successful in entering OpenCV virtual environment. I am unable to compile and install OpenCVV (step 4 in the ...
-1
votes
1answer
74 views

Geting errors with c++ using opencv on raspberry Pi

For Face Recognition using raspberry Pi with opencv. I have tried using C++ code which is failing to include the opencv files. Please comment any python code for face recognition using opencv.
0
votes
0answers
31 views

Scrambled images with OpenCV VideoCapture

I am trying to capture images with OpenCV and a webcam (640x480) connected Pi 2. When I set the resolution to half its maximum, i.e. 320x240, everything works fine. But when I increase resolution to ...
1
vote
1answer
91 views

Processed live video via Ethernet transfer

I'm trying to track an object with a webcam and my pi (let's call it pi1). Therefore I have a python script, which gives me a processed live video as an output. Besides, I have another pi (pi2) which ...
0
votes
0answers
11 views

Error to compile libfacerec-0.04 using cmake [duplicate]

I'm trying to compile libfacerec-0.04 for Face Recognition from here and I am following this site for face recognition. When I unzip and try to compile the API libfacerec-0.04 using sudo cmake . ...
0
votes
0answers
53 views

Unable to run openCV on my raspberry pi

The above are images of two terminal windows. i am trying to run OpenCV for which it is necessary to to workon cv. while i run it on ssh i am able to workon cv but it says cannot connect to X ...
1
vote
3answers
97 views

OpenCV Installing (make) errors on /modules/objdetect/

im a total noob to raspberry and I want to create an opencv gesture recognizing app with the pi camera (the one which is connected thru the socket next to the hdmi port) and was installing opencv 3.1....
1
vote
0answers
37 views

Raspberry pi execution time calculated is different on the desktop terminal and command line?

Boot to desktop and boot to command line can be chosen using raspi-config. I decided to do a test to see whether my code will execute faster using the command line interface. How come the ...
2
votes
0answers
56 views

In Opencv, after padding zeroes the output image is like broken and stretched, but the same code works well in Windows. How could we resolve this?

I am using Raspberry Pi 2 model B with Rasbian OS. I am first finding the largest contour from the image, then I am extracting the contour alone using a bounding rectangle (cropping). Then in this ...
0
votes
0answers
71 views

uvcvideo: Non-zero status (-5) in status completion handler

I'm using a RPI2 and a USB webcam (Microsoft HD3000) to record video. Now, I'm doing extensive testing and I see that when I record long video (10-12 hours) I sometimes see an error in dmesg. ...
0
votes
2answers
1k views

Can't compile OpenCV 3.1 on Raspberry PI: Missing videoio.h, videodev.h,

All, I've followed these instructions: installing OpenCV 3.0 on raspberry pi b+ and these: http://www.pyimagesearch.com/2015/10/26/how-to-install-opencv-3-on-raspbian-jessie/#comment-389260 and ...
0
votes
0answers
14 views

HDMI image processing [duplicate]

I would like to know if is it possible to process images that came from a HDMI source (not a camera) with Raspberry Pi and OpenCV, even by using the HDMI to CSI-2 bridge (b102) or by using HDMI to USB?...
0
votes
2answers
298 views

Not able to Install openCV 2.4.9 on raspberry pi 2 model B

I am trying to install openCV 2.4.9 on raspberry pi 2 but facing some error regarding libtiff4-dev image format. I have tried with 'libtiff5-dev' also but it is not working. I dont know what the ...
2
votes
1answer
184 views

Is opencl supported in Raspberry Pi for stereo vision applications?

I am currently using the opencv library for implementing stereo vision on the raspberry pi. A colleague of mine is using an odroid sbc supporting opencl for parallel processing of matrices. Is ...
0
votes
1answer
409 views

Pi with Arch Linux and OpenCV: errors when running cmake

I have a Pi running a fresh Arch Linux installation and I want to install OpenCV 3, but I am facing an error that I do not have when installing OpenCV on my other computers. I wrote a script that ...
4
votes
1answer
183 views

Getting started with image processing using opencv in windows and using in raspberry pi

I am learning image processing using opencv in windows. In another project that I am working on, requires the image processing to be done in raspberry pi for object recognition. Since I do not own a ...
4
votes
2answers
157 views

Raspberry Pi Camera Module slower than Desktop Webcam

I'm using CodeBlock IDE on raspberry pi 2 with raspberry pi camera module to run face detection program (via Haar Cascade). Now I've compared its performance using Microsoft LifeCam (USB connection) ...
1
vote
0answers
120 views

Unmount USB Camera

I'm working in a Python app with opencv and a USB camera. Sometimes the camera driver throws an exception: OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /home/pi/opencv-2....
2
votes
1answer
108 views

Faster way to use Pi camera module with OpenCV C++

I learnt that The pi camera module does not work the same as the USB camera and VideoCapture cap(0) doesn't work with pi camera module. I am using this wrapper to get frames from pi camera module to ...
3
votes
2answers
1k views

OpenCV display image: window system doesn't support opengl

I have a project which uses the raspberry pi camera and openCV (also: ROS) to do some movement analysis. However, when I want to display the image (with the openCV API or a ROS node), there's an error ...