current
command lets you use the following submenu for the currently deployed site:list
command returns the ids of the sites that have been installed.save
command creates an archive that contains the given site, which can been installed on another server (e.g. offline)load
command loads a site from an archive generated by a save
command.upgrade
command install a new version of the site (using the latest docker-compose/kubernetes manifest from the api)rollback
command reloads the nth previous version (upgrade followed by rollback 1 does nothing)intervention
command lets you interact with the customer API. There must then be a customer-api
service in your application to work. You can then use the create / delete / infer / status commands.MODEL_VERSION_ID
of the model version that you want to use within your application and the corresponding Routing Key
, you need to go on the Apps tab in the Deployment section and click on the app version that is deployed on your site. MODEL_VERSION_ID
is specified with the -r
or --recognition_id
argument.ROUTING_KEY
corresponds to the rabbitMQ queue identifier.AMPQ_URL
. It corresponds to the rabbitMQ address. You will find this address in your server deployment files. It should look like amqp://user:[email protected]:port/vhost
infer
: Compute predictions only.draw
: Display the prediction result, whether tags or the bounding boxes.blur
: Blur the bounding boxes.noop
: Benchmark input and output processing capabilities.bmp
, jpeg
, jpg
, jpe
,png
, tif
and tiff
.avi
, mp4
, webm
and mjpg
.rtsp
, http
and https
.-i
for input
option. Below an example with each type of inputs.bmp
, jpeg
, jpg
, jpe
,png
, tif
and tiff
.avi
and mp4.
-s
or --studio_format
option.-o frame %03d.json
will output frame001.json
, frame002.json
, ...-o pred_%s.jpg
will output pred_img1_123.json
, pred_img2_123.json
, ...stdout
option. For instance this allows you to stream directly to vlc.q
.-o
for output
option. Below an example with each type of inputs.-f
and a long flag --flag
. Note that one use a simple -
while the other uses two --
. Also some options need an additional argument. Find below the option table. When indicated, all
means that all four commands infer
, draw
, blur
and noop
are concerned.i
input
all
input_fps
all
skip_frame
all
R
recursive
all
o
output
all
output_fps
all
s
studio_format
infer
draw
blur
F
fullscren
draw
blur
noop
from_file
draw
blur
r
recognition_id
infer
draw
blur
t
threshold
infer
draw
blur
u
ampq_url
infer
draw
blur
k
routing_key
infer
draw
blur
S
draw_score
draw
no_draw_scores
draw
L
draw_labels
draw
no_draw_labels
draw
M
blur_method
blur
pixel
, gaussian
or black.
B
blur_strengh
blur