Cancel a job and all its tasks. Updates DB status to cancelled. Backbone will receive cancellation message and stop video processing when it starts the job or proceeds to next progress update(every 10%). Image tasks will only be cancelled if it has not started processing yet. Cancelled tasks show status
| job_id required | string (Job Id) Job ID |
{- "message": "string"
}Process video or image file(s) with given parameter settings in;
Supported model names: ['syn', 'blur']
Supported configuration parameters for models:
syn:
"syntonymize": "true": syntonymize, "false": blur
"enable_lp": "true": enable license plate, "false": disable license plate
"lp_syntonymize": "true": syntonymize license plate, "false": blur license plate
blur:
"blur_face": "true" blur faces, "false" don't blur faces
"enable_lp": "true" blur license plates, "false" don't blur license plates
"blur_threshold": float (min 0.0, max 1.0)
"lp_threshold": float (min 0.0, max 1.0)
A supported video in format: ['.mp4', '.mkv', '.webm', '.ts', '.mov', '.avi', '.mts'] or image in format ['.jpg', '.png', '.jpeg', '.bmp'].
An archive file in one of the supported formats: ['.zip', '.rar', '.7z'].
If the file is an archive file, it will be extracted and all the files in the archive will be processed.
Nesting in archive is not supported. Files must be in the root directory of the archive.
Processing won't start until the job is approved with /approve_job.
| file_path | string (File Path) Default: "/syntonym/jobs/sample.zip" File name |
| model | string (Model) Default: "blur" Supported models: ['syn', 'blur'] |
required | BlurConfig (object) or SynConfig (object) or Model Config (string) (Model Config) |
{- "file_path": "/syntonym/jobs/sample.zip",
- "model": "blur",
- "model_config": {
- "blur_face": true,
- "enable_lp": true,
- "blur_threshold": 0.5,
- "lp_threshold": 0.5,
- "slicing": false,
- "mask_blur": true
}
}{- "job_id": "string",
- "status": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "input_file": "string",
- "tasks": [
- {
- "task_id": "0",
- "task_status": 0,
- "task_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "width": 0,
- "height": 0,
- "size": 0,
- "parent_job_id": "0",
- "file_path": "/syntonym/jobs/testfiles/sample.mp4",
- "output_file": "",
- "processing_time": 0,
- "model": "blur",
- "model_config": {
- "blur_face": true,
- "enable_lp": true,
- "blur_threshold": 0.5,
- "lp_threshold": 0.5,
- "slicing": false,
- "mask_blur": true
}, - "frame_count": 0,
- "fps": 0,
- "duration": 0
}
], - "has_errors": false,
- "is_approved": false,
- "cancelled": false
}Process video file(s) with given parameter settings in;
Supported model names: ['syn', 'blur']
Supported configuration parameters for models:
syn:
"syntonymize": "true": syntonymize, "false": blur
"enable_lp": "true": enable license plate, "false": disable license plate
"lp_syntonymize": "true": syntonymize license plate, "false": blur license plate
blur:
"blur_face": "true" blur faces, "false" don't blur faces
"enable_lp": "true" blur license plates, "false" don't blur license plates
"blur_threshold": float (min 0.0, max 1.0)
"lp_threshold": float (min 0.0, max 1.0)
A supported video in format: ['.mp4', '.mkv', '.webm', '.ts', '.mov', '.avi', '.mts'].
An archive file in one of the supported formats: ['.zip', '.rar', '.7z'].
If the file is an archive file, it will be extracted and all the files in the archive will be processed.
Nesting in archive is not supported. Files must be in the root directory of the archive.
Processing won't start until the job is approved with /approve_job.
| file_path | string (File Path) Default: "/syntonym/jobs/sample3.mp4" File name |
| model | string (Model) Default: "blur" Supported models: ['syn', 'blur'] |
required | BlurConfig (object) or SynConfig (object) or Model Config (string) (Model Config) |
{- "file_path": "/syntonym/jobs/sample3.mp4",
- "model": "blur",
- "model_config": {
- "blur_face": true,
- "enable_lp": true,
- "blur_threshold": 0.5,
- "lp_threshold": 0.5,
- "slicing": false,
- "mask_blur": true
}
}{- "job_id": "string",
- "status": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "input_file": "string",
- "tasks": [
- {
- "task_id": "0",
- "task_status": 0,
- "task_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "width": 0,
- "height": 0,
- "size": 0,
- "parent_job_id": "0",
- "file_path": "/syntonym/jobs/testfiles/sample.mp4",
- "output_file": "",
- "processing_time": 0,
- "model": "blur",
- "model_config": {
- "blur_face": true,
- "enable_lp": true,
- "blur_threshold": 0.5,
- "lp_threshold": 0.5,
- "slicing": false,
- "mask_blur": true
}, - "frame_count": 0,
- "fps": 0,
- "duration": 0
}
], - "has_errors": false,
- "is_approved": false,
- "cancelled": false
}Process image file(s) with given parameter settings in;
Supported model names: ['syn', 'blur']
Supported configuration parameters for models:
syn:
"syntonymize": "true": syntonymize, "false": blur
"enable_lp": "true": enable license plate, "false": disable license plate
"lp_syntonymize": "true": syntonymize license plate, "false": blur license plate
blur:
"blur_face": "true" blur faces, "false" don't blur faces
"enable_lp": "true" blur license plates, "false" don't blur license plates
"blur_threshold": float (min 0.0, max 1.0)
"lp_threshold": float (min 0.0, max 1.0)
A supported image in format: ['.jpg', '.png', '.jpeg', '.bmp'].
An archive file in one of the supported formats: ['.zip', '.rar', '.7z'].
If the file is an archive file, it will be extracted and all the files in the archive will be processed.
Nesting in archive is not supported. Files must be in the root directory of the archive.
Processing won't start until the job is approved with /approve_job.
| file_path | string (File Path) Default: "/syntonym/jobs/sample.jpg" File name |
| model | string (Model) Default: "blur" Supported models: ['syn', 'blur'] |
required | BlurConfig (object) or SynConfig (object) or Model Config (string) (Model Config) |
{- "file_path": "/syntonym/jobs/sample.jpg",
- "model": "blur",
- "model_config": {
- "blur_face": true,
- "enable_lp": true,
- "blur_threshold": 0.5,
- "lp_threshold": 0.5,
- "slicing": false,
- "mask_blur": true
}
}{- "job_id": "string",
- "status": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "input_file": "string",
- "tasks": [
- {
- "task_id": "0",
- "task_status": 0,
- "task_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "width": 0,
- "height": 0,
- "size": 0,
- "parent_job_id": "0",
- "file_path": "/syntonym/jobs/testfiles/cat.jpg",
- "output_file": "",
- "processing_time": 0,
- "model": "blur",
- "model_config": {
- "blur_face": true,
- "enable_lp": true,
- "blur_threshold": 0.5,
- "lp_threshold": 0.5,
- "slicing": false,
- "mask_blur": true
}
}
], - "has_errors": false,
- "is_approved": false,
- "cancelled": false
}