Skip to content

Instantly share code, notes, and snippets.

View cuongtvee's full-sized avatar

Cuong Truong Van cuongtvee

  • University of Information Technology
  • Vietnam
View GitHub Profile
@cuongtvee
cuongtvee / README.md
Created May 11, 2022 04:27 — forked from corenel/README.md
Install NVDEC and NVENC as GStreamer plugins

Install NVDEC and NVENC as GStreamer plugins

Environment

  • Ubuntu 18.04
  • NVIDIA driver 460.32.03
  • NVIDIA Video Codec SDK 11.0.10
  • GStreamer 1.14.5

Steps

@cuongtvee
cuongtvee / cuda_11.2_installation_on_Ubuntu_20.04
Created January 22, 2022 17:40 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v11.2 and cuDNN 8.1 installation on Ubuntu 20.04 for Pytorch 1.8 & Tensorflow 2.7.0
#!/bin/bash
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
### to verify your gpu is cuda enable check
@cuongtvee
cuongtvee / dlib_plus_osm.md
Created November 22, 2017 08:09 — forked from iandees/dlib_plus_osm.md
Detecting Road Signs in Mapillary Images with dlib C++

image

I've been interested in computer vision for a long time, but I haven't had any free time to make any progress until this holiday season. Over Christmas and the New Years I experimented with various methodologies in OpenCV to detect road signs and other objects of interest to OpenStreetMap. After some failed experiments with thresholding and feature detection, the excellent /r/computervision suggested using the dlib C++ module because it has more consistently-good documentation and the pre-built tools are faster.

After a day or two figuring out how to compile the examples, I finally made some progress:

Compiling dlib C++ on a Mac with Homebrew

  1. Clone dlib from Github to your local machine:
@cuongtvee
cuongtvee / gstreamer-build.sh
Created August 28, 2017 08:19 — forked from Swap-File/gstreamer-build.sh
Install & build gstreamer from git
#!/bin/bash --debugger
export MAKEFLAGS="-j 1"
set -e
BRANCH="1.10"
if grep -q BCM270 /proc/cpuinfo; then
echo "RPI BUILD!"
RPI="1"
fi