rbrich / dedup-images Goto Github PK
View Code? Open in Web Editor NEWTool for identifying duplicate images (plus Cython binding for pHash library)
Tool for identifying duplicate images (plus Cython binding for pHash library)
Using:
❯ sudo ./setup.py build
Compiling pyx/phash.pyx because it changed.
[1/1] Cythonizing pyx/phash.pyx
warning: pyx/phash.pyx:139:25: local variable 'pcc' referenced before assignment
warning: pyx/phash.pyx:140:11: local variable 'pcc' referenced before assignment
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/dedupimages.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/__init__.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/imagehash.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/viewer.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/hashdb.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/config.py -> build/lib.linux-x86_64-3.9/dedupimages
running build_ext
building 'phash' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/pyx
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c pyx/phash.cpp -o build/temp.linux-x86_64-3.9/pyx/phash.o
pyx/phash.cpp:641:10: erreur fatale: pHash.h : Aucun fichier ou dossier de ce type
641 | #include "pHash.h"
| ^~~~~~~~~
compilation terminée.
error: command '/usr/bin/gcc' failed with exit code 1
❯ LANG=' '
❯ sudo ./setup.py build
running build
running build_py
running build_ext
building 'phash' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c pyx/phash.cpp -o build/temp.linux-x86_64-3.9/pyx/phash.o
pyx/phash.cpp:641:10: fatal error: pHash.h: No such file or directory
641 | #include "pHash.h"
| ^~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.