如何解决vuforia中上传目标图片错误_颜色_模型的问题?

问题描述 投票:0回答:2

如何解决vuforia上传目标图片错误_颜色_模型的问题?

造成这种情况的原因又是什么?

我只是想开始研究 AR 开发,以展示我的 3D 艺术。 谢谢

请帮我解决问题

image upload target
2个回答
0
投票

将图像添加到 Vuforia 时看到的消息“Wrong_Color_Model”表明您尝试上传的图像的颜色模型不正确。 Vuforia 要求图像采用 RGB(红、绿、蓝)颜色模型才能用作目标。

解决方案:

1.  Check the color model of your image:
•   It is possible that the image is currently in CMYK (Cyan, Magenta, Yellow, Black) or Grayscale, which are commonly used in printing. You need to convert your image to RGB.
2.  Convert the image to RGB:
•   Open your image in an image editing software like Adobe Photoshop or GIMP.
•   In Photoshop, go to the Image > Mode menu and select RGB Color.
•   In GIMP, you can do the same via Image > Mode > RGB.
•   Then save your image in .png or .jpg format and try adding it to Vuforia again.
3.  Try uploading the image to Vuforia again:
•   After converting the image to RGB, try adding it as an “Image Target” in Vuforia again. This should resolve the issue.

这应该可以帮助您解决 Vuforia 的问题。如果您还有任何疑问,请随时询问!


0
投票

RGB 图像甚至可能会出现此错误。就我而言,这是使用 OSX 拍摄的屏幕截图。

对我来说,我可以在 Photoshop 中使用

Edit > Assign Profile

enter image description here

我从

Profile: Display
变成了
Working RGB: sRGB IEC61966-2.1

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.