Coder Social home page Coder Social logo

artoolkit-android-studio-example's People

Contributors

kosiara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

artoolkit-android-studio-example's Issues

marker/NFT dataset from on-line location for android

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.

Sample Project Compile Error: The file name must end with .xml

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 ?

Problem with Camera

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.

Delay to start detection

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

How to setup?

There is no any tutorial or help documentation on how to setup artoolkit with android studio?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.