Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [opencv]

Open Source Computer Vision Library, real time computer vision

Filter by
Sorted by
Tagged with
1
vote
2answers
298 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
2answers
4k 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 -...
1
vote
2answers
2k 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
377 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.
1
vote
1answer
523 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 ...
1
vote
3answers
1k 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
155 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 raspberry ...
4
votes
1answer
382 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 ...
1
vote
1answer
690 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. ...
2
votes
5answers
9k 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 ...
1
vote
2answers
1k 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
1k 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 ...
2
votes
1answer
1k 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
981 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 ...
3
votes
2answers
947 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
479 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
836 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 ...
2
votes
2answers
6k 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 ...
2
votes
0answers
2k views

Corrupt JPEG data: extraneous bytes before marker, OpenCV C++, Raspberry Pi

I am trying to run OpenCV application on Raspberry PI. When video capture from an external camera starts (Logitech C270), the messages below are printed out: Corrupt JPEG data: 1 extemporaneous bytes ...
0
votes
0answers
528 views

Install Opencv on an external Hard Drive

I am new to the raspberry world. I was trying to install opencv on my raspberry pi 2 and when I give the command: wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.0.0.zip I get the ...
1
vote
1answer
8k views

Face recognition with USB Camera

How would I go about using face recognition with a USB camera, NOT the Pi Camera Board? A link to a tutorial would be fine. I know it was possible with OpenCV, but is it still, and how? Edit Can I ...
1
vote
2answers
1k views

Undefined reference to raspicam::_private::Private_Impl[…]

I am trying to make a project for the Pi B+ using ROS, RaspiCam and OpenCV (in c++). I want to write my code in QTCreator in a Virtual Machine running Ubuntu 14.04, and then transfer the files to my ...
1
vote
0answers
478 views

Trying to render image from grayscale camera with OpenCV in C++. Hangs after a few frames

have a grayscale camera (NOT COLOR) and am trying to render the image. I am running on Raspbian, on a Raspberry Pi 2. I've grabbed some code and bared it to a minimum and made some progress: #include ...
3
votes
1answer
196 views

Compile GCC for Raspberry Pi 2B - Patches required?

I need to compile a modern version of GCC in order to compile CMake in order to compile OpenCV 3.0.0. So I want to compile a modern and stable version of GCC for the Raspberry Pi 2b. I've read this ...
0
votes
1answer
5k views

Very high camera latency with OpenCV

I have an USB camera and the official RPI camera. Both cameras deliver images with a delay of around 5 seconds with OpenCV 3.0 (VideoCapture) on my Raspberry Pi 2. When I run the same application on ...
2
votes
1answer
117 views

OpenCV release vs development version

I made a simple application with OpenCV for the RPI2. To do so, I installed the 'development' package on my RPI2. sudo apt-get install libopencv-dev python-opencv Now, I want to install my ...
0
votes
1answer
1k views

Vehicle detection (OpenCV). Arduino or Rasp Pi? [closed]

I am new to open cv, and I'm starting to do a project. I want to use open cv for vehicle detection. I prefer using C++ language. Should I go with Raspberry pi or Arduino ? And why(what are the ...
1
vote
2answers
2k views

Pip exception while installing matplotlib on raspberry pi

I am working in a opencv project on the raspberry pi, and im using a virtual environment, but i used pip to install numpy, scipy and other libraries, but when trying to install matplotlib on pip by: ...
2
votes
1answer
187 views

Can I Execute a Jar-File that contains JavaCV 1.0 on a Raspberry PI?

Is this possible to run a Jar-File that contains JavaCV 1.0 on a Raspberry PI?
-1
votes
1answer
128 views

A suitable OS for running a Java application which captures photos and prints them [closed]

I have developed a Java application, which captures photos from a webcam and detects faces (using OpenCV) and prints only the facial area on paper. Now I have to run this app on a Raspberry Pi. I need ...
1
vote
1answer
5k views

Access numpy array in openCV

Using the documentation here here, the code import time import picamera import picamera.array import cv2 with picamera.PiCamera() as camera: camera.start_preview() time.sleep(2) with ...
-1
votes
1answer
967 views

Accessing YUV data in openCV on the RPi [duplicate]

I came across thisquestion and answer which said how to get a numpy array from raspicam, using the PiYUVAnalysis class. I can output the array itself, But i do not know how to view the array as an ...
0
votes
0answers
611 views

openalpr error -bash: alpr: command not found

When I type alpr --help and entered, then it showed -bash: alpr: command not found error message. How to solve this problem? I followed this method to install all the stuff https://github.com/...
2
votes
2answers
939 views

