Giter VIP home page Giter VIP logo

artoolkitjpctbaselib's People

Contributors

michaelboyles avatar plattysoft avatar

Stargazers

 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

artoolkitjpctbaselib's Issues

Cache camera parameter files

Camera parameters have to be downloaded from ARToolkits server. This uses a curl command to get the file.

It would be nice to cache camera parameters on a device so that once a device has connected to the server once and downloaded this file once it does not have a dependency on being online again.

Not sure how possible this is but worth some investigation.

Perhaps we could even provide a small cache of popular devices' parameter files so that the user never actually needs to be online. Or is there a way to do this at install time when the user is obviously connected to the internet?

Understanding of the project

Hi! Thanks for this project, I was searching for this exact thing. Can someone help me better understand how it works though?

I was trying to create an app for NFT tracking. I saw in "Other notes" that I can use the ARToolKitJpctBaseLib exactly in the same way as ArBase. However, as the NftWitModels example is already created, can I just change some specific parts in that and use it directly?
Furthermore, can you provide us with a guide as to how we can use our own images and 3D-models in this app? (At this moment, the image to be seen by the phone is "moon_ground", the texture is "astnt1_1" and the model is "astronaut1.3ds", am I right?)

Thanks in advance!

Android Studio Gradle fails

Following the instructions on the projects GitHub landing page, I suffer from circular references and generally unable to build the source.

Camera Calibration is down

I noticed after running the sample codes that it was taking a very long time before the markers would initialize but after it found them the first time everything was perfect. From a little research it seems that the camera calibration server that is being used is down so you have to wait for a timeout after starting the app.

Is these any way I can work around this please?

Marker configuration string

This is an issue related to ARToolkit but, as this library is intended to make things easy for the user, perhaps we can provide some additional utility classes.

ARToolkit includes three types of marker configuration strings:

single;path_to_pattern_file;pattern_width
multi;path_to_mutli_config_file
nft;path_to_pattern_file;pattern_width

These are very poorly documented on ARToolkit's website and if you have lots of marker types you could end up littering your code with specially formatted strings with no contextual information about what the different parts represent. E.g.

private String marker = "single;data/pattern;80";

'Single' what? '80' what?

I propose we add a utility to encapsulate this special formatting:

public interface MarkerConfigString
{
    String getNative();
}

public class SingleMarkerConfigString implements MarkerConfigString
{
    private static final String FORMAT = "single;%s;%d";

    public SingleMarkerConfigString(final String pathToPatternFile, final int patternWidth)
    { /* set fields */ }

    public String getNative()
    {
        return String.format(FORMAT, pathToPatternFile, patternWidth);
    }
}

// etc.

If we then update TrackableObject3D to take a MarkerConfigString rather than a regular string, it's immediately obvious for a user what the available options are by looking up the concrete implementations. Additionally, they don't have to read the documentation to find out what format the string needs to be in.

The system cannot find the file specified

When I open the example projects my Gradle sync fails. The error message is:"The system cannot find the file specified". The file it refers to is "local.properties", i e this row:
properties.load(project.rootProject.file('local.properties').newDataInputStream())

OpenSLL Issue

Hi mate....

I using your library that help me for making AR 3d feature in my app.

But I got trouble when I uploaded the app to Google Play.

My app is rejected by Google.

The Reason is any 3rd party / library that use openSSL with old version.

OpenSSL

The vulnerabilities were fixed in OpenSSL versions beginning with 1.0.1h, 1.0.0m, and 0.9.8za. To confirm your OpenSSL version, you can do a grep via:

$ unzip -p YourApp.apk | strings | grep "OpenSSL"

You can find more information and next steps in this Google Help Center article.

OpenSSL

The vulnerabilities were addressed in OpenSSL 1.02f/1.01r. To confirm your OpenSSL version, you can do a grep search for:

$ unzip -p YourApp.apk | strings | grep "OpenSSL"

You can find more information and next steps in this Google Help Center article.

Can you fix it? Please :) hehe

Thanks

Can't change resolution from 320x240

Hi,

I'm using Lenovo TB2-X30L 10.1 inch tablet. I can't change default camera preview resolution which is 320x240.

Things I already tried:

Modifying preferences.xml, changing values such as pref_defaultValue_cameraResolution but didn't help.

Going to settings (Camera preference activity), it allows me to change and select resolution but after confirming the change, resolution remains the same.

Then I tried importing the whole library as source and going to ARActivity.java, tried changing width/height variables in cameraPreviewStarted() method but then the app crashes and nothing starts.

In this forum https://archive.artoolkit.org/community/forums/viewtopic.php?f=28&t=23113&p=28378&hilit=320#p28378 they advice to decompile Assets/Plugins/Android/ResLib-release.aar file, modify it and compile it back again. However this advice is only for arunity library. Our library doesn't use these files.

Any ideas how to make it work?

The provided samples are not running

Hi..Thanks for the project.
I downloaded the projects and all the three samples are compiled fine but 'ArJcptSample' and 'CubeSample' are not running in my mobile.
Where am i wrong?

FOV

Has someone an idea how correctly calculate field of view? Seems to be working while setting view to 1080p on 720p device (SONY Z3 Compact), or 720p on 720p device (Samsung Galaxy Tab 2). Unfortunately, 1080p on 1080p device (HTC one m8, Sony Z1) is not working. Please, share any solutions or ideas.

Edit:
On 1080p devices 3d models are smaller, and are not stuck to marker (follows camera like in parallax effect).
It's known issue since 2015. I hope someone has figured solution out.

Edit2:
I have calibrated HTC by "ARToolKit Camera Calibrator" from Google Play. It's working good now.
But on SONY Z1 is bug as in https://github.com/artoolkit/artoolkit5/issues/131

ArJcptRenderer encapsulates potentially necessary fields

ArJcptRenderer encapsulates World, Camera and FrameBuffer objects. These fields should be accessible in some way. For example, I needed all 3 of these within my activity to calculate a normal based on a user tapping the AR scene.

Either getters should be provided, or these fields should be made protected so that users can extend ArJcptRenderer and add their own getters if required.

I'm happy to implement this if you advise on the preferred approach.

Importation on Android Studio

Just imported the project. I am having this issue: "No service of type Factory available in ProjectScopeServices".

Android studio dependency doesn't use latest version

My understanding is that i just have to add the compile() line to the build.gradle, and not manually download any files. However, that doesn't install the latest version (with the proper encapsulation for the renderer). Is it updated?

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.