We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce00d5 commit 9ea975fCopy full SHA for 9ea975f
1 file changed
src/gab/opencv/OpenCV.java
@@ -412,7 +412,9 @@ private void initNative(){
412
if (PApplet.platform == PConstants.LINUX) { //platform Linux
413
// attempt to detect arm architecture - is it fair to assume linux for ARM devices?
414
isArm = osArch.contains("arm");
415
- path = isArm ? nativeLibPath + "arm7" : nativeLibPath + "linux" + bitsJVM;
+ // armv6hf as found on the Raspberry Pi is the lowest architecture supported by Processing
416
+ // in the future we'll have runtime-detection of armv7 systems, and use the optimized library on those
417
+ path = isArm ? nativeLibPath + "linux-armv6hf" : nativeLibPath + "linux" + bitsJVM;
418
}
419
420
// ensure the determined path exists
0 commit comments