krootl / augmentedvideotutorial Goto Github PK
View Code? Open in Web Editor NEWBring images to life with ARCore and Sceneform
Home Page: https://medium.com/@shliama/arcore-sceneform-simple-video-playback-3fe2f909bfbc
Bring images to life with ARCore and Sceneform
Home Page: https://medium.com/@shliama/arcore-sceneform-simple-video-playback-3fe2f909bfbc
Hi Oleksii,
Many thanks for this sample project and your great tutorial. Having no prior Android development experience, I was wondering how difficult would it be to support more than one image-video pair at a time. So far I commented out the code block that paused the video when it stopped being fully tracked, but that did not cut it.
I guess I'll have to modify this part as well, to include more than just one tracking image?
fullTrackingImages.firstOrNull()?.let { augmentedImage ->
try {
playbackArVideo(augmentedImage)
} catch (e: Exception) {
Log.e(TAG, "Could not play video [${augmentedImage.name}]", e)
}
}
I'll comment here for future reference if I figure this out on my own. Thanks again!
Hello where do I get the images to scan?
It seems to recognize the image but then does not play the video.
2019-07-02 14:23:54.817 4793-4793/? D/ArVideoFragment: TRACKING :: augmentedImage = test_video_1.mp4
2019-07-02 14:23:54.817 4793-4793/? D/ArVideoFragment: Tracking augmented image [test_video_1.mp4]
2019-07-02 14:23:54.812 4793-4793/? W/FEngine::loop: type=1400 audit(0.0:170451): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=21802 scontext=u:r:untrusted_app:s0:c213,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
2019-07-02 14:23:54.822 4793-4825/? E/libc: Access denied finding property "vendor.debug.egl.swapinterval"
2019-07-02 14:23:54.867 4793-4793/? E/native: hit_test.cc:376 generic::internal: No point hit.
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.