tool_pyocr.py
: extract text from PNG (screenshot) files using OCR(Tesseract)- Commands:
run-ocr
: argument: month(1 to 12)- Example:
python3 tool_pyocr.py run-ocr 4
- Example:
- Commands:
tile.py
- App route: ~/screen/from contextlib import closing
- Year: screen/2025/
- Month: screen/2025/01/ : 01 is January.
7-seg.pkl
@add_number(size: tuple[int, int]=(100, 50), pos: AddPos=AddPos.C, bgcolor=ImageFill.WHITE)
-
Needs to set
number_str
:str param. when to call the decorated function .SegElem(Enum)class: from A to G is assigned as a SegPath, H is CSegPath(:SegPath descendant). SegPath has draw(drw: ImageDraw.ImageDraw) method, class Bit8(Flag): H member is for comma A F B G E C D
-
convert png files into a pdf file:
convert *.png dest.pdf
-
upload the pdf file onto Google Drive, then open and open-with-app:Document then download as markdown format.
-
extract data from downloaded markdown file.