Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [opencv]

Open Source Computer Vision Library, real time computer vision

0
votes
0answers
35 views

Vehicle Number Plate Recognition using Raspberry pi model 3 b (python opencv/tensorflow)

I am working on my Final year Project. I need to create a licence plate recognition system on a raspberry pi (if note then PC Intel i7 processor) using python. So, I searching for OpenCV or ...
0
votes
0answers
25 views

capturing video stream using piCam

i'm trying to capture the video stream using piCam. but i get this warning and the execution stops this the code: this the code I used: import numpy as np import cv2 cap = cv2.VideoCapture(0) cap....
0
votes
0answers
26 views

How to run a servo motor if a particular condition is satisfied

I have a script of python which is about object detection once a particular class is identified the servo motor should work Iam using object detection using tensorflow and opencv , basically scripts ...
0
votes
0answers
13 views

How to stream video from a moblie phone camera to raspberry pi [closed]

Hi there for one of my projects I want to stream the video from the smartphone to a raspberry pi running opencv for face recognition. The need for a smartphone camera is because it would be wireless. ...
0
votes
0answers
13 views

How can get raspberry pi live camera feed for my laptop opencv program [closed]

I want to access raspberry pi camera using my laptop opencv program. So Is there any way to access it ?
1
vote
0answers
40 views

Getting Error: ImportError: No module named 'cv2' in Geany python editor

I'd finally installed OpenCV 4.1.0-dev in my raspberry pi with success, I checked that in Terminal by : pi@raspberrypi:~ $ python3 Python 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]...
0
votes
0answers
71 views

Install dlib library

I want to do some face recognition with my rasp and OpenCV. First of all I have created a virtual environment and I installed, numpy, opencv-python, opencv-contrib-python. This works fine. But now I ...
2
votes
2answers
81 views

How to activate the Python Virtual Environment

I'm trying to install OpenCV in my raspberry (I'm new with it) and I followed this post. I have done all the steps from 0 to 6. All this installation it's done in a virtual environment, but now I ...
0
votes
0answers
39 views

Raspicam Compilation - Cmake error - class_loader is not a catkin_package

My project require Raspi Camera unit and I install dependencies required following guide here Running the script below: sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=...
0
votes
0answers
29 views

How can I distribute my workload among multiple raspberry pi running an OpenCV Application

I have 4 raspberry pis and one picamera. I wish to distribute my OpenCV task among the 4 pis. I haven't been able to find any good resources for how I could this efficiently anywhere. An approach I ...
1
vote
0answers
53 views

illegal instruction when importing opencv in python 3.5

illegal instruction when importing opencv into python compiled opencv3 for python 3 by using these commands $ cd ~/opencv-3.3.0/ $ mkdir build $ cd build $ cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D ...
0
votes
0answers
197 views

Installing dlib on raspberry pi3

I've been trying to install dlib on my raspberry pi 3 since past 2 days, but every time end up with a frozen screen. The pi is running on the latest raspbian and and everything seems like up-to-date, ...
0
votes
0answers
27 views

Using raspvid to stream to PC, I can see data on PC received but how to work with in openCV?

I am using PiCamera on my PI. I am executing this command on the PI: raspivid -n -t 0 -w 640 -h 480 -fps 30 -o - | nc 192.168.0.12 5000 On my computer (windows), executing this command: nc -l -p ...
0
votes
0answers
28 views

5 images(jpeg) per second OpenCV from purethermal 2 [duplicate]

Is it possible to capture 5 jpeg images per second from a purethermal 2 stream with opencv or another way on a raspberry pi for a set amount of time? If so how? (I have a FLIR lepton 3.5 on the ...
1
vote
0answers
36 views

How to 'source ~/.profile' and activate virtual environment and run python script from a .sh file

I am working on my project and using a raspberry pi 3B+ with raspbian OS. I followed the following link to pip install open cv on my pi using a virtual environment I named 'cv' and it works fine: ...
1
vote
1answer
108 views

How to cross compile OpenCV for the Raspberry PI Zero?

Hi so I've got a camera module for my Pi Zero and wanted to play around with OpenCV and Python. Looking around google, if found a few guides to get OpenCV to a Raspberry but most included to either ...
1
vote
0answers
23 views

How to connect/link two raspberry pies for video precessing?

i am fairly new to raspberry pi platform so this question may be too basic. I am working on a project where i need at least 2 camera modules for simultaneous video recording and processing and taking ...
0
votes
0answers
35 views

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

OpenCV installation error

I've followed this installation guide but on the last part where it says: Revert back the swap size to its original value of 100MB by editing the /etc/dphys-swapfile. And, restart the service by ...
2
votes
1answer
515 views

How to install OpenCV on Raspbian Stretch?

The directions for Raspbian Jessie fail with Error 2: ... [ 43%] Building CXX object modules/gapi/CMakeFiles/opencv_test_gapi.dir/test/cpu/gapi_imgproc_tests_cpu.cpp.o c++: internal compiler error: ...
1
vote
1answer
51 views

Serial comms & USB camera in parallel/threaded?

My project is currently using OpenCV to controll a pair of motors via hardware PWM (am using the pigpio library for GPIO control). The video input is from a USB webcam. I would like to add some ...
0
votes
1answer
55 views

How to transmit hand gesture data from a laptop to Raspberry-pi

I am making a hand gesture bot. In this hand gestures are detected from a laptop using image processing (used OpenCV & Python). I don't know how to transmit real-time output wirelessly of image ...
2
votes
2answers
84 views

Would ZRAM be helpful for running OpenCV?

I'm doing some OpenCV development on a Raspberry Pi 3, and I have found some information about using ZRAM on the Pi to try and boost its processing effectiveness. I know this isn't actually adding ...
1
vote
0answers
128 views

Error unknown machine command despite compiling without errors

I recently made a project using opencv 4 on my raspberry pi 3 b+, but then decided to port the whole project to a new raspberry pi zero, as I want to make it a permanent setup and want to keep my py 3 ...
0
votes
0answers
79 views

RPi camera OCR,and save output in variable (pyhton with tesseract)

I want to make a python code for the raspberry pi, with the tesseract OCR engine, that it keeps reading text from the camera in realtime, saves in a variable, and sends output to Arduino. Is there a ...
0
votes
1answer
36 views

Dependencies problem installing mmrcn

Hello i am trying to use ML techniques to identify cars in an image using opencv. I have been following this tutorial : https://medium.com/@ageitgey/snagging-parking-spaces-with-mask-r-cnn-and-python-...
0
votes
0answers
17 views

OpenCV 3.3.0 issue

Hey when i am running code i got this annoying error #!/usr/bin/env python import numpy as np import cv2 as cv import os from pantilthat import * os.system('sudo modprobe bcm2835-v4l2') cascade = ...
0
votes
0answers
9 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
506 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
90 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
28 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
182 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
74 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
115 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
104 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
19 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 ...
1
vote
3answers
740 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
107 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
144 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
276 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
98 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
31 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
2k 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
54 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
342 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
1k 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
309 views

How to Install OpenCV in Visual C++ for Linux Development

I want to use this plug-in for Visual Studio Visual C++ for Linux Development to develop applications for the Raspberry Pi with code generated from another computer using Visual Studio. In my laptop ...
0
votes
1answer
83 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 ...