kosiara / artoolkit-android-studio-example Goto Github PK
View Code? Open in Web Editor NEWARToolkit example "SimpleAR" project in Android Studio
ARToolkit example "SimpleAR" project in Android Studio
Is it possible to load 3d content (.osg) and marker/NFT dataset from on-line location for android ? Like if we have 500 NFT images and corresponding 3d models. And we want to load them from online only according to requirement.
i just Downloaded and Want to run android studio sample
But it shows me some Compile Errors
Error: The file name must end with .xml
/SampleAR-Markers--master/app/src/main/res/assets/marker_at16.patt
Error: The file name must end with .xml
Error:Execution failed for task ':app:mergeDebugResources'.
/SampleAR-Markers--master/app/src/main/res/assets/marker_at16.patt: Error: The file name must end with .xml
How should to fix it ?
How do we add new markers?
Hello, I'm trying to create a project for the university using your project as a base, I include the "base" module in my new project, I copied and pasted the folders (assets and jniLibs) and I modified the manifest, but I'm having a problem, when the camera should open, the application closes without any exeption.
when starting does not detect immediately and shows the following errors
07-27 16:57:12.262 14988-14988/org.artoolkit.ar.samples E/libARWrapper: ARController (native): ARController::startRunning(): called, start running
ARController (native): VideoSource::configure(): video Source video configuration: "-format=NV21"
ARController (native): VideoSource::configure(): video Source camera parameters: "Data/camera_para.dat"
ARController (native): [error]Opening Android Video Source.
07-27 16:57:12.262 14988-14988/org.artoolkit.ar.samples I/libar: Using supplied video config "-format=NV21".
Requesting images in NV21 format.
07-27 16:57:12.269 14988-14988/org.artoolkit.ar.samples I/ARActivity: Camera initialised
07-27 16:57:12.426 14988-15003/org.artoolkit.ar.samples V/RenderScript: 0xb3516000 Launching thread(s), CPUs 4
07-27 16:57:12.432 14988-14988/org.artoolkit.ar.samples E/libARWrapper: ARController (native): [error]Loading single AR marker from file 'Data/patt.hiro', width 80.000000.
07-27 16:57:12.434 14988-14988/org.artoolkit.ar.samples E/libARWrapper: ARController (native): [error]ARController::addMarker(): called
ARController (native): ARController::addMarker(): Added marker (UID=0), total markers loaded: 1, exiting, returning true
07-27 16:57:12.434 14988-14988/org.artoolkit.ar.samples I/ARActivity: Scene configured successfully
07-27 16:57:12.434 14988-15076/org.artoolkit.ar.samples I/libar: cparamSearch beginning search for OnePlus/A0001/MSM8974, camera 0, aspect ratio 4:3.
07-27 16:57:12.501 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Autofocused....
07-27 16:57:13.488 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 19.011406
07-27 16:57:14.547 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 14.164306
07-27 16:57:15.595 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 14.312977
07-27 16:57:16.656 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 14.137606
07-27 16:57:17.695 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 21.174206
07-27 16:57:18.707 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 21.73913
...
the camera is shown but nothing is detected, I realized that with some time it starts to work, or if I disable the internet manually, which generates a timeout from a connection with some server ...
07-27 16:58:13.459 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 20.114943
07-27 16:58:13.935 14988-15076/org.artoolkit.ar.samples E/libar: Error performing CURL operation: Error (7). Failed to connect to omega.artoolworks.com port 443: Connection timed out.
Error -4 returned from cparamSearch.
07-27 16:58:13.935 14988-15076/org.artoolkit.ar.samples E/libARWrapper: ARController (native): [error]Unable to automatically determine camera parameters. Using supplied default.
07-27 16:58:14.056 14988-15076/org.artoolkit.ar.samples E/libARWrapper: ARController (native): [error]Android Video Source running 320x240.
07-27 16:58:14.096 14988-14988/org.artoolkit.ar.samples E/libARWrapper: ARController (native): ARController::initAR() called
07-27 16:58:14.098 14988-14988/org.artoolkit.ar.samples E/libARWrapper: ARController (native): [error]Marker 0 now visible
07-27 16:58:14.471 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 19.782394
07-27 16:58:15.515 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 20.095694
07-27 16:58:16.528 14988-14988/org.artoolkit.ar.samples I/CameraPreview: Camera capture FPS: 19.743336
I try with this demo its work properly but I need to customize using other image so please explain how can generate custom marker or pattern for assets folder ..
Thank you.
There is no any tutorial or help documentation on how to setup artoolkit with android studio?
The object appears and disappears accordingly but does not track to the marker.
your app is using a version of libpng containing a security vulnerability
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.