By George Curta · Last updated 2026-08-12
הסתרת PII בתמונות — מדריך שימוש
זהו וכסו מידע אישי בתוך סריקות, תצלומים וצילומי מסך. מדריך זה סוקר את זרימת העבודה של העלאה, ניתוח, הסתרה והורדה, מגבלות הגודל והפורמט, תמיכת שפות ה-OCR, וקריאת ה-API הבסיסית.
זרימת עבודה: העלאה, ניתוח, הסתרה, הורדה
כל תמונה עוברת את אותם ארבעה שלבים, בין אם אתה משתמש באפליקציית האינטרנט, קורא ל-API ישירות, או מפעיל את הכלי anonym_legal_redact_image דרך שרת ה-MCP.
1. העלאה
בחרו קובץ PNG או JPG. האפליקציה בודקת את סוג הקובץ וגודלו מול מגבלת ההעלאה של התוכנית שלכם לפני שליחת דבר לשרת.
2. ניתוח
OCR (Tesseract) קורא את הטקסט בתמונה ורושם היכן נמצא כל קטע טקסט. הטקסט שחולץ עובר לאחר מכן דרך אותו מזהה PII המשמש למסמכים, ומחזיר את הישויות שנמצאו ומיקומיהן — שום דבר עדיין לא הוסתר.
3. הסתרה
הריצו את הבקשה מחדש עם mode מוגדר ל-"redact" כדי לכסות כל אזור שזוהה בתיבה שחורה אטומה המצוירת ישירות על פיקסלי התמונה. זוהי הסתרה חזותית חד-כיוונית, לא הצפנה הפיכה.
4. הורדה
התמונה המוסתרת מוחזרת כקובץ (PNG או סוג התוכן המקורי) שאתם שומרים באופן מקומי — שום דבר לא נשמר בשרת לאחר שליחת התגובה.
מגבלות גודל ופיקסלים
- רק PNG ו-JPG (JPEG) נתמכים. פורמטים רסטריים נוספים כגון TIFF, BMP, WebP ו-GIF אינם נתמכים כרגע.
- תמונות מוגבלות ל-20 מגה-בייט בצד השרת. המגבלה של התוכנית שלכם עצמה עשויה להיות נמוכה יותר — תוכנית Basic מגבילה העלאות ל-5 מגה-בייט (Pro 10 מגה-בייט, Business 20 מגה-בייט); התוכנית החינמית אינה כוללת כלל הסתרת PII בתמונות.
- הרזולוציה הכוללת (רוחב × גובה) מוגבלת ל-150 מגה-פיקסל. העלאות מעל למגבלה זו נדחות לפני העיבוד.
תמיכה בשפות OCR
ה-OCR פועל על Tesseract. שדה השפה (language) של ה-API מקבל קוד ISO 639-1 (ברירת מחדל "en" עבור אנגלית) הממופה לחבילת שפה של Tesseract — כשלושים ושש שפות ממופות, כולל גרמנית, צרפתית, ספרדית, איטלקית, פורטוגזית, הולנדית, פולנית, רוסית, אוקראינית, ערבית, עברית, הינדי, יפנית, קוריאנית, סינית, תאית, וייטנאמית וטורקית. הזמינות בפועל תלויה בחבילות ה-Tesseract המותקנות בשרת ה-OCR; שפה שאינה זמינה חוזרת לאנגלית.
תיעוד API
הנמכת תמונות זמינה ישירות דרך ה-API עבור אינטגרציות שאינן עוברות דרך אפליקציית האינטרנט, וגם דרך שרת ה-MCP ככלי anonym_legal_redact_image (מצב "analyze" או "redact") עבור לקוחות MCP כמו Claude.
POST /api/presidio/imageAuthentication: התאמתו באמצעות אסימון Bearer בכותרת Authorization (אסימון API או סשן מאומת, כמו בנקודות הקצה של ניתוח טקסט). בקשות ללא אסימון תקף מחזירות 401.
Request body: שלחו גוף multipart/form-data. שדות חובה: file (תמונת PNG או JPG) ו-mode ("analyze" או "redact"). שדות אופציונליים: language (קוד שפת OCR בפורמט ISO 639-1, ברירת מחדל "en"), entities (מערך JSON של סוגי ישויות שאליהם יוגבל הזיהוי), score_threshold, ו-fill_color (רק במצב redact, ברירת מחדל "black"), operator (redact mode only: "redact" | "replace" | "mask", default "redact"), and mask_char (redact mode with operator="mask" only, default "*").
Response: במצב analyze התגובה היא JSON: הישויות שזוהו (סוג, מיקום טקסט וציון ביטחון) בתוספת שדה tokens_charged. במצב redact התגובה היא התמונה המוסתרת עצמה (בינארית, Content-Type image/png או הסוג המקורי) עם עלות האסימונים מוחזרת בכותרת X-Tokens-Charged.
שאלות נפוצות
באילו פורמטים של תמונה נתמכים?
רק PNG ו-JPG (JPEG). פורמטים רסטריים נוספים כגון TIFF, BMP, WebP ו-GIF אינם נתמכים כרגע.
מהן מגבלות הגודל והרזולוציה?
20 מגה-בייט ו-150 מגה-פיקסל רזולוציה כוללת, מוגבלים עוד יותר על ידי מגבלת ההעלאה של התוכנית שלכם עצמה (5 מגה-בייט ב-Basic, 10 מגה-בייט ב-Pro, 20 מגה-בייט ב-Business).
האם הסתרת PII בתמונות דורשת תוכנית בתשלום?
כן. הסתרת PII בתמונות דורשת תוכנית Basic ומעלה. התוכנית החינמית תומכת רק באנונימיזציה של טקסט.
האם ההסתרה הפיכה?
לא. ההסתרה מכסה את האזור שזוהה בתיבה שחורה אטומה ישירות על פיקסלי התמונה — הסתרה חזותית חד-כיוונית, לא הצפנה הפיכה כפי שמציע האנונימייזר של הטקסט.
כיצד לקרוא ל-API ישירות במקום להשתמש באפליקציית האינטרנט?
שלחו בקשת POST אל /api/presidio/image עם אסימון Bearer בכותרת Authorization וגוף multipart/form-data המכיל file ו-mode ("analyze" או "redact"). ראו את סעיף תיעוד ה-API לעיל לרשימת השדות המלאה ולצורת התגובה.
נסו הסתרת PII בתמונות
העלו סריקה, תצלום או צילום מסך וצפו כיצד PII שזוהה מכוסה תוך שניות ספורות.
פתחו את אפליקציית האינטרנטLimitations / Important note
- OCR-based text extraction is probabilistic; low-quality scans and handwriting lower detection recall.
- Redaction is a visual, one-way black box over the detected region — not reversible encryption.
- This page is informational and is not legal advice.
About this page
We update this page when our platform or the law changes.
Read our founder note for how we work.
Each change shows up in the timestamp at the top.
Related reading
We follow these rules
- GDPR (EU 2016/679).
- ISO/IEC 27001:2022, held by our hosting provider.
- NIS2 (EU 2022/2555).
- HIPAA safe harbor under 45 CFR § 164.514(b)(2).
Our promise
We do not sell your data.
We do not train models on your text.
We store your files in Germany.
You can delete your account at any time.
You own your work.
Where we run
Our company HQ is in Saarbrücken, Germany. Our servers run in Hetzner's Falkenstein datacenter.
Hetzner holds ISO 27001 certification.
All data stays in the EU.
Backups run every day.
Need help?
Email support@anonym.legal.
We reply within one business day.
How we test
Automated checks run on every release.
Each surface gets its own sweep script and report.
Human reviewers spot-check the output each week.
We test detection against sample documents before each release.
A failing unit or integration run stops the release.
What we never do
- We never sell your information to third parties.
- We never train models on what you upload.
- We never keep your work after you delete it.
- We never share keys with any outside firm.
- We never run ads inside the product.
Plans in plain words
We sell credits, not seats.
One credit covers one short job.
Long jobs use a few credits each.
Paid plans can buy top-up credits.
Credits reset at the end of each cycle.
Read the plans page for current rates.
Who built this
A small team of engineers and lawyers built this.
We ship from Europe and work in the open.
Our founder note spells out why we started.
Where to start
- Open the web app and try a sample file.
- Learn how credits get counted.
- See current plans and limits.
- Meet the team behind the product.
How the parts fit
A browser add-on cleans text inside Chrome.
A Word plug-in handles drafts in Office.
A small desktop tool works on whole folders.
An agent protocol link feeds large models safely.
All four share one core engine and one rule set.
Words from our team
We started this work after a lunch about cookies.
One friend kept getting odd ads on her phone.
We asked why a court file leaked through a draft.
We sketched the first build on a napkin that week.
By month three we had a tiny demo for a friend.
She used it on her first case the next day.
Common questions we hear
Can the tool read scanned PDFs? Yes, with OCR.
Does it work on long files? Yes, in small chunks.
Can I roll my own rule set? Yes, save it as a preset.
Does it run offline? The desktop build runs offline.
Do you keep my files? No, the cloud build wipes after each run.
Will it learn from my work? No, we never train on inputs.
A short tour of the workflow
Upload a file or paste a snippet of prose.
Pick the entities you want gone from the draft.
Choose a method: replace, mask, hash, encrypt, or redact.
Press run and watch the side panel show each hit.
Skim the result and tweak any rule that misfired.
Save the cleaned file or send it to a teammate.