Questions tagged [opencv]

Open Source Computer Vision Library, real time computer vision

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Using Cakephp running python tensorflow

The program is work in Raspberry Pi using Rasbian Stretch. I have python script with TensorFlow object detection. Now I am using CakePHP to implement the website. In the CakePHP, I want to run the ...
2
votes
1answer
1k views

how to increase fps for raspberry pi for object detection

I'm having low fps for real-time object detection on my raspberry pi I trained the yolo-darkflow object detection on my own data set using my laptop running windows 10. When I tested the model for ...
0
votes
0answers
117 views

Raspberry Pi shows 100% CPU usage then crashes when I run a python script

Hi I've been working an opencv and python project which the raspi should detect and recognize a face and detect a motion. It works fine with my laptop but after I run it on my raspi the raspi crashes. ...
0
votes
0answers
34 views

A way to synchronise image stream on multiple pis

I am trying to send a sequence of images from a "master" pi to two other pis on the same network. Each "slave" pi will need to receive a different image from the "master" pi but the two images will ...
0
votes
0answers
260 views

Tensorflow object detection script is being killed by system

I'm trying to run an object detection script using Tensorflow. After running the python script it's being killed or freezes. I can see camera's light is being turned on right before the script stops. ...
1
vote
0answers
102 views

When I run the face recognition code, I get the following errors

cv2.error: OpenCV(4.0.1-dev) /home/pi/opencv/modules/highgui/src/window.cpp:610: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa ...
0
votes
1answer
267 views

OpenCV install 'so' files not found cant insall via apt

Rasp 3 B+, Raspbian I installed OpenCV using pip3 install opencv-python Then tried to import cv2 which threw the error.. ImportError: libcblas.so.3: cannot open shared object file: No such file or ...
1
vote
2answers
409 views

Stream remote pi+rasp camera to another computer?

Hi is it possible to stream the video feed from a pi camera (3 b+ model) across a LAN to another computer running Linux? My idea is to see if pi can be used almost like an IP security camera where I ...
0
votes
0answers
33 views

gpiozero ImportError in virtual environment

I've been trying to use the gpiozero library lately with one of my opencv projects. Installed gpiozero using pip. Sample code works fine, no issues. The problem is, my opencv installation is in a ...
2
votes
3answers
3k views

can't install opencv on my pi

I'm an absolute Raspberry Pi newbie. My intention is to get some camera vision project working for which I need OpenCV3.3's dnn Python module. I've found here a description of how OpenCV can be ...
0
votes
1answer
197 views

trying to run 6 USB cameras simultaneously on a single Raspberry Pi 3B+ with add-on 4 port USB hub with external power

We are trying to simultaneously run 6 cameras on a Raspberry Pi 3B+ with an add-on 4 port USB hub that has an external power supply. The cameras are set at 15 FPS with a colour image size of 640 X 480....
0
votes
1answer
250 views

cv2.line is not working in Rpi 3

model no: RPi 3 B Software: Python 3.5.3 Problem: I am using opencv 3.4 .I was trying to draw a line using function cv2.line().But it returns nothing.But the same code was working fine in my laptop ...
0
votes
1answer
463 views

RPI object tracking with multiple objects

I have been reading a tutorial on creating a Rpi colour based object tracking system but have been unable to test it due to me being a away from my Rpi. However I have read through the code and it ...
1
vote
0answers
163 views

OpenCv compilation on raspberry pi stops at 16%

I was installing OPENCV on raspberry pi and all are done but when the compilation of opencv it stops at 16%.I used make -j4 as well as make -j1.It gives no error and it comes to build folder. This is ...
0
votes
1answer
35 views

How to dynamically determine objects based on some uniqueness?

As the title states I looking for a way to (detect and then) determine a object within some range. The object will be forklift or "train" in the factory. Main goal is to provide some GUI from which it'...
0
votes
3answers
2k views

OpenCV 4 error?

When I run the command python faceDetection.py I get the error- VIDEOIO ERROR: V4L: can't open camera by index 0 Traceback (most recent call last): File "faceDetection.py", line 21, in <module&...
0
votes
2answers
3k views

Workon Command not found when using pi, but works from ssh

when I run the work command to get into my cv virtual environment on my pi it displays pi@raspberrypi:~ $ workon cv bash: workon: command not found however when I ssh into my pi from my MacBook and ...
1
vote
0answers
72 views

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 ...
1
vote
1answer
507 views

