Skip to content

Instantly share code, notes, and snippets.

View Nannigalaxy's full-sized avatar
🚀

Nandan Manjunatha Nannigalaxy

🚀
View GitHub Profile
@kylehounslow
kylehounslow / client.py
Last active April 23, 2024 10:58
Send and receive images using Flask, Numpy and OpenCV
from __future__ import print_function
import requests
import json
import cv2
addr = 'http://localhost:5000'
test_url = addr + '/api/test'
# prepare headers for http request
content_type = 'image/jpeg'
@jkjung-avt
jkjung-avt / tegra-cam.py
Last active July 26, 2024 13:10
Capture and display video from either IP CAM, USB webcam, or the Tegra X2/X1 onboard camera.
# --------------------------------------------------------
# Camera sample code for Tegra X2/X1
#
# This program could capture and display video from
# IP CAM, USB webcam, or the Tegra onboard camera.
# Refer to the following blog post for how to set up
# and run the code:
# https://jkjung-avt.github.io/tx2-camera-with-python/
#
# Written by JK Jung <jkjung13@gmail.com>
@AsharFatmi
AsharFatmi / trt_run_inference.py
Last active December 4, 2020 08:10
trt wpodnet lp detection inference file
import numpy as np
from PIL import Image
import cv2
from src.keras_utils import reconstruct
import pycuda.driver as cuda
import pycuda.autoinit # For automatic creation and cleanup of CUDA context
import tensorrt as trt
import utils
@e96031413
e96031413 / picamera_classification.py
Last active October 10, 2020 17:16
A Demo on Bird Classification with Pi Camera for Jetson Nano
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import argparse
import io
import os
import time
import random
import numpy as np

Ubuntu 22.04 for Deep Learning

In the name of God

This gist contains steps to setup Ubuntu 22.04 for deep learning.


Install Ubuntu 22.04