使用Vuforia Area Target Generator创建Area Target时E57验证失败求助
解决Vuforia Area Target Generator的E57文件验证失败问题
在使用Unity配合Vuforia Area Target Generator创建Area Target时,上传E57点云文件遇到以下验证失败错误:
E57 processing: Validation of the E57 file failed. [ FAIL ] E57 shall contain one or more Image2D structures that have either 'sphericalRepresentation' field or 'pinholeRepresentation' field. [ SUCCESS ] 'pose' field in Image2D structure shall be defined. [ SUCCESS ] Spherical images shall have minimal resolution of 4096x2048 and their width = 2 * height. Pinhole images shall have minimal resolution of 1024x1024 and must be square (width = height).
核心问题说明
带颜色的点云不能替代E57中要求的嵌入图像(全景图/2D针孔图像)。Vuforia要求的是E57文件包含带有sphericalRepresentation或pinholeRepresentation字段的Image2D结构,颜色点云只是点的RGB属性,不满足该验证规则。
可行解决方法
1. 使用Autodesk ReCap
- 导入你的E57点云和PNG全景图
- 利用ReCap的图像配准功能,通过点云特征点匹配完成全景图与点云的对齐
- 导出为标准E57文件,ReCap会自动在文件中添加符合要求的Image2D结构及对应位姿
2. 使用FARO Scene(需授权)
- 导入E57点云后添加PNG全景图文件
- 通过手动对齐或自动配准工具,将全景图的位姿与点云坐标系匹配
- 重新导出E57,确保图像数据被正确嵌入到文件结构中
3. 手动修改E57(进阶方案)
- 借助开源的E57Lib编写脚本,将PNG全景图以
sphericalRepresentation的形式添加到E57的Image2D结构中 - 必须手动指定全景图对应的位姿参数(与点云坐标系一致的旋转、平移数据),否则验证仍会失败
关于非支持扫描仪的说明
Vuforia允许非官方支持设备生成的E57文件,但必须严格符合E57标准的Image2D结构要求,仅靠颜色点云无法通过验证。
内容的提问来源于stack exchange,提问作者Moritz
相关产品推荐
相关产品推荐

