Optical-flow is a software for estimation of the optical flow between a pair of images. It implements the method described in [1] improved by several features of [2]. As pre-processing steps, image equalization using [3] and dominant motion compensation using the Motion2D software [4,5] are optionally proposed.
In order to run a job you need to be identified or register a new account.
The following curl command will create a job (note: job[webapp] is required, all other parameters are optional):
curl -H 'Authorization: Token token=<your private_token>' \
-X POST https://allgo18.inria.fr/api/v1/jobs \
-F 'job[webapp]=opticalflow' \
-F 'job[version]=1.0.0' \
-F 'job[param]=' \
-F 'job[queue]=standard' \
-F 'files[0]=@test.txt' \
-F 'files[1]=@test2.csv'
Monitor its progress:
curl -H 'Authorization: Token token=<your private_token>' \
https://allgo18.inria.fr/api/v1/jobs/JOB_ID/events
Get the result:
curl -H 'Authorization: Token token=<your private_token>' \
https://allgo18.inria.fr/api/v1/jobs/JOB_ID
Abort the job:
curl -H 'Authorization: Token token=<your private_token>' \
-X POST https://allgo18.inria.fr/api/v1/jobs/JOB_ID/abort
Delete the job:
curl -H 'Authorization: Token token=<your private_token>' \
-X DELETE https://allgo18.inria.fr/api/v1/jobs/JOB_ID