Skip to content

Instantly share code, notes, and snippets.

View shion24hub's full-sized avatar

Shinom shion24hub

  • Tokyo
View GitHub Profile
import argparse
import asyncio
import gzip
import os
import shutil
import tempfile
import time
from datetime import datetime
from io import BytesIO
@shion24hub
shion24hub / main.py
Last active November 22, 2023 13:19
Elaborator for OCRed strings
from ocre import OCRElaborator
if __name__ == '__main__':
img_paths = ['test.png', 'test2.png']
elaborator = OCRElaborator(img_paths)
print(elaborator.run())
@shion24hub
shion24hub / fetcher.py
Last active December 7, 2023 10:42
fetcher
import os
from datetime import datetime
from logging import INFO, Formatter, StreamHandler, getLogger
from urllib.error import HTTPError
import polars as pl
class Fetcher:
"""