Skip to content

Instantly share code, notes, and snippets.

Avatar

Ron Dagdag rondagdag

View GitHub Profile
@raulqf
raulqf / Install_OpenCV4_CUDA11_CUDNN8.md
Last active March 19, 2023 10:53
How to install OpenCV 4.5 with CUDA 11.2 in Ubuntu 20.04
View Install_OpenCV4_CUDA11_CUDNN8.md

How to install OpenCV 4.5.2 with CUDA 11.2 and CUDNN 8.2 in Ubuntu 20.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries:

@ali1234
ali1234 / bb8.py
Created October 17, 2015 15:47
Control Sphero BB-8 from Linux.
View bb8.py
#!/usr/bin/env python
# BB-8 Python driver by Alistair Buxton <a.j.buxton@gmail.com>
from bluepy import btle
import time
class BB8(btle.DefaultDelegate):
def __init__(self, deviceAddress):
@dynamicguy
dynamicguy / install-opencv-2.4.11-in-ubuntu.sh
Last active March 17, 2023 11:56
install opencv-2.4.11 in ubuntu
View install-opencv-2.4.11-in-ubuntu.sh
# install dependencies
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y libgtk2.0-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y python-numpy python-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev