HandWave icon indicating copy to clipboard operation
HandWave copied to clipboard

libtouch_free_library.so doesn't work quite right

Open jtkac opened this issue 9 years ago • 10 comments

Hello,

I was wondering if you could release the source code for your touch free library so file?

The native camera has been dropped in recent versions of OpenCV with regards to support and I was trying to get the library working (with some success).

So far all the compile errors are gone, the motion_averager doesn't throw invalid errors and the 32-bit version of the libtouch library works properly in debug mode of opencv.

It would be much appreciated if you could do this and in exchange, I can send you the updated source code upon completion.

If that appeals to you, my email is [email protected]

Thanks

EDIT:

After a bit of a break, research, and hacking away, I got the library working as intended.

In case you wanted to update it to be compatible with the new 64-bit Android Architecture, feel free to comment and I'll post the source I altered to get it working properly.

Also disregard the original question, I just had to do more research.

jtkac avatar Dec 22 '15 22:12 jtkac

Hi @Koalified I'm intrested to the 64-bit architecture library :)

AndreaL93 avatar Mar 07 '16 21:03 AndreaL93

Put up what I did on my page. Hopefully you find some use for it. Also credited Ms. Kritts.

jtkac avatar Mar 10 '16 02:03 jtkac

@Koalified , really a great job that you have done here! https://github.com/Koalified/NewHandwave

I have wrapped it for B4A and posted it here:

https://www.b4x.com/android/forum/threads/newhandwave-detecting-hand-motion-left-right-up-down-with-front-facing-camera.72244/#post-459402

I could not get the original Handwave project to work even when I downloaded the original APK samples. But your changes is great and it is working

Thanks for a great project!

johan-schoeman avatar Oct 23 '16 10:10 johan-schoeman

Hello Johan,

Excuse the late reply and Thank you very much. Although I haven't worked too long on this recently, I should say I had trouble device to device because the library requires the front camera to be on and certain devices only support one camera at a time. There was also a set of variable pass filters that can be applied to decrease sporatic motion detections when the hand moves in front of the camera. Those variables and calculations are located in: app https://github.com/Koalified/NewHandwave/tree/master/app/src https://github.com/Koalified/NewHandwave/tree/master/app/src/main https://github.com/Koalified/NewHandwave/tree/master/app/src/main/java https://github.com/Koalified/NewHandwave/tree/master/app/src/main/java/edu https://github.com/Koalified/NewHandwave/tree/master/app/src/main/java/edu /washington https://github.com/Koalified/NewHandwave/tree/master/app/src/main/java/edu/washington /cs https://github.com/Koalified/NewHandwave/tree/master/app/src/main/java/edu/washington/cs /touchfreelibrary https://github.com/Koalified/NewHandwave/tree/master/app/src/main/java/edu/washington/cs/touchfreelibrary /sensors https://github.com/Koalified/NewHandwave/tree/master/app/src/main/java/edu/washington/cs/touchfreelibrary/sensors /CameraGestureSensor.java.. Looks like you are making good use out of the library and I'm glad to see it.

Sincerely,

Koalified

On Sun, Oct 23, 2016 at 4:01 AM, johan-schoeman [email protected] wrote:

@Koalified https://github.com/Koalified , really a great job that you have done here! https://github.com/Koalified/NewHandwave

I have wrapped it for B4A and posted it here:

https://www.b4x.com/android/forum/threads/newhandwave- detecting-hand-motion-left-right-up-down-with-front- facing-camera.72244/#post-459402

I could not get the original Handwave project to work even when I downloaded the original APK samples. But your changes is great and it is working

Thanks for a great project!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kritts/HandWave/issues/5#issuecomment-255579539, or mute the thread https://github.com/notifications/unsubscribe-auth/AO5v5uMOVEYzSW_E6piKwknq_zIAKriFks5q2zBigaJpZM4G6QIP .

jtkac avatar Nov 02 '16 21:11 jtkac

Hello!

I have updated the NewHandwave library again to function with minimalistic effort if anyone is still using it.

jtkac avatar Feb 03 '17 03:02 jtkac

@jtkac Do you have x86 and 64bit versions of the libtouch_free_library.so ?

erdalgunes avatar Apr 18 '17 10:04 erdalgunes

Hii , I have use the new hand wave library , it is show some error when change the moving position from the left to right and right to left .It is take some more times. DetectMovementPosition show the error message which means cannot resolve the JNI files in edu.washington.cs.touchfreelibrary.sensors.CameraGestureSensor#DetectMovementPosition . Please help me because i m beginner to android development ....

Thanks & Regards, Murugeswari.M

Murugeswari avatar Sep 11 '17 12:09 Murugeswari

When I use the DetectMovementPosition. It shows cannot resolve the JNI file in edu.washington.cs.touchfreelibrary.sensors.CameraGestureSensor#DetectMovementPosition. Please guide me Because i m beginner to android development.

Murugeswari avatar Sep 11 '17 12:09 Murugeswari

@erdalgns If you package the specific version of OpenCV (32 bit) and load the openCV from local resources it works

jtkac avatar Jan 29 '18 19:01 jtkac

Hi, I'm trying to use the NewHandwave. It shows an error "UnsatisfiedLinkError: dlopen failed: library libtouch_free_library.so not found". How can I fix this?

nanduviswanathan avatar Mar 21 '23 10:03 nanduviswanathan