idealo / imagededup

😎 Finding duplicate images made easy!
https://idealo.github.io/imagededup/
Apache License 2.0
5.18k stars 459 forks source link

encode_image must accept a stream object #210

Open yuriy-zhilovets2 opened 11 months ago

yuriy-zhilovets2 commented 11 months ago

This will be useful for writing web-services where iamge comes as a stream object, not a file on a disk.

yuriy-zhilovets2 commented 11 months ago

Image.open already accepts a stream, so the issue is only in checking a parameter type in the encode_image