Estimator task¶
Task allows to process images using established policies. Policies can be specified in the request or use saved ones by passing the handler ID. Currently, it is possible to send images in next ways:
as zip-archive, indicating a link to it
as s3-like storage bucket, indicating storage endpoint and bucket name
as network disk, indicating directory where it’s mounted
as FTP server, indicating server address, port and credentials
as Samba, indicating server address, port and credentials
When using a network disk as an image source and launching Tasks and Tasks Workers services through Docker containers, you need to mount the directory with images and launch services using the following command:
docker run \
...
-v /var/lib/luna/current/images:/srv/images
...
/var/lib/luna/current/images - path to the mounted directory with images.
/srv/images - path to the directory with images in the container where the images will be transferred from the network disk. This path should be specified in the request body.
Please note, the task uses a lot of memory when processing data. So, its possible that worker will be killed due to lack of memory.
For detail see estimator task
After completing the subtask, the results of the estimates are placed in the Luna Image Store (as a result of the task).