pedestrians-traffic-calc icon indicating copy to clipboard operation
pedestrians-traffic-calc copied to clipboard

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

Open jhuh3226 opened this issue 7 years ago • 4 comments

In recognizer file all the pre files (camera.pde, GUI.pde and so on) doses't work, having problem in the line of System.loadLibrary(Core.NATIVE_LIBRARY_NAME); also mentioning

a library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application

Is there any ways to solve this problem?

jhuh3226 avatar Apr 12 '17 13:04 jhuh3226

@jhuh3226, what OS are you running? I was building this for windows and had installation for OpenCV for Win32 (I had windows 8) and corresponding plugin for OpenCV from Precessing.

Try to install both of them if you are on Windows - if not - I'm not sure if I really can help, need to investigate how to integrate OpenCV and Processing on other OSs

mgalushka avatar Apr 21 '17 15:04 mgalushka

I meant this specific plugin:

http://ubaa.net/shared/processing/opencv/

mgalushka avatar Apr 21 '17 15:04 mgalushka

Other alternative for you to explore - Processing is just java code (with some exceptions but anyway) - you may try to port part which is interesting for you to just Java desktop application removing Processing dependency completely.

The only reason why I used Processing was that I had limited time to complete some working prototype and that seemed reasonable but you may waste too much time configuring it.

mgalushka avatar Apr 21 '17 15:04 mgalushka

I'm running the library on Mac OS so I'll try to use this code on Win32 and also check the plugins you have linked. Thank you and I'll update my status on trying those things:)

jhuh3226 avatar Apr 23 '17 11:04 jhuh3226