Category : opencv

I am building a video recognition system that receives a udp stream over the internet and analyses that in a docker container. I reveive the udp stream with the following gstreamer command on the server but outside of the docker containers: gst-launch-1.0 -v udpsrc port=9000 caps=’application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264′ ! rtph264depay ! h264parse ! avdec_h264 ..

Read more

I’m getting the following error when running my docker container: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library ‘libcudart.so.11.0’; dlerror: libcudart.so.11.0: cannot open shared object file: No such fi le or directory 2021-07-01 18:39:36.985933: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. Traceback (most recent call ..

Read more

I’m using torchserve to serve my pytorch model. I’m using this walkthrough. https://cloud.google.com/ai-platform/training/docs/getting-started-pytorch I add a –requirements-file=requirements.txt file to the RUN torch-model-archiver command. And my requirements file consists of – ”’ google-cloud-storage opencv-python ”’ I add RUN pip3 install opencv-python to the Dockerfile, aswell as RUN pip3 google-cloud-storage. At the top of the docker file ..

Read more

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