Comments (4)
My device SM-J410f not use useExternalCameraTexture = true, when i set to false, camera will open but laggy
from quickstart-android-java.
java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:291)
at java.nio.ByteBuffer.put(ByteBuffer.java:642)
at ai.deepar.deepar_example.MainActivity$12.analyze(MainActivity.java:468)
at androidx.camera.core.ImageAnalysis.lambda$setAnalyzer$1$ImageAnalysis(ImageAnalysis.java:367)
from quickstart-android-java.
java.nio.BufferOverflowException at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:291) at java.nio.ByteBuffer.put(ByteBuffer.java:642) at ai.deepar.deepar_example.MainActivity$12.analyze(MainActivity.java:468) at androidx.camera.core.ImageAnalysis.lambda$setAnalyzer$1$ImageAnalysis(ImageAnalysis.java:367)
My device SM-J410f not use useExternalCameraTexture = true, when i set to false, camera will open but laggy
Same issue here. any workaround for that
from quickstart-android-java.
Sorry, using external textures is an optional optimization for newer devices that we demoed in our quickstart example, some older devices will, unfortunately, crash from this. If you are unsure if the device in question supports external textures you should be able to easily disable them
If you are using the code from our quickstart you can just set
useExternalCameraTexture = false;
as you have.
The lag will change depending on the selected effect, some effects are more processor intensive than others.
from quickstart-android-java.
Related Issues (20)
- How to set video frame rate "Slow", "Medium", "Fast" HOT 1
- Android Camera API 2 issue HOT 2
- flash not opening How to solve it. HOT 1
- Fire effect is not working HOT 1
- Dynamic filters HOT 2
- App is getting crash on onResume HOT 2
- Null Pointer Dereference in switchEffectRawNative HOT 4
- Example crashes HOT 3
- Crash on bindImageAnalysis HOT 2
- Could not find :deepar HOT 1
- DeepAr support webrtc android native? HOT 2
- Proguard Issue HOT 1
- Integrate with Ant Media Server (AMS) HOT 1
- how to know changeParameterTexture finish?
- Moto g62 model recorded video can't play HOT 1
- Documentation issue - Specify supported Android studio version
- Video feed not starting on Samsung devices HOT 7
- Camera 2 API - support and sample
- Hi, I want to change face in realtime, but no effect HOT 1
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 quickstart-android-java.