You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes it’s possible. In what way would you like to use it in node red?
I have a demo that uses node red, but it’s mainly for streaming video from a raspberry pi or drone and doing detections on that. It might not be too useful for you
It doesn’t actually do the actual object detection in a node red node though. It still does it in the browser so you can get real-time predictions. However it shouldn’t be too difficult to make a node red node that does detections.
You wouldn’t be able to use this sdk though because it only works in the browser. You need to do it using TensorFlowjs-node
hello @bourdakos1
i want to get video from ip camera with ffmpge and rtsp address .
after that object detecting on video.
i think in node-red i can do it easier .
Activity
bourdakos1 commentedon Jun 12, 2020
Yes it’s possible. In what way would you like to use it in node red?
I have a demo that uses node red, but it’s mainly for streaming video from a raspberry pi or drone and doing detections on that. It might not be too useful for you
bourdakos1 commentedon Jun 12, 2020
Here’s a video that goes over object detection with node red https://youtu.be/h_-wTXlX2Ms
It doesn’t actually do the actual object detection in a node red node though. It still does it in the browser so you can get real-time predictions. However it shouldn’t be too difficult to make a node red node that does detections.
You wouldn’t be able to use this sdk though because it only works in the browser. You need to do it using TensorFlowjs-node
mas1515 commentedon Jun 12, 2020
hello @bourdakos1
i want to get video from ip camera with ffmpge and rtsp address .
after that object detecting on video.
i think in node-red i can do it easier .
mas1515 commentedon Jun 12, 2020
where is source code for this video ????
https://youtu.be/h_-wTXlX2Ms
mas1515 commentedon Jun 12, 2020
my Big problem is
get rtsp video from ip camera in web browser for using
javascript sdk and object detection
do you have a solution for it ????
bourdakos1 commentedon Jun 12, 2020
I don't have too much experience with IP cameras, how do they work?
mas1515 commentedon Jun 12, 2020
@bourdakos1
ip camera has an address like this for get video
rtsp://admin:test@192.168.1.212:554/cam/realmonitor?channel=1&subtype=0
for test react object detection app with ip camera
we have to use rtsp address but
i cant find easy solution for this ,
i test this solution
i made a node js app that use socket.io
for send video to client and
But in client side (react app) i dont know how show video(get video) in react app with this code
import * as io from 'socket.io-client'
can you help for this ?
or better solution
bourdakos1 commentedon Jun 12, 2020
okay, so I think you'll need to use ffmpeg to restream rtsp as HLS and then this might be useful: https://github.com/cloud-annotations/object-detection-live-stream
bourdakos1 commentedon Jun 12, 2020
Actually this is probably more useful https://github.com/cloud-annotations/raspberrypi-streaming-object-detection
bourdakos1 commentedon Jun 12, 2020
if you can send me a live camera address I can try to get it working
mas1515 commentedon Jun 12, 2020
@bourdakos1
thanks for helping
this is many rtsp link that you can test
rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa
rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream
thank you man
my problem is to get video from rtsp address in
react app for object detection .
bourdakos1 commentedon Jun 12, 2020
Okay, I think I have something working! It works with all 3 of these addresses
bourdakos1 commentedon Jun 12, 2020
https://github.com/cloud-annotations/ip-camera-object-detection
change the
STREAM_URLto your urlmas1515 commentedon Jun 12, 2020
@bourdakos1
This code works for rtsp address i tested it ,
Thank you very much and thank you for your help ,
i have another question ,
<script src="https://cdn.jsdelivr.net/npm/@cloud-annotations/models@0.1.1"></script>how use this code without internet (offline)
can i load this link locally ??
bourdakos1 commentedon Jun 12, 2020
yea just download this file: https://cdn.jsdelivr.net/npm/@cloud-annotations/models@0.1.1
and save it locally as
models.jsin thejsthen update the script tag to be:
mas1515 commentedon Jun 14, 2020
@bourdakos1
i tested
it works thank you ,
another question
is it possible have two video on same page
for object detection ???
two rtsp address link for two camera i mean .
bourdakos1 commentedon Jun 14, 2020
yea, it's possible, but running more that one object detection detector simultaneously will probably be slow
mas1515 commentedon Jun 14, 2020
i have goood pc for test it .
can you send code for two object detection ???
bourdakos1 commentedon Jun 15, 2020
I don't have code for it and I don't really have much time this week to build it.
You could modify the ip-camera code to have dynamic stream routes instead of one
/streammas1515 commentedon Jun 18, 2020
@bourdakos1
it is not hurry for make code , you helped me very much
i dont know very ffmpeg in nodejs
can you send me link for learning it ????
i need two object detection(rtsp address) on same page ,