kritts / handwave Goto Github PK
View Code? Open in Web Editor NEWA library to add touch free capabilities to mobile applications.
A library to add touch free capabilities to mobile applications.
Hi I am trying to capture CameraGestureSensor gesture by implementing touchfreelibrary but i don't know why it is not not working...
It opens up application on mobile but doesn't provide any of the below callback to application
onGestureUp, onGestureDown, onGestureRight, and onGestureLeft.
Can any body please help.
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.
It would be cool for all gradle/maven users if the library was published to the maven central repository.
https://github.com/Manishearth/HandWave/tree/androidstudio
This code works on android studio
I'm getting the following error when running any of the sample codes.
My device details is a Motorola Moto X 2nd gen (2014) running Android 5.1 stock.
D/AndroidRuntime(18022): Shutting down VM
E/AndroidRuntime(18022): FATAL EXCEPTION: main
E/AndroidRuntime(18022): Process: edu.washington.cs.gesturescrollertest, PID: 18022
E/AndroidRuntime(18022): java.lang.RuntimeException: Unable to start activity ComponentInfo{edu.washington.cs.gesturescrollertest/edu.washington.cs.gesturescrollertest.MainActivity}: java.lang.RuntimeException: setParameters failed
E/AndroidRuntime(18022): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
E/AndroidRuntime(18022): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
E/AndroidRuntime(18022): at android.app.ActivityThread.access$800(ActivityThread.java:155)
E/AndroidRuntime(18022): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
E/AndroidRuntime(18022): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(18022): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(18022): at android.app.ActivityThread.main(ActivityThread.java:5343)
E/AndroidRuntime(18022): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(18022): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(18022): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
E/AndroidRuntime(18022): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
E/AndroidRuntime(18022): Caused by: java.lang.RuntimeException: setParameters failed
E/AndroidRuntime(18022): at android.hardware.Camera.native_setParameters(Native Method)
E/AndroidRuntime(18022): at android.hardware.Camera.setParameters(Camera.java:1967)
E/AndroidRuntime(18022): at edu.washington.cs.touchfreelibrary.sensors.CameraGestureSensor.setCameraSettings(CameraGestureSensor.java:172)
E/AndroidRuntime(18022): at edu.washington.cs.touchfreelibrary.sensors.CameraGestureSensor.<init>(CameraGestureSensor.java:191)
E/AndroidRuntime(18022): at edu.washington.cs.gesturescrollertest.MainActivity.onCreate(MainActivity.java:50)
E/AndroidRuntime(18022): at android.app.Activity.performCreate(Activity.java:6010)
E/AndroidRuntime(18022): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
E/AndroidRuntime(18022): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
E/AndroidRuntime(18022): ... 10 more
W/ActivityManager( 922): Force finishing activity 1 edu.washington.cs.gesturescrollertest/.MainActivity
I like this library. But unable to use in Android Studio.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.