chore(server,ml): remove object detection job and endpoint (#2627)

* removed object detection job

* removed object detection endpoint
This commit is contained in:
Mert
2023-05-31 21:49:51 -04:00
committed by GitHub
parent 9730bf0acc
commit 631f13cf2f
10 changed files with 0 additions and 75 deletions

View File

@@ -14,10 +14,6 @@ export class MachineLearningRepository implements IMachineLearningRepository {
return client.post<DetectFaceResult[]>('/facial-recognition/detect-faces', input).then((res) => res.data);
}
detectObjects(input: MachineLearningInput): Promise<string[]> {
return client.post<string[]>('/object-detection/detect-object', input).then((res) => res.data);
}
encodeImage(input: MachineLearningInput): Promise<number[]> {
return client.post<number[]>('/sentence-transformer/encode-image', input).then((res) => res.data);
}