Comments (1)
I'm not sure what is happening, but the black screen output is one of the more common OpenGL errors. What device and Android version are you using?
Have you looked for facefilter
errors in logcat
?
Can you provide details for the following?
- device
- android release
- android studio version
- ndk version
- cmake version
Can you confirm that frame callbacks are being received in the native C++ layer?
I would probably try to cut out the face tracking and display and just test a simple rgb->grayscale shader. You can get this behavior in the demo app by disabling the tracker allocation here:
drishti/src/examples/facefilter/lib/facefilter/renderer/Renderer.cpp
Lines 120 to 127 in c4c74f0
It will skip the tracking on each frame here:
drishti/src/examples/facefilter/lib/facefilter/renderer/Renderer.cpp
Lines 67 to 78 in c4c74f0
There are a set of unit tests that are managed with the gauze framework. It will install and launch the tests on your device if it is tethered and visible via adb devices
. I'm curious if those are passing on your device. It could help to isolate configuration issues in the C++ layer vs application layer problems in the Android app. You can run these by adding -DRISHTI_BUILD_TESTS=ON DRISHTI_HAS_GPU=ON
to the cmake build command (--fwd ...
in case of polly.py
commands).
from drishti.
Related Issues (20)
- mac os/android studio build error HOT 11
- Hide drawn curves and draw other effects/ android demo HOT 11
- Build problems because of broken glm verions + gcc 7.3 HOT 2
- make model file into lib HOT 5
- Drishti with Xcode 10.2 HOT 19
- Drishti does not compile with linux gcc anymore. HOT 1
- How I compile this project in android studio HOT 3
- Hide Camerapreview in android demo HOT 1
- How I compile this project in Xcode HOT 7
- Build failed-macOS HOT 2
- Example not building for android studio
- Could you give me some hints about the algorithm for this cool project?
- ABI configuration problem
- drishti works with 'armeabi-v7a', 'arm64-v8a only???
- iOS build failed. HOT 1
- iOS facefilter example error.
- SIGSEGV on System.loadLibrary HOT 1
- iOS 14.5 compile error
- Build android-studio app fail.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drishti.