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

1
vote
0answers
32 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
1answer
16 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
11 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 ...
1
vote
2answers
71 views

How to configure RPi security camera to be active when our cell phones aren't on the wifi network?

I've seen quite a few security camera examples and many have options for a duty schedule that activates the camera during certain specified days/hours to set up a routine. However I have fairly ...
0
votes
0answers
15 views

Video streaming from Raspberry PI - Python vs. raspivid + netcat

Some time ago I posted the following post on Stack Overflow, but I got no reply. I can't figure out where the additional lag with the Python method comes from. The netcat method is really smooth with ...
0
votes
0answers
12 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
1answer
238 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
0answers
6 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
106 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
1answer
788 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
1answer
47 views

one RPI's capability to multi-task with complex Image Processing

I, as part of a project, have decided to implement a small scale version of automated collision avoidance system. I chose to go with Image based object detection. After initial research, I figured out ...
2
votes
0answers
2k 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 ...
0
votes
1answer
87 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....
0
votes
1answer
65 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
1answer
726 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 ...
2
votes
2answers
16k views

Installing opencv (C++) on Raspberry pi and other misc packages

I've been doing a fair amount of research in regards to installing opencv on to a raspberrian distro, but the problem is that there is far too many different methods to installing it and truth be told,...
0
votes
1answer
126 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 ...
0
votes
0answers
43 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
62 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. ...
0
votes
0answers
25 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 ...
2
votes
1answer
176 views

Barcodes: Problem with OpenCV

I'm an absolute beginner with Python, but unfortunately I have to reach in a RPI project within 20 days. My task is to build a Barcode-Scanner. This is the code I want to use: github: loleg/iotcam.py,...
4
votes
3answers
5k 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 ...
1
vote
0answers
43 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 ...
1
vote
1answer
252 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
37 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
41 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
13 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 ...
0
votes
1answer
233 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
1answer
303 views

Running openCV C++ file from python in Raspberrypi

I'm creating a object and color detection robot. Here in this case, I'm using C++ to run the camera and process the image with openCV in C++, but before I run the Camera, I want the robot to move and ...
0
votes
3answers
945 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&...
1
vote
3answers
230 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 ...
1
vote
1answer
348 views

Fastest wired data transfer protocol between RPi and Android Device

I'm looking to download images that i'm capturing on RPi to my Android Device using USB, or some wired interface that I don't know about. I'm trying to avoid using wifi, ethernet, or bluetooth. I've ...
0
votes
0answers
528 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/...
0
votes
2answers
1k views

Linking WiringPi library in CMakeLists

So, I have a C++ program that I've compiled with CMake and uses the OpenCV library which I'd like to integrate with wiringPi so I can use functions like digitalWrite(), digitalRead() etc... Before I ...
0
votes
1answer
75 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....
1
vote
1answer
1k views

How to access pi camera with OpenCV to Laptop?

I do not have HDMI supported monitor for Raspberry pi 3. I want to use OpenCV with my pi camera for image processing and access those images and videos with OpenCV image output to my LAPTOP, which is ...
7
votes
2answers
39k views

How to install OpenCV on Raspberry Pi 3 in Raspbian Jessie?

I have searched google for the process of installing OpenCV on Raspbian Jessie on Raspberry Pi 3 but have not yet found any useful help for the query. Following are the links, http://www....
0
votes
1answer
570 views

Install OpenCV faster - could it be transferred via a SD card?

I installed OpenCV on my RPI 3, now I have the new RPI zero W, since I know installing OpenCV (let's say 3.0.0) takes a very long time, I wondered if I could somehow transfer my already downloaded (...
3
votes
1answer
1k views

How to cross-compile OpenCV and copy python bindings?

I want to install dlib and OpenCV on Raspberry Pi 2. As you know, if I try to compile those on the Pi directly, then a) It takes a lot of time (3-4 hours for dlib and then 2 for OpenCV) and b) It is ...
2
votes
0answers
914 views

OpenCV. Can't open video from usb camera on the screen

When I'm trying to start simple code, the frame opens and don't respond. import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): ret, frame = cap.read() cv2.imshow('AIR',frame) ...
6
votes
1answer
853 views

2 usb webcam on raspberry pi with OpenCV

I would like to connect 2 usb webcams to a RaspberryPI and be able to get at least 1920 x 1080 frames at 10 fps simultanously. This will be done using OpenCV. Has anyone done this and knows if this ...
0
votes
1answer
1k 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 ...
0
votes
2answers
464 views

Can't start picamera at Raspbian startup

I want to run an opencv-python program at Raspbian startup. The program is to capture images continuously from picamera and do some image processing using opencv and display it in full-screen mode. ...
0
votes
1answer
482 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. ...
0
votes
1answer
2k views

OpenCV 3,2 build hangs/freezes/get stuck during make build on RPi zero w

I have tried to compile OpenCV 3.2 onto my pi Zero W Board running Stretch and i'm using a 16GB SD Card (running SSH on Mac and Python 2.7). Running make to compile openCV takes over 9 hours to get ...
0
votes
2answers
2k 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)...
0
votes
2answers
8k views

What is the solution to this error of OpenCV with video.capture() and it not correctly reading with video.read? (Completly new to raspberry pi)

I'm completely new to the raspberry pi and am looking for help with this same error I've been trying to solve for the past few days. I completely reinstalled OpenCV twice now from two methods on a ...
1
vote
1answer
480 views

sudo pip install packagename not working

sudo pip install packagename not working... I am not able to install python package using pip.
1
vote
1answer
240 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 ...
6
votes
1answer
9k 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 "...