How to read RAW Picamera jpeg images in python

I acquired a set of images with the command raspistill -r -ss 100000 -o image.jpg, and I'd like to process the 'JPEG+RAW' images, which I already obtained, with OpenCV on python. I am aware of ...
3
votes
1answer
2k views

Install opencv on Raspberry Pi 3 in a different way than compiling from source

I am using Raspbian Stretch on my RPi 3, I wanted to install OpenCV on it. I did this before by following the instructions detailed here . The problem is that this takes a very long time. Lately, I've ...
0
votes
1answer
92 views

Open CV Cmake g++ does not work on Rasbian jessie

I am compiling Open CV library on Raspbian jessie. I get below error . > -- Check for working CXX compiler: /usr/bin/g++ -- broken > CMake Error at /usr/share/cmake-3.6/Modules/...
0
votes
1answer
1k views

Access RPi's camera stream in OpenCV C++ (Qt)

I've setup my Raspberry pi 3 B with uv4l and have access to the video stream on http://(raspberry-IP):8080/stream address. Now, I have Qt5(C++) and OpenCV installed on my main computer. How can I ...
0
votes
2answers
3k views

import cv2 not working Raspberry Pi

I used pip to install opencv3 with the following command on an Anaconda virtual environment. install opencv-python I successfully installed it because I can see the package in pip list. (olfatf)...
1
vote
0answers
767 views

HTTP IP camera not working on Pi but working on Ubuntu

I have a situation, I have two IP cameras one on RTSP and other on HTTP, I am using Python 3.4.2 and OpenCV 3.4.1 on my Raspberry Pi, I am able to read from My webcam and RTSP IP camera, but when I ...
0
votes
1answer
140 views

Installing opencv-3.3.0-r5 on Gentoo 64 bit OS at Raspbery Pi 3B+

My linux environment is pi64 /home/demouser # uname -a Linux pi64 4.14.31-v8-b36f4e9e1984+ #1 SMP PREEMPT Sun Apr 1 14:15:34 BST 2018 aarch64 GNU/Linux First time, I use Porthole to emerge opencv-3....
4
votes
1answer
211 views

Does gpu memory affect video processing speeds using openCV or image array manipulations?

I am using my pi for video processing. The data transformations include image array manipulations and object detection. It does not include any video display. Essentially, the pi takes in a video ...
2
votes
2answers
353 views

Slow Video Processing

I installed OpenCV libraries in raspberry pi for my project "Air Hockey Robot" and I'm using python for video processing. I am using PS3 eye camera for video capture at 60 fps. But it seems that video ...
0
votes
1answer
97 views

How to add openCV on PyCharm under rpi 3 B?

I am trying to add OpenCV lib on PyCharm running under Raspbian on a Rpi 3 model B. I tried the jessie version of commands but got stuck on the cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D ...
0
votes
2answers
2k views

Installing OpenCV 3

