Git Product home page Git Product logo

Comments (2)

CraigGoodspeed avatar CraigGoodspeed commented on August 14, 2024 1

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.

PikaPikaPickles avatar PikaPikaPickles commented on August 14, 2024

Did you found a solution of the problem?
Please can you share it?

from rt-motion-detection-opencv-python.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.