CompactCNNCascade icon indicating copy to clipboard operation
CompactCNNCascade copied to clipboard

Commercial use

Open deimsdeutsch opened this issue 5 years ago • 2 comments

I am interested in your project and i would like to use. But i am not able to compile and run your project. Please tell me the steps to test your code on Linux.

deimsdeutsch avatar May 07 '19 04:05 deimsdeutsch

Hi, Use cmake https://preshing.com/20170511/how-to-build-a-cmake-based-project/

Bkmz21 avatar May 09 '19 08:05 Bkmz21

Ubuntu 18 i have changed the

set(SOURCE "${CNNOD_SRC}/config.h" "${CNNOD_SRC}/test_accuracy.cpp") in CMakeLists.txt to test different test cases and none of them work !

test_perfomance.cpp This file needs windows and resource.h

There are no windows.h and resource.h files available in linux or your repo.

test_landmark.cpp

There is no GRANSAC.hpp header file needed by this file in your repo.

test_conv.cpp

error: ‘CNNPP_v2’ is not a member of ‘NeuralNetworksLib::SIMD’ SIMD::CNNPP_v2 cnnpp; ^~~~~~~~ /opt/github/CompactCNNCascade/src/CNNObjectDetector/test_conv.cpp:81:2: error: ‘cnnpp’ was not declared in this scope cnnpp.conv_3x3_lrelu_bn_max( ^~~~~ CMakeFiles/CNNObjectDetector.dir/build.make:62: recipe for target 'CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/test_conv.cpp.o' failed make[2]: *** [CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/test_conv.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/CNNObjectDetector.dir/all' failed make[1]: *** [CMakeFiles/CNNObjectDetector.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

test_accuracy.cpp

/opt/github/CompactCNNCascade/build# ./bin/CNNObjectDetector TEST ACCURACY

[CNNDetector] Initializing with max image size (1280, 720)!

[TEST ACCURACY] test allocate memory [TEST ACCURACY] cannels = 1: success [TEST ACCURACY] cannels = 3: success [TEST ACCURACY] cannels = 4: success

[TEST ACCURACY] test image converter Segmentation fault (core dumped)

deimsdeutsch avatar May 09 '19 10:05 deimsdeutsch