Power Up Your CV Projects: Real-Time Camera and Video Streaming with OpenCV and Sockets

  Рет қаралды 10,175

Nicolai Nielsen

Nicolai Nielsen

Күн бұрын

Пікірлер: 25
@adino117
@adino117 Жыл бұрын
For those of you using a raspberry pi + raspberry pi camera as your client: In the server code, instead of s.bind((ip, port)) instead use s.bind(('', port)) ^ (that is two single apostrophes not one double apostrophe) Great video Nicolai thanks
@NicolaiAI
@NicolaiAI Жыл бұрын
Awesome, Thanks for posting!
@borisikula4639
@borisikula4639 11 ай бұрын
I wanna know if it is possible to use this technology for a c++ client and a opencv server? Can someone help me to have quickly an answer. Thank you Nicolai
@yaelruiz7674
@yaelruiz7674 3 ай бұрын
I'm trying to use this approach but I can't send images larger than 65kB even if I set the RCV and SND buffer like the video. Any idea?
@Techiiot
@Techiiot 10 ай бұрын
Does this streaming work without active internet connection
@NicolaiAI
@NicolaiAI 10 ай бұрын
Yeah this is running on local host right now
@mohammadhaadiakhter2869
@mohammadhaadiakhter2869 Жыл бұрын
I have a Jetson Nano which I am using as client and I have provided it internet connectivity via ethernet cable from my Ubuntu Pc using ethernet cable and internet sharing. I want to use my Ubuntu PC as Server.Ubuntu is connected to internet via wifi. What are the ip-addresses I should put in client and in server?
@mohammadhaadiakhter2869
@mohammadhaadiakhter2869 Жыл бұрын
Got it
@hosamfakher
@hosamfakher Жыл бұрын
how can get the full resolution of camera my camera is 12 mg pixel ( 4000,3000) opencv resolution is 1920 1080 or 1600 1400
@NicolaiAI
@NicolaiAI Жыл бұрын
U Can set that in the capture settings as i do in this video
@hosamfakher
@hosamfakher Жыл бұрын
@@NicolaiAI i put it but camera is black
@NicolaiAI
@NicolaiAI Жыл бұрын
Does it work wothout the sockets when u just show it?
@hosamfakher
@hosamfakher Жыл бұрын
@@NicolaiAI iam using raspberry pi 4
@kajinguludan5886
@kajinguludan5886 Жыл бұрын
I am using a Hikvision camera and when i run a computer vision program on it, after a few minutes, the stream just stops, i dont want the stream to stop, how can i solve that?
@NicolaiAI
@NicolaiAI Жыл бұрын
Do u have memory leaks or something or lose connection?
@kajinguludan5886
@kajinguludan5886 Жыл бұрын
@NicolaiAI no memory leaks that I am aware of but no loses, it just closes and I have to click again to reopen the feed
@riis08
@riis08 Жыл бұрын
is there any video where we can send h264 images stream?
@NicolaiAI
@NicolaiAI Жыл бұрын
Im not sure that is supported by imencode. U could use the video writer for that. But if u want to have a stream running u might have to look into ffmpeg and then use the sockets as in this video
@SouravDas-bw9wc
@SouravDas-bw9wc 6 ай бұрын
This application can stream live audio with this video ?
@itgoons
@itgoons 6 ай бұрын
is there is any way i can do it for 1000's of viewers? and how it will be possible
@nguyencongtri2839
@nguyencongtri2839 Жыл бұрын
why waitkey(5) instead of waitkey(0)
@032525016
@032525016 Жыл бұрын
waitkey(0) will wait for the user to press key indefinitely while waitkey(5) will wait only 5 milliseconds for the user to respond. If user doesn't respond, the execution of program will continue but if you want to read the video frame by frame on key press then set waitkey(0)
@NicolaiAI
@NicolaiAI Жыл бұрын
Thanks for answering luka!
@032525016
@032525016 Жыл бұрын
​@@NicolaiAI you're welcome
@respawn_101slab2
@respawn_101slab2 2 ай бұрын
Server is client, client is server...
Create Computer Vision Web Applications with OpenCV & Streamlit
6:30
Nicolai Nielsen
Рет қаралды 12 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 479 М.
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 35 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 10 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 41 МЛН
兔子姐姐最终逃走了吗?#小丑#兔子警官#家庭
00:58
小蚂蚁和小宇宙
Рет қаралды 9 МЛН
How to Estimate Real Distance to Objects with a Single Camera and YOLO11
11:22
Stream Live Video from Mobile Phone Camera with Python and Open CV
6:47
Python Simplified
Рет қаралды 63 М.
8 AI Tools You Won't Believe Are Free
8:06
Agnes Bilik
Рет қаралды 2,3 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 721 М.
I reverse engineered Next to find what they are hiding
29:48
Theo - t3․gg
Рет қаралды 14 М.
Simple Stereo | Camera Calibration
16:34
First Principles of Computer Vision
Рет қаралды 133 М.
Learn Camera Calibration in OpenCV with Python Script
28:49
Nicolai Nielsen
Рет қаралды 93 М.
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 35 МЛН