Questions tagged [opencv]

Open Source Computer Vision Library, real time computer vision

Filter by
Sorted by
Tagged with
1
vote
3answers
47 views

Getting stuck at 100% using make -j4 command while installing open cv on Rasbian buster , Raspberry Pi 4 B+

I followed https://medium.com/@patrick_ryan/building-opencv-4-10-on-raspian-buster-and-raspberry-pi4-64669bd2eb74 to install open-cv on my raspberry pi. On using the make -j4 command it took approx ...
0
votes
0answers
22 views

raspbian cmake erorr when install open cv in rapsberry pi

I want install open cv and when step using cmake I get stucked. here the error CMake Error at CMakeLists.txt:9 (find_package): By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this ...
0
votes
3answers
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
310 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
350 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
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&...
-2
votes
3answers
44 views

Raspberry 4 B not booting from raspberry stretch OS

My new pi boots perfectly from Raspian buster but once the sd card is flashed with stretch os then only red light turns on. I need to install stretch os to work with opencv in C++ using geany editor. ...
1
vote
1answer
449 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
2answers
244 views

Pre-built OpenCV on Raspbian Buster

The hassle of installing OpenCV on Raspbian is something many want to avoid, and the easiest way to do this is to use a prebuilt image. I decided to take this route, only to find most pre-built images ...
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 ...
0
votes
1answer
39 views

how does raspistill/raspivid display video without GUI?

I'm trying to capture video from raspberry pi camera using OpenCV and display it without using gtk or x11. I noticed that raspivid displays camera output without using any window, I wonder if it's ...
2
votes
1answer
56 views

USB Camera vs Pi Camera

I'm using USB camera for object detection. I can't find code for them because the common blogs or articles are about object detection using pi camera only. Is object detection possible with a USB ...
2
votes
3answers
106 views

Makefile error at 36% trying to install OpenCV 4 on RaspBerry Pi 4

I've been trying to install OpenCV on my RaspBerry Pi 4 using: cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=$cwd/installation/OpenCV-"$cvVersion" \ -D ...
0
votes
1answer
653 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 (...
1
vote
1answer
30 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 ...
0
votes
0answers
22 views

Incorrect buffer length error

I'm trying to do an object detection script and save the results into a csv with tensorflow and opencv. camera = PiCamera() camera.resolution = (IM_WIDTH,IM_HEIGHT) camera.framerate = 10 ...
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)...
0
votes
1answer
58 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 ...
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
661 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
3k 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
1answer
63 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-...
1
vote
1answer
72 views

Opencv build fails rpi4

I am trying to build opencv as directed for python3.7, on pi4 (2Gb Ram) with Raspbian Buster Lite, everything goes fine until I try make -j -l 2 After 57% progress I get following error [ 57%] ...
0
votes
0answers
19 views

NoIR camera - Photo and and video frame size looks different

I'm trying to create a feature matching script using NoIR camera. What I'm doing is take a picture using and compare it with the real time video feed. Everything works fine but the the live video ...
1
vote
0answers
41 views

Issue with Raspberry Pi 4 OpenCV

I have been using OpenVINO + NCS2 on a raspberry Pi 3b+ with no issues for an IP camera security application (object detection). I then upgraded to Pi 4 looking for better performances. The object ...
1
vote
1answer
518 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
39 views

is the Adafruit read-only script suitable for my project?

I would like to know whether Adafruit's read-only raspi script (described here: https://www.raspberrypi.org/blog/adafruits-read-only/) is suitable for my project. My project is a camera trap that ...
0
votes
0answers
154 views

How to install OpenVINO and open CV 3.4.X on Raspberry Pi 4 Buster

I have been trying to install OpenVINO on a Raspberry Pi 4 with Buster as the OS. I have tried these: https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_raspbian.html ...
0
votes
0answers
8 views

Can I save and open multiple videos with OpenCV or any other module/package/method

So, I have been working on a project which requires me to open an animation/video if the user gives an input of a recognized string mentioned in my code. Basically if the word entered by the user is ...
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 ...
0
votes
0answers
55 views

cv2.namedWindow freezes in Raspberry Pi 4

I'm trying to open a namedWindow using openCV in raspberry pi but it freezes after cv2.namedWindow("image")line. However, the project works in Windows. Before it freezes it prints the following ...
0
votes
0answers
27 views

video flickering while streaming with uvc-gadget and g_webcam on raspberry pi 3b+

I am using raspberry pi zero w emulated as a webcam using uvc-gadget. It works plug and play on Nvidia-jetson-nano, or any other pc or laptop. But I see too many choppy frames when I use it with my ...
0
votes
0answers
32 views

Detect fire with pi cam module

I have a python script that uses a usb cam to detect fire with opencv, it worked well until changed to the picamera and now i get this error when i run the code: File "seeFire.py", line 23, in ...
1
vote
2answers
531 views

Read ip camera stream video on python using opencv3

I installed opencv3 installation link on my raspberrypi 3 and i've tested this, everything is ok, but when i try to read the ipcamera video stream encountered this error self.stream = cv2....
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 ...
2
votes
1answer
4k views

How can i install OpenCV on Raspberry Pi 4 (Raspbian Buster)?

I have tried many days to install OpenCV on my Raspberry Pi 4 with Raspbian Buster but i couldn't get it done. The installation always works but when importing or using cv2 methods like cv2.imshow(), ...
0
votes
1answer
52 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 ...
0
votes
0answers
199 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
1answer
89 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
133 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....
2
votes
1answer
229 views

Opencv VideoCapture much faster than PiCamera

I am trying to process frames from my V2 RPI Camera at high framerates and am stuck with the picamera module. The VideoCapture class from OpenCV seems to be much faster than using PiCamera....
2
votes
1answer
209 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,...
0
votes
0answers
44 views

Structure needs cleaning in raspbian while compiling opencv

Good morning I just want to ask a question about an error message I got all the time is that my system Raspbian said that the structure needs cleaning everytime I started to compile opencv and when ...
3
votes
2answers
125 views

Run the program in the laptop and use the raspberry gpios

I'm working with face tracking and I want to activate some servomotors depending the motion of my face. For facetracking I'm using, an usb cam, opencv and dlib. Now results the raspberry can't run my ...
0
votes
0answers
27 views

import dlib fails

I want to use with OpenCV the library dlib, I installed in my virtual environment. I'm sure because with pip list appears: (Thesis_env) pi@raspberrypi:~/Environments $ pip list Package ...
1
vote
0answers
39 views

PiCamera vs VideoCapture

So I have a project that requires Computer Vision (video stream). But when I want to try my Pi Camera (not USB), there's two method that I can use. They are PiCamera.capture_continuous and cv2....
0
votes
0answers
13 views

Install openCV in raspbian using another Linux distro [duplicate]

Good morning I was trying to compile openCV using raspberry 3 and It took me a long time also I had a lot of problems like "Structure need cleaning" (on an installed NOOBS) I just wonder if I can ...
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'...
1
vote
1answer
311 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 ...
1
vote
2answers
361 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 ...