Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

1 vote
0 answers
142 views

Improving sphere detection in a bearing with opencv

Via a USB microscope on a RPI4, I'm trying to check how many balls are on the image. I'm trying with the HoughCircles solution and I have some results with tuning the parameters. But I'm wondering if ...
Bastien's user avatar
  • 11
-1 votes
1 answer
240 views

Capturing video using raspberry pi with 64 bit OS

I tried capturing video using Raspberry Pi 4 Model B 8GB RAM and OS of 64 bit. But unable to capture a video due to c2 error. Along with that I'm having no camera in interface option so I updated then ...
bs_Govind bs_Govind's user avatar
1 vote
0 answers
1k views

ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

I expected to download opencv-python on Raspberry PI 4, but found this issue. pi@raspberrypi:~ $ pip3 install opencv-python Defaulting to user installation because normal site-packages is not ...
QG_office's user avatar
0 votes
1 answer
558 views

Can't receive frame Opencv Python Raspberry Pi

I am working on Raspberry Pi 4 with the latest os VERSION="12 bookworm" and a Raspberry Pi camera Rev1.3. I want to use this pi camera to capture video useing opencv. Issue: I getting error ...
Sameer Khan's user avatar
0 votes
0 answers
85 views

How do I install opencv on my Raspberry Pi 4 properly?

I kept getting this error. ImportError: /usr/local/lib/python3.9/dist-packages/cv2/cv2.abi3.so: undefined symbol: __atomic_store_8 I've checked the python and opencv installed on my raspberry pi and ...
etnol's user avatar
  • 1
0 votes
1 answer
141 views

How can I decrease the latency while recording rtsp stream in raspberrypi 4b?

I have an ipcam which using rtsp protocol through ethernet, and the decode format is h.264.When I record the rtsp video, the latency was about 1~2sec. Spec:raspberrypi 4b/RAM 8gb/SDcard 32GB A1 python ...
Leon's user avatar
  • 1
0 votes
0 answers
130 views

Webstreaming ERROR from OpenCV when streaming with flask in Raspberry Pi

I want to stream on the website using Raspberry Pi, Pi Camera, flask and OpenCV. So I wrote the streaming code. from flask import Flask, render_template, Response import cv2 app = Flask(__name__) ...
Zerg Jung's user avatar
0 votes
0 answers
56 views

Raspberry image detection code error: error: (-215:Assertion failed) !ssize.empty() in function 'resize'

I'm doing a project on object and animal recognition with Raspberry Pi 4 Model B. All the libraries are set and the camera is ready but I get the following error: error: (-215:Assertion failed) !ssize....
Samuel LAZALDE HERNANDEZ's user avatar
0 votes
0 answers
150 views

openCV moveWindow, not moving

I've connected two USB cameras to a Raspberry Pi4. Using OpenCV I'm able to stream the videos from both cameras simultaneously, however I'd like to position the video windows in a specific location on ...
Brian McMillion's user avatar
-1 votes
1 answer
1k views

Yolov8 on Raspberry Pi model 4B 64 bit OS

I am trying to run a yolov8 model on my Raspberry Pi and have installed ultralytics using pip3 install ultralytics command. But whenever I try to import YOLO in Thonny using from ultralytics import ...
Christian's user avatar
0 votes
0 answers
594 views

Can't install Opencv on raspberry pi 4

I'm using the raspberry pi 4 on visual studio code and whenever I enter the command pip install opencv-python in the terminal, after 40 mins I get the error message FileNotFoundError: [Errno 2] No ...
Ramin Moradi's user avatar
1 vote
0 answers
433 views

Unable to change exposure settings for CSI Pi Camera on Raspberry Pi 64 bit Bullseye

Tried varying the expsoure settings for the Pi CSI based camera using libcamera library in python. Tried out multiple methods which did not lead to successful implementation. Unable to vary exposure ...
Power Surge's user avatar
0 votes
1 answer
475 views

Can't open camera by index on Raspberry-pi4

So, i installed the official Raspberry-pi OS "Raspberry pi OS Lite 64" and installed OpenCV. But when trying to call cv2.VideoCapture(1) an error appears (i have USB camera): [ WARN:[email protected] ]...
kostya's user avatar
  • 46
-1 votes
2 answers
1k views

(OpenCV , cv2) The cv2.error while capture the image through camera lens

Error (-215) size.width>0 && size.height>0 occurred when attempting to display an image using OpenCV I have the similar issue with this discussion, after I read it still don't have clue ...
j ton's user avatar
  • 249
1 vote
3 answers
11k views

How to solve opencv cv2.imshow() Unable to init server: Could not connect: Connection refused Can't initialize GTK backend in function 'cvInitSystem'

Hi I installed opencv to a raspberry pi 4 (2022-04-04 Buster OS). Here is the code I am using: import cv2 camera = cv2.VideoCapture(0) success, frame = camera.read() if not success: stop('...
Liampour 's user avatar

15 30 50 per page