Skip to content

Instantly share code, notes, and snippets.

View Nannigalaxy's full-sized avatar
🚀

Nandan Manjunatha Nannigalaxy

🚀
View GitHub Profile
@Nannigalaxy
Nannigalaxy / captcha_solver.py
Created August 15, 2020 05:58
Captcha Solver using Pytesseract in python
import cv2
import pytesseract
def get_captcha(path):
img = cv2.imread(path)
h,w=img.shape[:2]
# cropping borders
# img = img[5:h-4,5:w-5]
@Nannigalaxy
Nannigalaxy / simple_yolov5_inference.py
Last active September 30, 2021 09:16
YOLOv5 Inference in Pytorch
'''
Simple YOLOv5 Inference in Pytorch
Run following commands:
git clone https://github.com/ultralytics/yolov5.git
cd yolov5
pip install -r requirements.txt
run this script in /path/to/yolov5 directory
'''