Category : opencv

I’m trying to get GStreamer + OpenCV working in a Docker container based on a NVIDIA PyTorch image. I had to end up building OpenCV from source to enable GStreamer integration, which I do in my Dockerfile like so: FROM nvcr.io/nvidia/pytorch:19.12-py3 # OpenCV custom build instructions from: # https://medium.com/@galaktyk01/how-to-build-opencv-with-gstreamer-b11668fa09c # https://github.com/junjuew/Docker-OpenCV-GStreamer/blob/master/opencv3-gstreamer1.0-Dockerfile # Install base dependencies ..

Read more

I’m trying to get GStreamer + OpenCV RTSP video capture working in a Docker container based on a NVIDIA PyTorch image. I had to end up building OpenCV from source to enable GStreamer integration, which I do in my Dockerfile like so: FROM nvcr.io/nvidia/pytorch:19.12-py3 # OpenCV custom build instructions from: # https://medium.com/@galaktyk01/how-to-build-opencv-with-gstreamer-b11668fa09c # https://github.com/junjuew/Docker-OpenCV-GStreamer/blob/master/opencv3-gstreamer1.0-Dockerfile # ..

Read more

I have build and image where install visual studio code, in the local machine (system: ubuntu 20.04) where I run the container with the following command: docker run –rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v $(pwd):/home/walid/notebooks opencv bash after login in to the container I run code . inside notebooks folder it workes fine. in ..

Read more

I’m trying to deploy my old docker into a new AWS server and found TensorFlow and other libraries are not installing. My docker file is FROM jjanzic/docker-python3-opencv After checking this command docker run -it jjanzic/docker-python3-opencv python found the python version is 3.9 instead of 3.7 The docker is working fine on my other server. Source: ..

Read more

I’m trying to install opencv on docker image, but docker not reads stdin Dockerfile FROM ubuntu:18.04 RUN apt-get update && apt-get install tesseract-ocr -y tesseract-ocr-rus ffmpeg python3 #python-setuptools python3-pip python3-opencv && apt-get clean && apt-get autoremove RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY ./server /usr/src/app COPY ./requirements.txt /usr/src/app RUN python3 -m pip install –upgrade pip ..

Read more