Skip to content

Instantly share code, notes, and snippets.

@harunkurtdev
harunkurtdev / video_udp.py
Created March 16, 2024 20:28 — forked from patrickelectric/video_udp.py
Get video from gstreamer udp with python and visualize with OpenCV
#!/usr/bin/env python
import cv2
import gi
import numpy as np
gi.require_version('Gst', '1.0')
from gi.repository import Gst

PyTorch C++ API Ubuntu Installation Guide

The best way to get a clean installation of PyTorch, is to install the pre-compiled binaries from the Anaconda distribution. Therefore, we need to setup Anaconda first.

Step 1: Install Anaconda

  • Go to the download section and download your desired Anaconda version for Linux

  • Run the downloaded shell script and follow the install instruction, do
@harunkurtdev
harunkurtdev / ubuntu-cuda-gstreamer.Dockerfile
Created August 3, 2025 19:07 — forked from m1k1o/ubuntu-cuda-gstreamer.Dockerfile
Ubuntu Cuda Gstreamer Dockerfile (with nvcodec support)
ARG UBUNTU_RELEASE=20.04
ARG CUDA_VERSION=11.4.2
ARG GSTREAMER_VERSION=1.22
#
# Stage 1
#
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_RELEASE} AS gstreamer-builder
ARG GSTREAMER_VERSION