Comments (2)
Here is a complete docker file to get this guy up and running...
# Please note the source for this is open source and is located
# at the following location -- https://github.com/bwsw/rt-motion-detection-opencv-python
FROM ubuntu:21.04
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata
RUN apt-get install -y python3.9-dev python3-pip gcc make pkg-config
RUN apt-get install -y ffmpeg libsm6 libxext6
RUN pip3 install opencv-python==4.5.1.48
ADD ./rt-motion-detection-opencv-python-master /app/motion-detection/
RUN pip3 install -r /app/motion-detection/requirements.txt
RUN ln -s /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ /usr/include/numpy
ENV OPENCV_FFMPEG_CAPTURE_OPTIONS="rtsp_transport;0"
RUN cd /app/motion-detection/ && python3 setup.py build
ENTRYPOINT ["python3", "./motion-detection/sample.py"]
Please note some of the packages have been added to handle streams.
from rt-motion-detection-opencv-python.
Did you found a solution of the problem?
Please can you share it?
from rt-motion-detection-opencv-python.
Related Issues (13)
- Packer boxes mapping HOT 1
- Windows support ? HOT 2
- Pip Install HOT 3
- How to use HOT 2
- Exception has occurred: IndexError list index out of range HOT 2
- undefined symbol: PyInt_AsLong HOT 5
- WinError2 on build HOT 1
- Is it possible to use without numba? HOT 1
- Error when building the project HOT 2
- "libmotion_detector_optimization.so" File Build error. HOT 6
- Getting Segmentation Fault 11 HOT 8
- build in anaconda environment 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 rt-motion-detection-opencv-python.