Skip to content

Instantly share code, notes, and snippets.

View me-suzy's full-sized avatar

Doar EU me-suzy

  • 13:24 (UTC +02:00)
View GitHub Profile
@me-suzy
me-suzy / download pdf general.py
Last active May 12, 2026 05:44
download pdf general.py
import argparse
import os
import re
import time
from collections import deque
from html.parser import HTMLParser
from pathlib import Path
from urllib.parse import unquote, urldefrag, urljoin, urlparse
from urllib.request import Request, urlopen
@me-suzy
me-suzy / batch - font albastru senin.py
Created May 11, 2026 06:22
batch - font albastru senin.py
"""Script standalone generat din setarile PhotoScape: batch - font albastru senin.
Citeste imaginile din INPUT_DIR si scrie JPG in OUTPUT_DIR.
Setarile originale sunt embeduite in SETTINGS.
Corectii importante fata de generarea anterioara:
- multe valori PhotoScape la 100 sunt valori de lucru/neutre pentru acel control,
nu comenzi de colorare agresiva;
- in Curves se aplica doar curba RGB/master, fiindca in PhotoScape canalele
Red/Green/Blue nu sunt bifate in presetul de referinta;
@me-suzy
me-suzy / batch - font albastru senin - V.1.py
Created May 11, 2026 06:18
batch - font albastru senin - V.1.py
"""Script standalone generat din setarile PhotoScape: batch - font albastru senin.
Citeste imaginile din INPUT_DIR si scrie JPG in OUTPUT_DIR.
Setarile originale sunt embeduite in SETTINGS.
Corectii importante fata de generarea anterioara:
- multe valori PhotoScape la 100 sunt valori de lucru/neutre pentru acel control,
nu comenzi de colorare agresiva;
- in Curves se aplica doar curba RGB/master, fiindca in PhotoScape canalele
Red/Green/Blue nu sunt bifate in presetul de referinta;
@me-suzy
me-suzy / inchis.py
Created May 11, 2026 05:00
inchis.py
"""Script standalone "Inchis" - face textul gri / slab contrast mai NEGRU.
Pipeline minimalist (fara CLAHE/unsharp -> fara umbre/halouri):
1. Median 3x3 - praf fin
2. LEVELS Photoshop: BP=80, WP=240, gamma=0.65
-> bg >240 devine alb pur, text gri (100) -> dark (~12)
PASTREAZA anti-aliasing (italice, serife) - NU binarizeaza.
"""
import cv2
@me-suzy
me-suzy / scris gros negru.py
Created May 10, 2026 14:57
scris gros negru.py
import cv2
import numpy as np
from pathlib import Path
INPUT_DIR = Path(r"g:\Colectia EMINESCIANA")
OUTPUT_DIR = Path(r"g:\Colectia EMINESCIANA\Output")
OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
def procesare_reconstructie_statistica(img_path):
# 1. Citire imagine
@me-suzy
me-suzy / st4465.py
Created May 10, 2026 14:38
st4465.py
import cv2
import numpy as np
from pathlib import Path
INPUT_DIR = Path(r"g:\Colectia EMINESCIANA")
OUTPUT_DIR = Path(r"g:\Colectia EMINESCIANA\Output")
OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
def procesare_rocada_continuitate(img_path):
# 1. Citire si trecere in NEGATIV
@me-suzy
me-suzy / ar34t5t.py
Created May 10, 2026 14:34
ar34t5t.py
import cv2
import numpy as np
from pathlib import Path
INPUT_DIR = Path(r"g:\Colectia EMINESCIANA")
OUTPUT_DIR = Path(r"g:\Colectia EMINESCIANA\Output")
OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
def procesare_ultra_rapida(img_path):
# 1. Citire imagine
@me-suzy
me-suzy / Negru pe alb.py
Created May 10, 2026 14:30
Negru pe alb.py
import cv2
import numpy as np
from pathlib import Path
INPUT_DIR = Path(r"g:\Colectia EMINESCIANA")
OUTPUT_DIR = Path(r"g:\Colectia EMINESCIANA\Output")
OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
def procesare_structura_continua(img_path):
# 1. Citire si Inversare (lucram cu text alb pe negru pentru procesare)
@me-suzy
me-suzy / abbyy_helper_watch.py
Created May 5, 2026 06:01
abbyy_helper_watch
from __future__ import annotations
import datetime as dt
import time
from pathlib import Path
import pyautogui
from pywinauto import Desktop
@me-suzy
me-suzy / abbyy_batch_engleza.py
Last active May 5, 2026 17:40
abbyy_batch_engleza
from __future__ import annotations
import argparse
import datetime as dt
import os
import subprocess
import sys
import time
from pathlib import Path