File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111use OCA \DAV \Events \SabrePluginAddEvent ;
1212use OCA \Recognize \Dav \Faces \PropFindPlugin ;
1313use OCA \Recognize \Hooks \FileListener ;
14+ use OCA \Recognize \TaskProcessing \AudioClassificationTaskType ;
15+ use OCA \Recognize \TaskProcessing \ImageClassificationTaskType ;
16+ use OCA \Recognize \TaskProcessing \ImageFaceRecognitionTaskType ;
1417use OCA \Recognize \TaskProcessing \TaskResultListener ;
18+ use OCA \Recognize \TaskProcessing \VideoClassificationTaskType ;
1519use OCP \AppFramework \App ;
1620use OCP \AppFramework \Bootstrap \IBootContext ;
1721use OCP \AppFramework \Bootstrap \IBootstrap ;
@@ -59,6 +63,11 @@ public function register(IRegistrationContext $context): void {
5963
6064 /** Register $principalBackend for the DAV collection */
6165 $ context ->registerServiceAlias ('principalBackend ' , Principal::class);
66+
67+ $ context ->registerTaskProcessingTaskType (ImageClassificationTaskType::class);
68+ $ context ->registerTaskProcessingTaskType (VideoClassificationTaskType::class);
69+ $ context ->registerTaskProcessingTaskType (AudioClassificationTaskType::class);
70+ $ context ->registerTaskProcessingTaskType (ImageFaceRecognitionTaskType::class);
6271 }
6372
6473 /**
You can’t perform that action at this time.
0 commit comments