feat(dlp): add enterprise phase scaffolds (policy role, content analysis, siem, case, compliance, cli)

This commit is contained in:
igor04091968
2026-05-11 23:18:20 +03:00
parent 8be0de1c85
commit b213552d9d
19 changed files with 454 additions and 0 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/env python3
from __future__ import annotations
from pathlib import Path
from PIL import Image
import pytesseract
def extract_text(image_path: str) -> str:
path = Path(image_path)
if not path.exists():
return ""
img = Image.open(path)
return pytesseract.image_to_string(img, lang="rus+eng")