ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.04k stars 407 forks source link

Is it possible to use tree classifier for vector haar classifier? #100

Closed deansay closed 5 years ago

deansay commented 5 years ago

haarcascade_eye_tree_eyeglasses.xml Can't use tree classfier for vector haar classifier! terminate called after throwing an instance of 'std::runtime_error' what(): Can't use tree classfier for vector haar classifier! Aborted (core dumped)

sheiling commented 5 years ago

It may out of range!

ermig1979 commented 5 years ago

The using of Haar Cascades now is not the best idea. Lately I develop a project to fast inference of previously trained neural models. It is something like Inference Engine but it also supports ARM CPU. May be it will be useful for you. Test examples contain models trained for face detection and face landmarks detection (some of landmarks are correspond to eyes).