Comments (3)
Hi @collabnix,
thanks for your question! I see it's not covered in the README (although there are other input examples here)
You need to set MASKCAM_INPUT=file:///absolute/path/to/file
. Note that it needs to be the full (not relative) path as seen from the container. You'll probably need to mount a docker volume binding the folder where the video is located. For example:
docker run ... -v /host/path/to/video/folder:/videos --env MASKCAM_INPUT=file:///videos/video.mp4 ...
Then copy the generated video file in the container, back to the /videos
folder to see it from the host machine.
Hope this is useful!
from maskcam.
It might be a silly question but the docker terminates as it completes the process. How to copy back the processed video back to host?
from maskcam.
Actually it's a good question! I can think of two options for that:
- Run in development mode so that you can run the script manually as explained there, and then you can copy the resulting
output_...mp4
video to the host volume. - Change the default output path to a shared volume. Unfortunately there's not yet a config param to set the output folder, but you can change this line in the code.
from maskcam.
Related Issues (20)
- Face Detection Max Face Size HOT 1
- running masckcam manually HOT 5
- I couldn't run the Web Server HOT 1
- RTSP Input HOT 5
- Time is wrong in the web server report HOT 1
- is there a jetson nx(compute capability 7.2) compatible maskcam trt model available? HOT 1
- Namespace GstRtspServer not available HOT 1
- Where to get the input video which was shown in the demo? HOT 1
- RTMP Input Video Source HOT 1
- rtsp error HOT 2
- Maskcam with Redis support HOT 1
- Error trying to : docker build . -t custom_maskcam HOT 4
- I am facing an issue where live stream get's started but it does not show the detection (white and green box) it only shows the live feed
- Container server_streamlit status problem
- ERROR: Failed to create network using custom network creation function ERROR: Failed to get cuda engine from custom library API HOT 1
- Jetson Nano connection with MQTT server
- what's the purpose of adding glib_cb_restart
- Camera get purple on rstp stream HOT 3
- Got an error when runing sudo docker-compose up -d HOT 8
- Problem with Manual-Dependencies-Installation.md HOT 1
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 maskcam.