dev change logic for get files for search
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-04-20 18:31:32 +07:00
parent 9cd5965b37
commit 9cde6f3bb6
@@ -26,9 +26,7 @@ public class ImageHashService {
private final CloudStorageService cloudStorageService;
public Map<String, Long> calculateHash(Path imagePath) throws IOException {
// File file = cloudStorageService.readFileFromStorageByPath(imagePath.toString());
File file = imagePath.toFile();
File file = cloudStorageService.readFileFromStorageByPath(imagePath.toString());
PHash pHash = PerceptualHashHelper.INSTANCE.generateDCTPerceptualHash(file);