-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault (core dumped) #8
Comments
+1 Same Issue @Bkmz21 |
Hi, |
@Bkmz21
https://github.com/Bkmz21/CompactCNNCascade/blob/master/src/CNNObjectDetector/test_accuracy.cpp#L350 |
Surely one of these functions falls. |
@Bkmz21 Changed BUILD_FaceDetector to ON inside CMakeLists.txt but there is not binary to test it. Please review the code.. It is not stable at all. |
Thanks, I'll try to fix it in a week. |
@Bkmz21 |
Hi, You must change the scale_factor and minNeighbour parameters to improve accuracy. |
My Observations: Ran on a Camera:
|
@Bkmz21 |
I already have opencv 3.4.0 installed
root@xyz:/home/xyz# pkg-config --cflags opencv
-I/usr/local/include/opencv -I/usr/local/include
root@xyz:/home/xyz# pkg-config --libs opencv
-L/usr/local/lib -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dpm -lopencv_face -lopencv_photo -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_img_hash -lopencv_line_descriptor -lopencv_optflow -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_text -lopencv_dnn -lopencv_plot -lopencv_xfeatures2d -lopencv_shape -lopencv_video -lopencv_ml -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_flann -lopencv_xobjdetect -lopencv_imgcodecs -lopencv_objdetect -lopencv_xphoto -lopencv_imgproc -lopencv_core
git clone https://github.com/Bkmz21/CompactCNNCascade
cd CompactCNNCascade
mkdir build
cd build
cmake ..
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xyz/Downloads/github/CompactCNNCascade/build
root@xyz:/home/xyz# make
LOTS OF ERRORS
n file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:44:138: error: ‘size_t’ has not been declared void conv_3x3(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:44:152: error: ‘size_t’ has not been declared void conv_3x3(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:45:138: error: ‘size_t’ has not been declared void conv_4x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:45:152: error: ‘size_t’ has not been declared void conv_4x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:46:138: error: ‘size_t’ has not been declared void conv_5x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:46:152: error: ‘size_t’ has not been declared void conv_5x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:47:138: error: ‘size_t’ has not been declared void conv_5x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:47:152: error: ‘size_t’ has not been declared void conv_5x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:48:138: error: ‘size_t’ has not been declared void conv_6x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:48:152: error: ‘size_t’ has not been declared void conv_6x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:49:138: error: ‘size_t’ has not been declared void conv_6x6(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:49:152: error: ‘size_t’ has not been declared void conv_6x6(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:50:138: error: ‘size_t’ has not been declared void conv_7x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:50:152: error: ‘size_t’ has not been declared void conv_7x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:51:138: error: ‘size_t’ has not been declared void conv_8x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:51:152: error: ‘size_t’ has not been declared void conv_8x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:52:138: error: ‘size_t’ has not been declared void conv_8x8(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:52:152: error: ‘size_t’ has not been declared void conv_8x8(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:53:140: error: ‘size_t’ has not been declared void conv_11x10(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:53:154: error: ‘size_t’ has not been declared void conv_11x10(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:54:140: error: ‘size_t’ has not been declared void conv_11x11(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:54:154: error: ‘size_t’ has not been declared void conv_11x11(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:36:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_3x3(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_3x3(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:44:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_3x3(float*, int, float*, int, int, float*, int, int) void conv_3x3(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:92:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_4x4(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_4x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:45:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_4x4(float*, int, float*, int, int, float*, int, int) void conv_4x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:158:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_5x4(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_5x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:46:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_5x4(float*, int, float*, int, int, float*, int, int) void conv_5x4(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:188:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_5x5(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_5x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:47:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_5x5(float*, int, float*, int, int, float*, int, int) void conv_5x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:212:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_6x5(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_6x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:48:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_6x5(float*, int, float*, int, int, float*, int, int) void conv_6x5(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:238:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_6x6(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_6x6(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:49:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_6x6(float*, int, float*, int, int, float*, int, int) void conv_6x6(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:264:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_7x7(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_7x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:50:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_7x7(float*, int, float*, int, int, float*, int, int) void conv_7x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:292:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_8x7(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_8x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:51:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_8x7(float*, int, float*, int, int, float*, int, int) void conv_8x7(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:322:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_8x8(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_8x8(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:52:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_8x8(float*, int, float*, int, int, float*, int, int) void conv_8x8(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:352:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_11x10(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_11x10(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:53:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_11x10(float*, int, float*, int, int, float*, int, int) void conv_11x10(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~~~ /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:381:8: error: prototype for ‘void NeuralNetworksLib::SIMD::CNNPP::conv_11x11(float*, int, float*, int, int, float*, size_t, size_t)’ does not match any in class ‘NeuralNetworksLib::SIMD::CNNPP’ void CNNPP::conv_11x11(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L, size_t H) ^~~~~ In file included from /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp:21:0: /home/xyz/Downloads/github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h:54:9: error: candidate is: void NeuralNetworksLib::SIMD::CNNPP::conv_11x11(float*, int, float*, int, int, float*, int, int) void conv_11x11(float* __restrict dst, int dst_size_l, float* __restrict src, int src_size_l, int src_size_h, float* __restrict kernel, size_t L = 0, size_t H = 0); ^~~~~~~~~~ CMakeFiles/CNNObjectDetector.dir/build.make:278: recipe for target 'CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/cnnpp_cplusplus.cpp.o' failed make[2]: *** [CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/cnnpp_cplusplus.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
Edited
vim github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.cpp
vim github/CompactCNNCascade/src/CNNObjectDetector/cnnpp_cplusplus.h
Add #include for size_t error
root@xyz:/home/xyz# make
LOTS OF ERRORS
Edited the following files
vim CompactCNNCascade/src/CNNObjectDetector/timer.cpp
Replaced high_resolution_clock with steady_clock
All Code compiled perfectly.
root@xyz:/home/xyz# make
Scanning dependencies of target CNNObjectDetector
[ 5%] Building CXX object CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/timer.cpp.o
[ 10%] Building CXX object CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/cnn_detector_v3.cpp.o
[ 15%] Building CXX object CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/packing_2D.cpp.o
[ 21%] Linking CXX executable bin/CNNObjectDetector
[100%] Built target CNNObjectDetector
root@xyz:/home/xyz# cd bin
The text was updated successfully, but these errors were encountered: