DeleteAnnotationPatches
class DeleteAnnotationPatches extends Job
Traits
Queueable
Dispatchable
Properties
protected array | $trainingProposals | The training proposals to delete, grouped by image ID. |
|
protected array | $annotationCandidates | The annotation candidates to delete, grouped by image ID. |
Methods
void
handle()
Handle the event.
deleteAnnotations(array $annotations, string $disk)
Delete MAIA annotations form the specified storage disk.
array
getAnnotationsArray(QueryBuilder $query)
Get the array of annotation IDs and their image ids.
Details
at line 33
__construct(MaiaJob $job)
Create a new isntance.
at line 46
void
handle()
Handle the event.
at line 61
protected
deleteAnnotations(array $annotations, string $disk)
Delete MAIA annotations form the specified storage disk.
at line 85
protected array
getAnnotationsArray(QueryBuilder $query)
Get the array of annotation IDs and their image ids.