Makefile fixes for 64bit architechtures and GoCV/OpenCV version updates #1106
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
Makefile
was stuck on GoCV v0.31.0 and did not match the OpenCV version 4.8.0 so this has been updated to v0.34.0.In OpenCV 4.8.0 there is a major regression which slowed DNN model inference by 200% Depthwise Convolution layer with 5x5 kernel much slower than 4.7.0 opencv/opencv#23941 - this has been fixed in v4.8.1
Building on 64bit Raspberry Pi fails on cmake flag
-D ENABLE_VFPV3=ON
so a conditional switch has been added for 32/64bit builds ininstall_raspi
. This fixes Raspberry Pi 4B does not need "-D ENABLE_VFPV3=ON" #1059The
sudo_pre_install_clean
was not cleaning up libraries on 64bit machines (x86 and arm) so clearing of those directories has been implemented.