Action Shot
Action shot is a frame from a video where the user performs a gesture, e.g., closed eyes for blinking. A separate frame is saved for each gesture.
Requirements
API – 5.3.1,
Web SDK – 1.6.15,
Web UI – 1.3.4,
Mobile SDK (iOS, Android, Flutter) – 8.14.
Enabling Action Shot
Web SDK
In the Web Adapter configuration file, set extract_action_shot to True.
Mobile SDK
Add the extract_action_shot parameter with the true value to params (iOS) / analysisParams (Android) of the Analysis structure when running the analysis.
Analysis.init(media: results,
type: .quality,
mode: .serverBased,
params: ["extract_best_shot" : true, "extract_action_shot": true])val analysisParams = mapOf(
"extract_best_shot" to true,
"extract_action_shot" to true
)
AnalysisScenario.Liveness
-> addAnalysis(
Analysis(
Analysis.Type.QUALITY,
analysisMode,
media,
analysisParams,
sizeReductionStrategy
)
)Where to Find Action Shots
In the API response (API 6.6.1 and newer):
analyses[].results_media[].output_images[]. Action shot hasoriginal_name=ResultImageActionShot.jpeg.In the report: a frame for each gesture. Generate the report via Web UI (the PDF button in the order) or API (
POST /api/folders/{{folder_id}}/reports/).
Last updated
Was this helpful?
