Try it
Try Faceplugin SDKs with copy-paste commands. Start with license-free curl health and machine-code checks, then activate the SDK and test face detection, face matching, liveness, and document OCR.
These snippets are meant to be copied as-is. You do not write a UI first. Start with health and machinecode (no license needed), then activate and call one process API. Full endpoint contracts: HTTP API.
1. Server — no license yet
Start any Linux/Windows server product, then:
curl -s http://127.0.0.1:8083/api/health
curl -s http://127.0.0.1:8083/api/machinecodeChange the port: ID Document Recognition (Document Reader) 8082, Face Recognition 8083, Face Liveness 8084, Document Liveness 8086.
health works before you have a key. Copy the server machine code (machine code) from machinecode and request a license.
2. Server — activate once
# license.txt contains one line: license key
curl -s -X POST http://127.0.0.1:8083/api/activate \
-H 'Content-Type: text/plain' \
--data-binary @license.txtSuccess looks like "Successfully activated". The service also loads the engine on this call.
3. Server — try the main APIs for each product
Install: Face Recognition Linux SDK. Combined recognition + liveness in one package: Face Recognition + Liveness Linux (same port, adds /api/liveness).
Score ≥ 0.5 is Real / pass. JPEG only. Face Liveness Detection Linux SDK. Combined package on 8083: same body against /api/liveness on Recognition + Liveness Linux.
Combined pipeline: POST /api/documentProcess. Dedicated Document Liveness product: port 8086. ID Document Recognition Linux SDK.
Windows: use Git Bash or WSL for base64, or Python:
4. Mobile — after the demo compiles
Keep the demo application ID so the included license key license works. Call this on a background thread.
Install: Face Recognition Android SDK.
Install: Face Recognition Flutter SDK.
locateDocument is overlay-only (no OCR). Install: ID Document Recognition Android SDK.
Related documentation
Last updated