Skip to content

How to automatically detect faces in a PDF document using face-api.js, and permanently redact them using PDFTron WebViewer.

Notifications You must be signed in to change notification settings

ApryseSDK/webviewer-facial-redaction-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample code for PDFTron blog post Redact faces from PDF with WebViewer and face-api.js

Blog post is located here https://www.pdftron.com/blog/webviewer/automate-facial-redaction-of-pdfs-with-javascript

To run this example, you only need to have files server from any web server. If you have npm installed on you computer you can use http-server serve the content locally.

npm install -g http-server
http-server .

or if you don't prefer global npm package installs you can use npx

npx http-server .

You can access it via browser on you localhost http://127.0.0.1:8080

About

How to automatically detect faces in a PDF document using face-api.js, and permanently redact them using PDFTron WebViewer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published