Hi Everyone,
I know that DAT file actually is a ZIP file including:
- config.feat
- config.info
- Target#01.kpts
- Target#01.tex.jpg
- Target#02.kpts
- Target#02.tex.jpg
- ...
JPG file is a scaled down grayscale version of the original target image.
But in Unity you can see that just after adding "Image Target" object to your scene and importing your Vuforia Dataset to the project, your target image can be seen in RGB format right in the middle of the scene. Although the image will automatically added to "Assets/Editor/Vuforia/ImageTargetTextures/<dataset name>/<target name>_scaled.jpg" path and it is in RGB format.
So I think the RGB format of the target image should be available or extractable somewhere in the DAT file content.
Do you have any clue how I can take out RGB image file from the DAT file?
I want to show the dataset content (Target No, Target Name, Target ID(internal use), Target Image, Binding Content) in my App Web Dashboard and let my user look at his/her AR Dataset fast and simple. I don't want to refer him/her to go to the Vuforia Dev Portal to see whats happening.
Thank you so much.
Hello,
The RGB image you're seeing in the Unity Editor is generated when the device database is created on the Vuforia Engine Target Manager. During import to the Unity Editor, this image is copied into the project as a helpful icon for developers.
Vuforia Engine computer vision algorithms work in grayscale, so there is no need to package the color image for the Vuforia Engine SDK.
Thanks,
Vuforia Engine Support