Skip to content

Instantly share code, notes, and snippets.

View dimejimudele's full-sized avatar
🎯
Focusing

Oladimeji Mudele dimejimudele

🎯
Focusing
View GitHub Profile
@leandrobmarinho
leandrobmarinho / yolo.py
Last active December 11, 2021 09:37
An example in Python using Yolo from Opencv.
import cv2
import numpy as np
scale = 0.00392
classes_file = "coco.names"
weights = "yolov2.weights"
config_file = "yolov2.cfg"
# read class names from text file
classes = None
@jkatagi
jkatagi / tif_tools.py
Last active April 25, 2023 03:28
Read GeoTiff and convert numpy.array to GeoTiff.
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import os.path
import re
from osgeo import gdal
from osgeo import gdal_array
from osgeo import osr