cmauri / eva_facial_mouse Goto Github PK
View Code? Open in Web Editor NEWCamera based mouse emulator for Android
Camera based mouse emulator for Android
When ever I launch the app, my camera goes black for all apps and I have to reboot my phone
When on the home screen we could onto find a way to move between screens to get to more apps.
Is there a way to swipe between screens?
Device: Samsung GII Model GT-9100. Android v 4.1.2
Please Help - Error:Execution failed for task ':eviacam:ndkBuild'. > Process 'command 'C:\Users****\AppData\Local\Android\Sdk\ndk\r13b/ndk-build.cmd'' finished with non-zero exit value 2
very interesting project !!!!
Hi
The Eva facial mouse is a grate app.
I want to add new features to it
I downloaded it with the 'WizarDroid' folder
I need help getting started
I am using android studio and the default emulator or and old tablet as emulator
i will appreciate very much your help
when I try to run "avicam_api" it doesn't start
this is the error I get
Error:Execution failed for task ':eviacam:ndkBuild'.
A problem occurred starting process 'command 'null/ndk-build.cmd''
I can run the "avicam_api_demo" but I can't connect or do anything with it
This is the log I get
m.crea_si.eviacam.api_demo D/eviacam_api: Attempt to bind to EViacam API
stem_process W/ActivityManager: Unable to start service Intent { act=com.crea_si.eviacam.slavemode.SlaveModeService pkg=com.crea_si.eviacam.service } U=0: not found
m.crea_si.eviacam.api_demo D/eviacam_api: Cannot bind remote API
m.crea_si.eviacam.api_demo W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
stem_process W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@63ae019 attribute=null, token = android.os.BinderProxy@a8cfa0b
D/AudioFlinger: mixer(0xf4503b40) throttle end: throttle time(41)
m.google.android.gms.persistent W/ContentTaskController: Invalid task was provided to stopTracking.
m.google.android.gms W/DriveInitializer: Background init thread started
and
Sir,
Can you please help me resolving this issue.I just clone the repository and the project failed to build due to this error in following code.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
}
}
allprojects {
repositories {
jcenter()
}
}
What is the difference between the Click and Long click?
How do you activate the EVA keyboard? We noted it had to be activated and wen we checked it was switched on in the settings. But when we tried to use it it would not come up.
We did get a keyboard to come up in the messages app, but we could not dwell click on the keys (I suspect this was not the EVA keyboard).
Devise: Samsung GII Model GT-9100. Android v 4.1.2
We tried the 'context" button on the sidebar, but could not work out what it does.
Does it have a use? Should we leave it on, or off?
Hello,
I have this error when opening the project in Android Studio. My system is Mac.
Error:Project :eviacam declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :WizarDroid:wizardroid.
In Gradle build it says: Error:A problem occurred configuring project ':eviacam'. > Could not resolve all dependencies for configuration ':eviacam:_debugApk'.
I installed all sdks and ndks. Cloned the project.
Created a text file with
ndk.dir=/Users/deniskulikov/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/deniskulikov/Library/Android/sdk
(path is correct according to Android studio preferences.)
Named it local.properties and placed it in eva facial mouse folder. I can see it in Android Studio. It is in the same folder as settings.gradle so should be fine
Downloaded Android Opencv, unzipped it and created environment.
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/hh/gqrf_p5x5l7c_qh359vq2zcr0000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.LmYZIsJYiy/Render
TERM_PROGRAM_VERSION=400
TERM_SESSION_ID=7527ECB3-532E-4E59-8629-FBDCB52FD519
USER=deniskulikov
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.FrsY1CdhRJ/Listeners
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
PWD=/Users/deniskulikov
LANG=en_US.UTF-8
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/deniskulikov
LOGNAME=deniskulikov
_=/usr/bin/env
my settings.gradle says:
include ':opencv'
include ':eviacam_api'
include ':input_method_aidl'
include ':eviacam'
include ':eviacam_api_demo'
include ':softkeyboard'
include ':WizarDroid:wizardroid'
build.gradle says:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
}
}
allprojects {
repositories {
jcenter()
}
}
Then opened the project and got the error.
What can I do???
Thank you!
Hi,
Error in build.gradle as following message,
Build file '/Users/mac/Downloads/eva_facial_mouse-develop/eviacam/build.gradle' line: 8
A problem occurred evaluating project ':eviacam'.
Process 'command 'git'' finished with non-zero exit value 128
In first line of build.gradle, "import org.apache.tools.ant.taskdefs.condition.Os", "tools" got red word.
Thanks,
Nappy
Hello Sir,
How to set when the application goes background it will be stop it means that, I create the specific content or interface for this application. When i press the home button the application goes to background but the Services still start. How the services can stop.
Hi,
I was trying to build EVA facial mouse, I have correct path set for OPENCVHOME, and have android dk and ndk path in local.properties file as well. But, even after that if I try to build, it fails at this step:
Android NDK: android-9 is unsupported. Using minimum supported version android-14.
Android NDK: WARNING: APP_PLATFORM android-14 is higher than android:minSdkVersion 1 in src/main/AndroidManifest.xml. NDK binaries will *not* be comptible with devices older than android-14. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
[armeabi] Install : libopencv_java.so => libs/armeabi/libopencv_java.so
[armeabi] Compile++ thumb: visionpipeline <= crvimage.cpp
[armeabi] Compile++ thumb: visionpipeline <= timeutil.cpp
[armeabi] Compile++ thumb: visionpipeline <= normroi2.cpp
[armeabi] Compile++ thumb: visionpipeline <= facedetection.cpp
[armeabi] Compile thumb : android_native_app_glue <= android_native_app_glue.c
[armeabi] StaticLibrary : libandroid_native_app_glue.a
[armeabi] SharedLibrary : libvisionpipeline.so
bundle/sources/android/native_app_glue/android_native_app_glue.c:233: error: undefined reference to 'android_main'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [src/main/obj/local/armeabi/libvisionpipeline.so] Error 1
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':eviacam:ndkBuild'.
> Process 'command '/Users/shreya/Library/Android/sdk/ndk-bundle/ndk-build'' finished with non-zero exit value 2
Any help would be appreciated. Thanks!
I have installed Chrome on my phone and I am unable to click on any links, or menus in the browser. I am using:
Samsung Galaxy GT-I9100 Android 4.1.2
i got this error when i build the apk
ndk version 16
every thing up to date
Good afternoon.
The program is installed on TV box (H96 max, Rockchip RK 3399, Android 7.1.2), connected web camera via USB (tried on different models of cameras - Logitech, Genius, ...).
In Skype and other programs the picture is normal - not inverted (at least on a vertical - horizontal inverted in some).
The program EVA mouse image in the camera is inverted (upside down) and the program can't recognize the face. If physically flip the camera-the face is recognized and the program works fine vertically, but turned horizontally (when you turn the head to the right the cursor goes to the left).
Tell me how to correct: change the settings in your operating system or configuration files of the program EVA a mouse... or can you add a configuration possibility of the inversion of the mouse pointer can travel separately along different axes?!
Goodbye Vlad
We were unable to answer a phone call.
When receiving an incoming call the screen came on and EVA was working, but the dwell click would not activate either the answer or reject buttons.
Device: Samsung GII Model GT-9100. Android v 4.1.2
Hello,
I have a Sony Xperia Z2 Tablet with Marshmallow (6.0.1). Unfortunately some apps don't react on klicking and sometimes there are no scroll-buttons showing up. Are you working on supporting marshmallow in the near future or should I downgrade to an earlier version of Android? Thank you for your efforts.
Ritschmen
During compile - I get an error for missing OpenCV.mk file. When I tried to look for the file - there is no file with that name in any of the directories included in the package on git repository.
I downloaded opencv package from git but that also does not have all the related files.
Can some one please help me with the above ?
Hi Cesar, you did such a great job with EVA Facial Mouse.
As everything in this project is written in english I will keep using this language, for the benefit of the general users, although I'm spanish.
We are using it with ALS patients and find it really useful, a real enabler application. It worked smoothly in the smartphones we tested. The association I'm volunteering with, have several tablets of the model:
Woxter Tablet PC 98 IPS dual, con Android 4.1.1
The issue is that the movement of the pointer in the horizontal axis is just the opposite to the head movement, i.e. if I move my head to the left, the pointer moves to the right, just in the counterintuitive way.
If you need further information, just let me know. If you are interested in knowing in which models we tested, again, just let me know.
Thank you so much and best regards.
After the phone turns into the sleeping mode, it is not possible to wake it up again.
I could not find the app in F-Droid.
Would it be possible to create a click based on an Xbox gamepad button press? I have tried implementing an onKeyDown listener in some of the classes, but have not been successful in capturing gamepad inputs.
This could be a helpful feature if using the Xbox adaptive controller as an input method. Being able to just look and click could be valuable to someone who has some ability to press a large button.
Thanks for pointing to install. After setting environment variables, I get the following error (seems like :
android_native_app_glue.c:233: error: undefined reference to 'android_main' is the issue).. Am I missing a library ?
Android NDK: android-9 is unsupported. Using minimum supported version android-14.
Android NDK: WARNING: APP_PLATFORM android-14 is higher than android:minSdkVersion 1 in src/main/AndroidManifest.xml. NDK binaries will not be comptible with devices older than android-14. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
[armeabi] Prebuilt : libopencv_java3.so <= /Users/rajan/opencv/sdk//native/jni/../libs/armeabi/
[armeabi] Install : libopencv_java3.so => libs/armeabi/libopencv_java3.so
[armeabi] Compile++ thumb: visionpipeline <= crvimage.cpp
[armeabi] Compile++ thumb: visionpipeline <= timeutil.cpp
[armeabi] Compile++ thumb: visionpipeline <= normroi2.cpp
[armeabi] Compile++ thumb: visionpipeline <= facedetection.cpp
[armeabi] Compile++ thumb: visionpipeline <= visionpipeline.cpp
[armeabi] Compile++ thumb: visionpipeline <= visionpipeline_jni.cpp
[armeabi] Compile thumb : android_native_app_glue <= android_native_app_glue.c
[armeabi] StaticLibrary : libandroid_native_app_glue.a
[armeabi] SharedLibrary : libvisionpipeline.so
/Users/rajan/Library/Android/sdk/ndk-bundle/sources/android/native_app_glue/android_native_app_glue.c:233: error: undefined reference to 'android_main'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [src/main/obj/local/armeabi/libvisionpipeline.so] Error 1
:eviacam:ndkBuild FAILED
FAILURE: Build failed with an exception.
When the camera is open, it freezes the phone. The camera has to be closed by hand.
It is not possible the scroll down the Messenger.
We downloaded the Google Now Launcher to Samsung J5 with Android 6.0.1. The scroll buttons appeared, although the dashboard interface changed. But the phone started to run slowly and it also interrupted. Overall conclusion is that the Launcher didn´t work well. And it didn´t work at all on Huawei P10 Lite and Xiaiomi.
Thanks for you great work.
I try to build apk by your source code ,seems it doesn't works.
This is from message Gradel Sync:
D:\eva\eviacam\build.gradle
Error:(8, 0) Process 'command 'git'' finished with non-zero exit value 128
This is event log:
10:55:04 Gradle sync started
10:55:12 Gradle sync failed: Process 'command 'git'' finished with non-zero exit value 128
Consult IDE log for more details (Help | Show Log)
10:56:09 Gradle sync started
10:56:11 Gradle sync failed: Process 'command 'git'' finished with non-zero exit value 128
and this is source code:
`/* Gets the version name from the latest Git tag */
def getVersionName = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
}
return stdout.toString().trim()
}`
Hello Sir,
I have a samsung galaxy s7 edge with Nougat 7.0. Unfortunately When I launch the application, it crashes and show this EVA Facial Mouse crashed. Sir please help What changes should I make?
Apart of Google we have in the Czech Republic another search engine - Seznam.cz. It has still 50% of the market. Part of the search engine are also email accounts (like gmail). And when using the email interface, there are following problems:
The application didn´t work well in outdoor conditions so well as in the indoor. Sometimes it worked, sometimes it didn´t. The square wasn´t red.
We are working with disabled kids with very limited capabilities. Most of them can't control their hands but control their head (also limited).
So we wrote special application with very large buttons for them to control some home appliances. EVA is working well with this application!! The kids are very happy!
Some of the kids are visually impaired and can't see the small cursor
I wish we could have a much bigger and clearer cursor for them.
Is it possible?
It is not possible to open photos in the galery.
Hi, I'm trying to study your app with source.
Unfortunately, I think click function doesn't work in this demo version.
can you tell me how to fix this problem? (maybe with source code, or you can just update your source)
I know that your app in google store works well, but I cannot study and modify anything without source.
and I'm also trying to add slide(maybe scroll) function with adding a small 'scroll down' button.
would it be possible?
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.