mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
Add readme for top level folder, clean up dead code
This commit is contained in:
parent
85b83f9666
commit
613b4449a7
7 changed files with 90 additions and 60 deletions
server/src/modules/image-optimize
|
@ -45,13 +45,14 @@ export class ImageOptimizeProcessor {
|
|||
|
||||
await this.assetRepository.update(savedAsset, { resizePath: resizePath });
|
||||
|
||||
const jobb = await this.machineLearningQueue.add(
|
||||
'object-detection',
|
||||
{
|
||||
resizePath,
|
||||
},
|
||||
{ jobId: randomUUID() },
|
||||
);
|
||||
// Send file to object detection after resizing
|
||||
// const detectionJob = await this.machineLearningQueue.add(
|
||||
// 'object-detection',
|
||||
// {
|
||||
// resizePath,
|
||||
// },
|
||||
// { jobId: randomUUID() },
|
||||
// );
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue