View Source mix detect_image (tflite_beam v0.2.0)
Image detection mix task: mix help detect_image
Command line arguments:
-m
,--model
: Required. File path of .tflite file.-i
,--input
: Required. Image to process.-l
,--labels
: File path of labels file.-t
,--threshold
: Default to0.4
. Score threshold for detected objects.-c
,--count
: Default to1
. Number of times to run inference.-j
,--jobs
: Number of threads for the interpreter (only valid for CPU).
Code based on detect_image.py
Link to this section Summary
Functions
Callback implementation for Mix.Task.run/1
.
Link to this section Functions
Callback implementation for Mix.Task.run/1
.