DeleteAnnotationPatches
class DeleteAnnotationPatches extends Job
Traits
Queueable
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 32
__construct(MaiaJob $job)
Create a new isntance.
at line 45
void
handle()
Handle the event.
at line 60
protected
deleteAnnotations(array $annotations, string $disk)
Delete MAIA annotations form the specified storage disk.
at line 84
protected array
getAnnotationsArray(QueryBuilder $query)
Get the array of annotation IDs and their image ids.