AR-Markers Progress Update
With the recent code review the current progress is:
- Modified
ARGraphics
Class:
- Updated the
trackableType
method to handle bothPlane
andAugmentedImage
cases. - Implemented the
getTrackablePolygon
method forAugmentedImage
objects.
2. Modified ARTrackable
Class:
- Updated the
isImage
method to handleAugmentedImage
objects.
3. Updated Trackable
Handling in ARGraphics
:
- Updated the loop that processes trackable objects to handle both
Plane
andAugmentedImage
cases. - Ensure there are no null values in the processing.
The major issue was that Processing was treating the added images as a Plane and causing issues with the Trackable type. Though this issue has been resolved, the current Processing Android has a major flaw. It’s storing all the Data in Android/data folder for sketches and with the updates after Android 11, the data can’t be accessed from that folder. I’m currently working to resolve this issue as it can cause major failures in not only my project but in PDE android itself.
You can read more about this here:
https://source.android.com/docs/core/storage/scoped