I have been trying to install opencv 3 but this github url(https://github.com/Itseez/opencv_contrib/archive/3.3.0.zip) seems not working. But the zip file is downloading when I'm entering above url in ...
2
votes
1answer
6k views

How can I use OpenCV with Python 3 on a Raspberry Pi?

I have installed OpenCV and and access it with Python 2. However, I'm unable to use OpenCV with Python 3. It says "Cannot open shared object". ImportError: libQTtest.so.4: cannot open shared object ...
3
votes
2answers
7k views

Failed to create MMAL component b'vc.ril.camera': Out of memory

I am trying to run a simple script that listens for a button click and then takes a picture. Once two pictures have been taken it compares the two using OpenCV to calculate the difference. I am ...
0
votes
2answers
141 views

HEAD is now at 92387b1ef… Fix java version++

I have raspberry pi 3, I want to install OpenCV for python. while I was doing that according to the following steps... sudo apt-get update sudo apt-get upgrade sudo rpi-update sudo reboot sudo apt-...
5
votes
3answers
691 views

Is it necessary to release Raspberry Pi Camera before rebooting? If so how do I do it?

I have a python3 script that uses OpenCV and a Raspberry Pi cam. It runs almost 24/7. Using crontab the pi will reboot every night at midnight and the script will begin running again. This is mostly ...
1
vote
0answers
1k views

Cant import cv2 (Model B) Python 3.5

Basically Im very new to linux systems and an, above average in python, I intended to make a program that detect hand gesture (high five , victory one,three etc) , I created my own test code that ...
0
votes
0answers
956 views

Stream Pi Camera to Server - webRTC

I have setup a raspberry pi to stream an h264 video feed from a pi cam to a remote host using Red5 Pro. I then use openCV cv::VideoCapture to read the stream and process it. Im currently using RTMP ...
0
votes
2answers
323 views

Segmentation fault error while installing opencv on raspberry pi 3. Any reason for that?

Hi everyone I hope someone could help solve this issue,I'm trying to install openCV 3.3.0 with python 3.5 on the raspberry pi 3 for the second time ( first time I got no module named cv2 ) but this ...
0
votes
2answers
145 views

How can I add a delay before raspberry pi cam starts recording?

I am using the following command to take video: os.popen('raspivid -1 640 -h480 -fps 25 -o motionCapture/' + timeStamp + '_motion,h264 -t ' + str(timeInSeconds * 1000)) The problem is when I try to ...
0
votes
1answer
1k views

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 ...
1
vote
0answers
397 views

How to wrap a H264 stream to a MP4 container

I have successfully streamed an h264 video over the local network with this command. raspivid -o - -t 0 -n -w 1280 -h 720 -vf -vs -fps 30 -b 3500000 | cvlc -vvv stream:///dev/stdin --sout '#rtp{...
0
votes
1answer
164 views

Unable to connect access IP webcam

I'm trying to access my phone camera using IP Webcam android app. I'm programming Pi using my laptop via Remote Desktop Connection with a static IP set for Pi. Also I tried to stream webcam from Pi's ...
1
vote
2answers
914 views

Image artifacts in raw TIFF from Pi Camera disappear when I first save as DNG and then convert. What gives?

I'm trying to use the Raspberry Pi plus the NoIR Picamera module V2.1 to collect raw (bayer-filtered) IR images for NDVI analysis of plants (programs written in Python). So far, I haven't found anyone ...
0
votes
1answer
2k views

OpenCV VideoCapture.isOpened() always returns False?

I followed the installation tutorial at https://www.pyimagesearch.com/2017/09/04/raspbian-stretch-install-opencv-3-python-on-your-raspberry-pi/#comment-451314 , and everything installed fine. But I ...
-1
votes
1answer
4k views

Can't install OpenCV-3.4.0 on Raspbian Stretch (CMake error)

[Edit: It's Stretch, not Wheezy, sorry.] I'm trying to build openCV on Raspberry Pi, following the instructions at https://www.pyimagesearch.com/2017/09/04/raspbian-stretch-install-opencv-3-python-on-...
2
votes
0answers
1k views

RPi camera stream to OpenCV in Python

I have been searching everywhere and tested what seems to be everything in order to get OpenCV in python to accept a video stream through gst-launch-1.0 from a RPi camera connected to a RPi. So far, I ...
0
votes
1answer
199 views

Activate Python Script through POST request

I installed and have running the google home + raspberry pi from: http://www.instructables.com/id/Google-Home-Raspberry-Pi-Power-Strip/ I modified the sw1_on.py and sw1_off.py codes to turn on an led ...
1
vote
1answer
74 views

Swap installations between Pis

I have RPi3 with OpenCV 3 installed on it. I have recently bought the Pi Zero and I noticed installing OpenCV 3 on the Zero would take 10 Hours!. Therefore, my question is whether I can replace the SD ...
5
votes
3answers
8k views

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 ...
0
votes
1answer
231 views

Video Output through ssh on Raspbian Minimal + OpenCV example? [closed]

I installed the minimal version of Raspbian Strech on the RPi3. Tried to run the python samples of OpenCV and failed cuz it needed a video output. Is there a work-around?
1
vote
2answers
659 views

Opencv installation in raspberry pi

While trying to install opencv in Raspberry pi, I got this message ======================================================================== Couln't connect to server from the Internet. ...
2
votes
1answer
2k views

Found a PyPi Package for Opencv-contrib, but can't install using pip

I'm trying to install OpenCV for python with extra modules on my raspberry pi. The OpenCV website has a set of instructions that I have tried with different variations for the past several months. I ...