Can't connect to the Pi after cloning the SD card

I want to make a new SD card with Raspbian and OpenCV installed. Instead of making it from scratch, I have already done this from another SD card that I use with raspberry. After cloning the SD card, ...
1
vote
1answer
1k views

lens for raspberry pi 2 to expand the field of view

Hi all i'm using raspberry pi 2 with raspbian , i'm working on face and eyes detection using opencv and c++ , i want to expand the field of view for the pi official camera module any suggestions will ...
0
votes
0answers
175 views

How to use floating point support in raspberry pi 2

I'm using raspberry pi 2 with raspbian and I'm working on face and eyes detection using opencv and c++. I want to improve the performance and the execution of my program and I was wondering if I can ...
6
votes
1answer
10k views

Raspicam C++ library — captured image requires several grab()s to be properly bright

Note that I am referring to the C++ library, raspicam (http://www.uco.es/investiga/grupos/ava/node/40), not the raspberry pi camera in general. Unfortunately, I don't have the reputation to make a "...
2
votes
0answers
1k views

Problems in getting two camera feeds via an OpenCV python program

I'm running a Ubuntu 14.04 LTS on my RPi 2. I've OpenCV 2.4.9 installed on it. While running a simple camera capture program works fine. Here is a code for it. import numpy as np import cv2 from ...
1
vote
1answer
2k views

Kernel throwing up all kinds of errors over night

I am developing a system that uses OpenCV with Python to access the csi camera, and PyGame for the GUI. Due to the nature of the system (security program) it needs to be left unattended pretty much ...
1
vote
1answer
5k views

Installation OpenCV 3.0 on Raspberry Pi running Debian Wheezy

I need some help to find a tutorial or help installing OpenCV-3.0 on my raspberry pi running debian wheezy. The OS was already pre-installed on the micro-sd. I followed some guides online but it seems ...
3
votes
1answer
6k views

Error loading bc2835-v4l2 driver, Raspberry Pi and OpenCV

disclaimer: I am new to OpenCV and Raspberry Pi, although I have a fair amount of experience with linux systems in general Here is what I am attempting to accomplish: I am trying to use a Raspberry ...
2
votes
1answer
912 views

OpenCV cv2.VideoCapture(0) is not working well with webcam

I am trying to use a USB webcam for a computer vision project that outputs the diminations of moving object. I installed openCV and tried my python code which it worked perfect on my PC, but when I ...
1
vote
3answers
2k views

How to diagnose problem with OpenCV face tracking

I am attemping to create the pan-tilt face tracker, using Raspberry Pi 2 Raspian Regular Raspberry Pi Camera from an article on the Pimoroni site, and when I run the python code I get about 20 ...
1
vote
0answers
685 views

Multiple webcams - cannot open in openCV & corrupted image

I've connected four USB webcams via well powered USB hub to RasPi2. I want to use them in openCV. So I setup a simple program, where I opened the cameras using cvCaptureFromCAM, captured a cv::Mat and ...
1
vote
3answers
424 views

Run code on Raspberry Pi without gui

I am developing an application based project and I am almost done with it. Now I need to covert that to a commercial level product. As it is application specific I want my code to run as soon as I ...
1
vote
0answers
98 views

2 scripts need every frame from NOIR camera board at same time

I have two opencv2/Python scripts running at the same time on the same Raspberry PI. A streaming server script based on this, that outputs a live camera feed to the web a motion detection script, ...
2
votes
0answers
715 views

Importing Lepton Thermal Module video feed into OpenCV on Raspberry pi

I'd like to import the video feed that I can capture from a thermal imagery camera I got off sparkfun for a college project of mine. But, I can't seem to get the ./raspberrypi_video into the Video ...
1
vote
0answers
343 views

Webcam doesn't work on Raspberry Pi VIDIOC-QUERYMENU: Invalid Argument

So I wrote an image processing program in Python on my windows computer and it works fine there, but when I try to run it on the Raspberry Pi I get VIDIOC-QUERYMENU: Invalid Argument a bunch of times. ...
1
vote
0answers
754 views

RPi2 Or ODROID-C1 for better OpenCV performance?

I am planning for a project requiring face recognition using OpenCV and got confused between two boards at same price - the Raspberry Pi 2 and ODROID-C1. My question is which board is more suitable (...
2
votes
1answer
18k views

Python - cannot import OpenCV module?

I used this guide which installs OpenCV in a virtual environment, however I am getting the following error when I try to import the cv2 module: $ source ~/.profile $ workon cv $ python >>> ...