Questions tagged [opencv]

Open Source Computer Vision Library, real time computer vision

395 questions
9
votes
2 answers

Can not capture video using OpenCV

I installed OpenCV 2.3.1 in my Raspberry Pi (Debian Wheezy) following this tutorial. But I can't take video using my USB webcam. Gstreamer shows this error: OpenCV Error: Unsupported format or combination of formats (Gstreamer Opencv backend doesn't…
sumith
  • 613
  • 2
  • 9
  • 17
8
votes
2 answers

Taking advantage of multiprocessing with OpenCV on raspberry Pi 2

I used to use OpenCV on Raspberry for different projects (face recognition, sync cam, stitcher etc...). I bought a raspberry Pi 2 for the advantages given by the new hardware config. However, I could not use the 4 cores for processing for example…
AtoM_84
  • 81
  • 1
  • 1
  • 2
6
votes
4 answers

Is there a Raspbian image with OpenCV 3 pre-installed?

After spending days trying to get OpenCV3 to install on Raspbian Stretch, always failing, I thought it would massively help if there's an image with OpenCV pre-installed, which would save several hours of compilation and debugging. Please let me…
Jamboree
  • 69
  • 1
  • 1
  • 3
4
votes
1 answer

Segmentation fault while installing OpenCV. What am I doing wrong?

I am using instructions from http://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/. I have not had any errors except for one error on step 4, specifically the step that says source…
dragonFire
  • 51
  • 4
4
votes
1 answer

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 cropped image I want to pad zeroes over all the four…
Shameel Mohamed
  • 175
  • 1
  • 5
4
votes
1 answer

Installing mjpg-streamer

I tried to install mjpg-streamer(experimental) in pi. But I don't know what to do after the following command. This remains a lot of time. If I tried to kill it shows errors for next command. pi@raspberrypi ~/mjpg-streamer/mjpg-streamer-experimental…
sumith
  • 613
  • 2
  • 9
  • 17
4
votes
2 answers

Error in installing opencv on raspberry pi

I tried to install opencv on my raspberry pi (OS:Debian wheezy) following the site http://eduardofv.com/read_post/185-Installing-OpenCV-on-the-Raspberry-Pi But when I entered the command it shows errors. pi@raspberrypi ~ $ sudo apt-get install…
sumith
  • 613
  • 2
  • 9
  • 17
2
votes
1 answer

How we can take video using mjpg streamer in raspberry pi

I am using raspberry pi(Debian Wheezy) with OpenCv 2.3.1. I tried to take video using e-CAM30_USB module but failed. I can take images. FFMPEG is on. But gstreamer tells the stream is unsupported. For this question Mr. ppumkin answered…
sumith
  • 613
  • 2
  • 9
  • 17
2
votes
1 answer

Failed to find "GLESv2" when compiling OpenCV?

I'm having trouble compiling opencv 2.4.7 with cmake, I get a Failed to find "GLESv2" error: (hal)pi@raspberrypi ~/OpenCV/opencv-2.4.7/build $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D…
tommy chheng
  • 131
  • 1
  • 6
1
vote
0 answers

Raspberry camera with opencv, measure brightness

I want to build a camera with my Raspi. It should take picture whenever a face is detected. But it should give a warning when the brightness is too low for a good picture. Does anybody know a simlpe way for that? Right now I'm using a USB camera,…
wasserflo
  • 41
  • 1
  • 4
1
vote
0 answers

Face recognition plotting

I have a program that is using OpenCV to identify faces and profiles. The default Haar cascade is set for frontal or right profile identifier. To find a left profile, I simply flip the image and it runs the right profile search on that flipped…
1
vote
0 answers

OpenCV without display

I am running OpenCV on my Raspberry Pi 2. I want to use the GPIO instead of the display as an output indicator. However OpenCV will not run without a display. Is there a way to fool the Raspberry Pi to run the program?
DforDJ
  • 13
  • 5
1
vote
2 answers

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 above link). The reason being is that it's eating…
0
votes
0 answers

Rpi 3b opencv lines of code not registering

I recently installed opencv ans tried to run a simple process some of the commands won't read such as cv2.imshow() or cv2.imread () along with the waitkey() everything else works fine but a few necessary likes of code. Is it that i dont have have…
Entity
  • 11
  • 3
0
votes
1 answer

Error installing opencv on RPi2

I am trying to install OpenCV 3.0.0 on RPi2 with raspbian Stretch. When I run the following cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D INSTALL_C_EXAMPLES=ON \ -D INSTALL_PYTHON_EXAMPLES=ON \ -D BUILD_EXAMPLES=ON \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D…
jled
  • 11
  • 2
1
2