Sign inSign up

sanjose/opencv-centos7

By sanjose

•Updated almost 9 years ago

OpenCV built for python 2.7 on Centos 7

Image
0

10K+

sanjose/opencv-centos7 repository overview

⁠Supports non-MP4 video format

⁠Run the container

Mount the local image folder to the container Expose port 80 from the container

docker run -it -p 80:80 -v $HOME/Documents/images:/root/images sanjose/opencv-centos7 bash
⁠Convert MP4 to OGG

Sample video: Best_field_hockey_penalty_corners_males-QVWkWVCrADA.mp4

ffmpeg -i Best_field_hockey_penalty_corners_males-QVWkWVCrADA.mp4 -c:a libvorbis -q:a 4 MLKDream_64kb.ogg
⁠Run the flask app

Given the below app is available on the mounted folder You may refer to reference # 1

python main.py
⁠Reference
  1. Video Streaming with Flask⁠
  2. Flask Video Streaming Revisited⁠
  3. Install FFMPEG on CentOS⁠

Tag summary

Content type

Image

Digest

Size

2 GB

Last updated

almost 9 years ago

docker pull sanjose/opencv-centos7