View Source mix detect_image (tflite_elixir v0.3.7)
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
Summary
Functions
Callback implementation for Mix.Task.run/1
.
Functions
Callback implementation for Mix.Task.run/1
.