Page 1 of 1
output video from the camera in real time
Posted: 2024-01-30 12:54
by Yurii
Is it possible from this example
https://wiki.luckfox.com/Luckfox-Pico/L ... ncv-mobile opencv mobile run to pictures in a streaming video?
Then read from VLS player or something similar.
Can I get some sample code and a guide?
Re: output video from the camera in real time
Posted: 2024-01-31 1:26
by Eng38
Real-time Acquisition of Camera Feed with VLC Media Player:
https://wiki.luckfox.com/Luckfox-Pico/CSI-Camera
Re: output video from the camera in real time
Posted: 2024-02-03 19:26
by Yurii
Can someone provide the code for how to output video to the network from OpenCV Mobile.
As in this example of yours.
Re: output video from the camera in real time
Posted: 2024-02-04 6:45
by Eng33
After Chinese New Year, we may provide related example
Re: output video from the camera in real time
Posted: 2024-02-22 22:36
by Yurii
Can someone provide the code for how to output video to the network from OpenCV Mobile?
As in this example of yours.
Re: output video from the camera in real time
Posted: 2024-02-23 6:20
by Crocodile
Yurii wrote: ↑2024-02-22 22:36
Can someone provide the code for how to output video to the network from OpenCV Mobile?
As in this example of yours.
Hello, this is an example of streaming RTSP video using OpenCV Mobile. You can use VLC software to pull the stream and receive the image. The text on the image is added using opencv-mobile, rather than employing OSD.
https://github.com/luckfox-eng29/luckfo ... tsp_opencv
What differs from your expectation is that this method does not rely on opencv-mobile to capture the camera image; Instead, it utilizes the VI (Video Input) component from the RKMPI library. The reason for this approach is to ensure that the captured data meets the input requirements of VENC (Video Encode).
If you need to use opencv-mobile to capture, you might consider alternative methods for RTSP streaming, such as using Live555. Alternatively, you could wait for RKMPP to support RV1103/RV1106 chips, enabling the image to be encoded without VENC into a format supported by RKRTSP.
Re: output video from the camera in real time
Posted: 2024-02-23 19:21
by Yurii
Failed to compile. Can someone help?
Re: output video from the camera in real time
Posted: 2024-02-24 2:56
by Crocodile
Yurii wrote: ↑2024-02-23 19:21
Failed to compile. Can someone help?
Hello, I conducted tests on WSL1 Ubuntu 22.04 and did not encounter the issue you mentioned.
Please note to use git to obtain the source code. Using unzip operations may lead to some links being lost.
Code: Select all
git clone https://github.com/luckfox-eng29/luckfox_pico_rtsp_opencv.git
I have attempted to optimize the project and submitted a new commit. Hopefully, this resolves your issue.
Re: output video from the camera in real time
Posted: 2024-02-24 13:56
by Yurii
Thank you!
Works great but the quality is very poor.