By George Curta · Last updated 2026-08-12
Redaksi Imej — Panduan Penggunaan
Kesan dan tutup data peribadi di dalam imbasan, foto, dan tangkapan skrin. Panduan ini menerangkan aliran kerja muat naik, analisis, redak, dan muat turun, had saiz dan format, sokongan bahasa OCR, serta panggilan API yang mendasarinya.
Aliran kerja: muat naik, analisis, redak, muat turun
Setiap imej melalui empat langkah yang sama, sama ada anda menggunakan aplikasi web, memanggil API secara langsung, atau menggunakan alat anonym_legal_redact_image melalui pelayan MCP.
1. Muat Naik
Pilih fail PNG atau JPG. Aplikasi menyemak jenis dan saiz fail berbanding had muat naik pelan anda sebelum menghantar apa-apa ke pelayan.
2. Analisis
OCR (Tesseract) membaca teks dalam imej dan merekodkan kedudukan setiap teks. Teks yang diekstrak itu kemudian dijalankan melalui pengesan PII yang sama seperti digunakan untuk dokumen, mengembalikan entiti yang ditemui dan kedudukannya — tiada apa yang diredak lagi.
3. Redak
Jalankan semula permintaan dengan mod ditetapkan kepada "redact" untuk menutup setiap kawasan yang dikesan dengan kotak hitam pekat yang dilukis terus di atas piksel imej. Ini adalah redaksi visual sehala, bukan penyulitan boleh balik.
4. Muat Turun
Imej yang diredak dikembalikan sebagai fail (PNG atau jenis kandungan asal) yang anda simpan secara tempatan — tiada apa yang disimpan di pelayan selepas respons dihantar.
Had saiz dan piksel
- Hanya PNG dan JPG (JPEG) disokong. Format raster lain seperti TIFF, BMP, WebP, dan GIF tidak disokong pada masa ini.
- Imej dihadkan pada 20 MB di sisi pelayan. Had pelan anda sendiri mungkin lebih rendah — pelan Basic mengehadkan muat naik pada 5 MB (Pro 10 MB, Business 20 MB); pelan percuma langsung tidak termasuk redaksi imej.
- Jumlah resolusi (lebar × tinggi) dihadkan pada 150 megapiksel. Muat naik melebihi had itu ditolak sebelum pemprosesan.
Sokongan bahasa OCR
OCR berjalan pada Tesseract. Medan bahasa API menerima kod ISO 639-1 (lalai kepada "en" untuk Bahasa Inggeris) yang dipetakan kepada pek bahasa Tesseract — kira-kira tiga dozen bahasa dipetakan, termasuk Jerman, Perancis, Sepanyol, Itali, Portugis, Belanda, Poland, Rusia, Ukraine, Arab, Ibrani, Hindi, Jepun, Korea, Cina, Thai, Vietnam, dan Turki. Ketersediaan sebenar bergantung pada pek Tesseract yang dipasang pada hos OCR; bahasa yang tidak tersedia akan kembali kepada Bahasa Inggeris.
Rujukan API
Redaksi imej tersedia terus melalui API untuk integrasi yang tidak melalui aplikasi web, dan melalui pelayan MCP sebagai alat anonym_legal_redact_image (mod "analyze" atau "redact") untuk klien MCP seperti Claude.
POST /api/presidio/imageAuthentication: Sahkan diri dengan token Bearer dalam pengepala Authorization (token API atau sesi yang disahkan, sama seperti titik akhir analisis teks). Permintaan tanpa token yang sah mengembalikan 401.
Request body: Hantar badan multipart/form-data. Medan diperlukan: file (imej PNG atau JPG) dan mode ("analyze" atau "redact"). Medan pilihan: language (kod bahasa OCR ISO 639-1, lalai "en"), entities (tatasusunan JSON jenis entiti untuk menyekat pengesanan), score_threshold, dan fill_color (mod redact sahaja, lalai "black"), operator (redact mode only: "redact" | "replace" | "mask", default "redact"), and mask_char (redact mode with operator="mask" only, default "*").
Response: Dalam mod analyze, respons adalah JSON: entiti yang dikesan (jenis, kedudukan teks, dan skor keyakinan) ditambah medan tokens_charged. Dalam mod redact, respons adalah imej yang diredak itu sendiri (binari, Content-Type image/png atau jenis asal) dengan kos token dikembalikan dalam pengepala X-Tokens-Charged.
Soalan Lazim
Format imej apa yang disokong?
Hanya PNG dan JPG (JPEG). Format raster lain seperti TIFF, BMP, WebP, dan GIF tidak disokong pada masa ini.
Apakah had saiz dan resolusi?
20 MB dan jumlah resolusi 150 megapiksel, dihadkan lagi oleh had muat naik pelan anda sendiri (5 MB pada Basic, 10 MB pada Pro, 20 MB pada Business).
Adakah redaksi imej memerlukan pelan berbayar?
Ya. Redaksi imej memerlukan pelan Basic atau lebih tinggi. Pelan percuma hanya menyokong penganoniman teks.
Adakah redaksi ini boleh dibalikkan?
Tidak. Redaksi menutup kawasan yang dikesan dengan kotak hitam legap terus di atas piksel imej — redaksi visual sehala, bukan penyulitan boleh balik seperti yang ditawarkan oleh penganonim teks.
Bagaimana saya memanggil API secara langsung selain menggunakan aplikasi web?
Hantar permintaan POST ke /api/presidio/image dengan token Bearer dalam pengepala Authorization dan badan multipart/form-data yang mengandungi file dan mode ("analyze" atau "redact"). Lihat bahagian rujukan API di atas untuk senarai medan penuh dan bentuk respons.
Cuba redaksi imej
Muat naik imbasan, foto, atau tangkapan skrin dan lihat PII yang dikesan ditutup dalam beberapa saat.
Buka aplikasi webLimitations / 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.