All Questions
1,206
questions
0
votes
1
answer
89
views
How to get a movie without acceleration with OpenCV?
I try to program a detection camera with firmata in Python. When the PIR sensor detects motion, my logitech C920 usb webcam starts recording a sequence of 10 seconds. All is good, but I realized that ...
0
votes
0
answers
36
views
Question About Solving RTSP Stream Delay Issue in OpenCV 4.7.0
I am using OpenCV 4.7.0 on Windows 11. Currently, I am receiving an RTSP stream from an IP camera and processing it with OpenCV, but I am experiencing a delay of 1500ms. Despite trying several methods ...
0
votes
1
answer
50
views
OpenCV GStreamer VideoWriter write hangs in a Python multiprocessing Process
I'm working on real-time image processing using a Raspberry Pi camera. To optimize processing times, I'm trying to separate some image transformations and video encoding in a separate Process:
import ...
1
vote
0
answers
48
views
Python opencv/cv2 video generation - FPS/Frames desync
I have a weird problem related to fps/sync of frames.
Firstly, I have an input .mkv video in 30fps.
cap: cv2.VideoCapture = cv2.VideoCapture(example_video.mkv)
Then I break it into frames and work ...
0
votes
0
answers
60
views
Doesn't generate any file when use VideoWriter in JupyterLab (there is no any error on console)
I use Jetson Nano to connect my camera, I'm sure the camera can show on my windows.
cap = cv2.VideoCapture(2)
frame_width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
frame_height = int(cap.get(cv2....
0
votes
0
answers
51
views
How much latency does the operating system add transferring video over USB to the host application?
I am transferring raw uncompressed video from an image sensor to a C++ OpenCV application running on Linux. The signal chain is this:
MIPI output Image sensor -> MIPI to USB 3.0 chip -> USB 3.0 ...
1
vote
1
answer
120
views
OpenCV-Python overlapping boundingRect()
I'm trying to fix a bug where when two rects collide in a video, they merge into one big rectangle for the remaining frames that they collide, instead of keeping the rectangles as before:
Before ...
0
votes
2
answers
96
views
I am not able to display and save a video from my Flir hadron camera using Gstreamer command in python3 Opencv
I'm trying to display and save my Flir Hadron camera videos using gstreamer pipelines in Python 3 OpenCV. I have a perfectly working Gstreamer pipelines that are able to display and save videos with ...
0
votes
1
answer
54
views
cv2 VideoWriter writes small file with no video. Frames come from mss screen capture
I am writing a python script to capture the screen to a video but the resulting video file is only 8k long and there is no video in it. My code looks fine to me and I can see the captured frames which ...
0
votes
0
answers
180
views
Python OpenCV VideoCapture Color Differs from ffmpeg and Other Media Players
I’m working on video processing in Python and have noticed a slight color difference when using cv2.VideoCapture to read videos compared to other media players.
I then attempted to read the video ...
0
votes
0
answers
56
views
Emulate YUV420 stream for OpenCV
I'm working on a project that will treat the images coming from a camera in YUV420 format connected by ethernet.
During the development, we can't have constant access to the camera so I wanted to ...
0
votes
0
answers
43
views
What is the correct approach to always use the latest camera frame in OpenCV [duplicate]
I am trying to take stills from a webcam and do some processing on the images
I am using Python 3.10.9 and opencv-python==4.9.0.80
This is pretty much how I set up a USB webcam
camera = cv2....
1
vote
0
answers
68
views
Splitting a video into pieces
I am trying to split a video in to different sections and have them saved in a array. I found this code, but when I run it I get: type error: 'none type' object is not subscriptable. I can't see ...
0
votes
1
answer
131
views
OpenCV Python tracking rectangle not moving with chosen person in video
I am trying to track a person who appears for part of a 53-second video I found on YouTube as shown in frame #1 from the video:
Frame #1 from Video by Price (2020)
The tracking rectangle is (supposed ...
0
votes
0
answers
48
views
Can I pass a parameter to a trackbar to set the context of the trackbar update?
I have a Python application which displays a video using OpenCV. It is practical to have a trackbar present so the user can select a point in the video and see how much of the video has elapsed. The ...