Comments (6)
Hi @wardhanster,
the easiest way to implement streaming is too use ffmpeg. What we tried is streaming results to a ffmpeg server like shown here https://github.com/moovel/node-yolo/blob/master/test/darknetImageFfmpegTest.js
ffmpeg server allows users to access and see the stream in the browser. Probably you can write an own frontend which connects to the ffmpeg server. See docs about the service https://www.ffmpeg.org/ffserver.html
I am not familiar with WebRTC to give any other hints.
from node-yolo.
Oh Okay , I will try that approach - I am not familiar with a lot of the things that you mentioned here.
also webrtc is extremely easy to implement on a local machine, something that might interest you in future.
I will try to implement this with webrtc and create a PR if things went well
from node-yolo.
How can use ffserver to process video from webcam and stream it at the same time?
I tried reading docs from fserver, but I just can't seem to decode the modified
chunks.
from node-yolo.
@tanmoy12 ffmpeg is capable of transforming raw chunks into the suitable format. See here https://github.com/moovel/node-yolo/blob/master/test/darknetTest.js#L17 the input is raw video in bgr24 and ffmpeg transforms it to the output format. Instead of the filename one can define a URL for a ffmpeg server which can then broadcast the stream.
from node-yolo.
I tried defining an URL like
'localhost:8080'
in place of
detected.mp4
Invalid error.
Do i have to define another child process for ffserver?
from node-yolo.
@tanmoy12 ffserver is a separate process/tool. Also, you need to configure it separately.
from node-yolo.
Related Issues (20)
- What do after install HOT 1
- npm giving error HOT 4
- Car detected as Parking Meter HOT 3
- How to change input format? HOT 3
- How to use this wrapper for byte array (of Image) ? HOT 3
- Making a node service using wrapper. HOT 4
- Opencv version 3.2.0 not suitable. HOT 1
- sync OrKoN/darknet with pjreddie/darknet master HOT 5
- Saving output as image HOT 7
- Segmentation Fault HOT 18
- Decode data client side HOT 4
- Yolo Version HOT 1
- Error when trying to install HOT 1
- Segmentation fault on Tests HOT 2
- How do I render the video to client side browser? HOT 3
- Installation error
- Yolov3 Support?
- Getting error undefined symbol: cvLoadImage HOT 1
- How to set classProbThreshold?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-yolo.