Skip to content

Instantly share code, notes, and snippets.

View telugu-boy's full-sized avatar
🦅
Job hunting

Sriman telugu-boy

🦅
Job hunting
  • Your company...?
View GitHub Profile
@telugu-boy
telugu-boy / noisy_ocr.py
Created January 14, 2026 01:05
Quick OCR pipeline for noisy images
# April 12, 2024
from typing import Dict, Optional, Tuple
from pytesseract import Output, pytesseract
import io
import cv2
import numpy as np
import imutils
from imutils.perspective import four_point_transform
import urllib.request
@telugu-boy
telugu-boy / chapters_to_playlist.py
Last active February 22, 2025 03:45
takes youtube video with chapters and downloads and splits into playlist based on the chapter timestamps
# https://www.github.com/telugu-boy/
import youtube_dl
import getopt
import sys
import os
# https://www.youtube.com/watch?v=obLq6k3clHo
ydl_opts = {