leosocy / edcc-palmprint-recognition Goto Github PK
View Code? Open in Web Editor NEWEDCC: An efficient and accurate algorithm for palmprint recognition.
Home Page: https://blog.leosocy.top/posts/4354/
License: MIT License
EDCC: An efficient and accurate algorithm for palmprint recognition.
Home Page: https://blog.leosocy.top/posts/4354/
License: MIT License
报错信息如下:
[INFO] pulling registry.cn-hangzhou.aliyuncs.com/leosocy/opencv:ci image success!
-- Configuring done
-- Generating done
-- Build files have been written to: /app/build_install/googletest-download
[ 11%] Performing download step (git clone) for 'googletest'
Cloning into 'googletest-src'...
fatal: invalid reference: master
CMake Error at googletest-download/googletest-prefix/tmp/googletest-gitclone.cmake:75 (message):
Failed to checkout tag: 'master'
make[2]: *** [CMakeFiles/googletest.dir/build.make:91: googletest-prefix/src/googletest-stamp/googletest-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/googletest.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
CMake Error at test/CMakeLists.txt:28 (MESSAGE):
Build step for googletest failed: 2
-- Configuring incomplete, errors occurred!
See also "/app/build_install/CMakeFiles/CMakeOutput.log".
你好,我想请教一下,您的算法是如何训练的,采用的是CNN方面吗?
还有我在linux上调试的时候无法生成lib相关文件,整个流程您可以大概在跟我说一下吗?谢谢
Hello,
my system is MacOS,when I exectue command "python3 setup.py install",error"OSError: Library [libedcc.dylib] not found.",But the file (libedcc.dylib) is in the directory(build),so ,can someone help me ?
您好:
同类手掌的掌纹也识别失败,,原因是待比对两张图片未校准,请问你有校准部分的代码吗?校准包括平移或者 旋转之类的;
望回复。谢谢
Quick and easy installation with docker
你好,请问掌纹的预处理是怎么样的?首先检测出手掌,然后分割出掌纹,然后再对齐吗?
./data/a_01.bmp <-> ./data/a_02.bmp similarity score:0.2390011890606421
./data/b_01.bmp <-> ./data/b_02.bmp similarity score:0.22711058263971462
demo 里边的数据的相似度 很低,是正常的吗? 实际使用需要别的配置参数?
您好,最近看到您的写的算法教程,我自己实现了一个,但是目前准确率只有67%,可能是我参数选择有些问题,想请问下关于gabor filter和拉普拉斯算子的参数是设的多少?
i have a error when i build the edcc
[ 14%] Building CXX object CMakeFiles/edcc.dir/src/core/gabor_filter.cpp.o
/Users/edward/Documents/COMP4134/comp4134 project/EDCC-Palmprint-Recognition-master/EDCC-Palmprint-Recognition/src/core/gabor_filter.cpp:54:30: error: use of undeclared identifier 'CV_BGR2GRAY'
cvtColor(resized, *result, CV_BGR2GRAY);
^
1 error generated.
make[2]: *** [CMakeFiles/edcc.dir/src/core/gabor_filter.cpp.o] Error 1
make[1]: *** [CMakeFiles/edcc.dir/all] Error 2
make: *** [all] Error 2
This is the error I got while running python seytup.py install
and also same kind of error on Robustpalmroi
Traceback (most recent call last):
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libedcc.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 10, in
import edcc
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/init.py", line 31, in
adapter = EdccAdapter()
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 28, in init
self.LIB_NAME, self.LIB_INSTALLATION_URL
OSError: Library [libedcc.so] not found.
Please see https://github.com/Leosocy/EDCC-Palmprint-Recognition#install-library
Hello!
After sudo make -j run_py_sample
I am getting an error:
make: *** No rule to make target 'run_py_sample'. Stop.
Linking was successful, i think:
...
[100%] Linking CXX shared library edcc_lib/libedcc.so
[100%] Built target edcc
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libedcc.so.1.1
-- Installing: /usr/local/lib/libedcc.so.1
-- Installing: /usr/local/lib/libedcc.so
-- Installing: /usr/local/include/edcc
-- Installing: /usr/local/include/edcc/edcc.h
-- Installing: /usr/local/share/edcc/ApiUsage.md
-- Installing: /usr/local/share/edcc/AboutEDCC.md
-- Installing: /usr/local/share/edcc/LICENSE
-- Installing: /usr/local/share/edcc/FindEDCC.cmake
I solved this issue
This is the error I got while running python seytup.py install
and also same kind of error on Robustpalmroi
Traceback (most recent call last):
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/home/qwickbit/anaconda3/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libedcc.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 10, in
import edcc
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/init.py", line 31, in
adapter = EdccAdapter()
File "/home/qwickbit/Desktop/EDCC-Palmprint-Recognition/pypackage/edcc/adapter.py", line 28, in init
self.LIB_NAME, self.LIB_INSTALLATION_URL
OSError: Library [libedcc.so] not found.
Please see https://github.com/Leosocy/EDCC-Palmprint-Recognition#install-libraryDo you have
so library
installed?
Originally posted by @manoharsonwan in #18 (comment)
EDCC-Palmprint-Recognition/src/core/comparer.cpp
Lines 18 to 24 in c908758
Based on the matching stage's math definition
When the variable acc
variable should be increased by 1.
In addition, if the variable distance
should yield a specific value of 0x10. It is not recommended to use a comparison expression for this simple operation; instead, an equality expression should be used.
I had to save encode of palmprint become a file with pickle, but i had this error:
Traceback (most recent call last):
File "/home/pi/Coba/PalmDetection/PalmRecognition.py", line 19, in <module>
bytes = pickle.dumps(one_palmprint_code)
_pickle.PicklingError: Can't pickle <class 'ctypes.c_char_Array_849'>: attribute lookup c_char_Array_849 on ctypes failed
What should i do to save the encode? i need to save that because i will send this to database
thanks
EDCC-Palmprint-Recognition/build$ cmake .. && sudo make install
CMake Warning (dev) at CMakeLists.txt:7 (PROJECT):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
CMAKE_PROJECT_VERSION
CMAKE_PROJECT_VERSION_MAJOR
CMAKE_PROJECT_VERSION_MINOR
CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zuoqiuyingyi/软件/EDCC-Palmprint-Recognition/build/googletest-download
[ 11%] Performing update step for 'googletest'
当前分支 master 是最新的。
[ 22%] No configure step for 'googletest'
[ 33%] No build step for 'googletest'
[ 44%] No install step for 'googletest'
[ 55%] No test step for 'googletest'
[ 66%] Completed 'googletest'
[100%] Built target googletest
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_01.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_01.bmp success!
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_02.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/a_02.bmp success!
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_01.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_01.bmp success!
Downloading https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_02.bmp......
Download https://blog-images-1257621236.cos.ap-shanghai.myqcloud.com/edcc_data/for_test_and_example/b_02.bmp success!
CMake Warning (dev) at build/edcc-config.cmake:11 (INCLUDE):
Policy CMP0024 is not set: Disallow include export result. Run "cmake
--help-policy CMP0024" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
The file
/home/zuoqiuyingyi/软件/EDCC-Palmprint-Recognition/build/edcc-targets.cmake
was generated by the export() command. It should not be used as the
argument to the include() command. Use ALIAS targets instead to refer to
targets by alternative names.
Call Stack (most recent call first):
examples/c_example/CMakeLists.txt:7 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zuoqiuyingyi/软件/EDCC-Palmprint-Recognition/build
[sudo] zuoqiuyingyi 的密码:
Scanning dependencies of target edcc
[ 4%] Building CXX object CMakeFiles/edcc.dir/src/config/reader.cpp.o
[ 8%] Building CXX object CMakeFiles/edcc.dir/src/controller/c_api.cpp.o
[ 13%] Building CXX object CMakeFiles/edcc.dir/src/controller/facade.cpp.o
[ 17%] Building CXX object CMakeFiles/edcc.dir/src/core/comparer.cpp.o
[ 21%] Building CXX object CMakeFiles/edcc.dir/src/core/encoder.cpp.o
[ 26%] Building CXX object CMakeFiles/edcc.dir/src/core/gabor_filter.cpp.o
make[2]: *** 没有规则可制作目标“/home/zuoqiuyingyi/软件/opencv-4.5.0/release/lib/libopencv_dnn.so.4.5.0”,由“libedcc.so.0.2.0” 需求。 停止。
make[1]: *** [CMakeFiles/Makefile2:228:CMakeFiles/edcc.dir/all] 错误 2
make: *** [Makefile:130:all] 错误 2
这是否意味着该项目不支持OpenCV 4.5.0呀?
python3 setup.py install
Traceback (most recent call last):
File "/Users/zhouchaohong/Documents/PythonProjects/EDCC-Palmprint-Recognition-master/pypackage/edcc/adapter.py", line 24, in init
self._lib = ctypes.cdll.LoadLibrary(self.LIB_NAME)
File "/opt/anaconda3/lib/python3.7/ctypes/init.py", line 442, in LoadLibrary
return self._dlltype(name)
File "/opt/anaconda3/lib/python3.7/ctypes/init.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libedcc.dylib, 6): Library not loaded: @rpath/libopencv_gapi.4.2.dylib
Referenced from: /usr/local/lib/libedcc.0.2.0.dylib
Reason: image not found
During handling of the above exception, another exception occurred:
in fact opencv4.2 is installed
您好,我是在Windows下装的,但是编译完发现没有edcc.lib 而且用dumpbin 到处edcc.dll 显示并没有函数,没有lib无法编译其他代码啊 ,求赐教
After installing the project successfully. I can't import the module
CMake Error at CMakeLists.txt:56 (INSTALL):
INSTALL Library TARGETS given no DESTINATION!
I am getting this error while running the example.py file
File "example.py", line 16, in
config = edcc.EncoderConfig(29, 5, 5, 10)
AttributeError: module 'edcc' has no attribute 'EncoderConfig'
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.