HMS-Core / hms-3d-modeling-demo

HUAWEI 3D Modeling Kit project contains a sample app. Guided by this demo, you will be able to implement full 3D Modeling Kit capabilities, including 3D object reconstruction and material generation.
Apache License 2.0
72 stars 20 forks source link

Feature Request - Model scale #8

Open lvonasek opened 2 years ago

lvonasek commented 2 years ago

Would it be possible to receive result with approximately correct scale?

Considering that the mobile camera focal length is provided you should be able to do the triangulation and calculate the scale of the model, right?

Mike-mei commented 2 years ago

We don't support this RGB (image) method to obtain result. May I ask what your scenario is? Is there any other way to implement the function in your project in addition to the one in your issue? We will consider adding this capability if it's highly needed in the future. But it needs to be reminded that additional sensors are needed to achieve this capacity, and sensors have high requirements on hardware equipment, which need to be tested with appropriate equipment.

lvonasek commented 2 years ago

There is increasing demand of composing scenes using created 3D models. The problem is that the models have different scales and setting the scale backwards manually ends usually wrong.

Image for example scanning objects in a furniture shop and using AR put it in your room. If the scale is wrong you might do a wrong decision.

I tried to automatically rescale the results myself but the AR pointcloud I collected had different orientation and contained background points. I would need at least for some vertices of the scan UV coordinates in captured photos...

CxBingo commented 2 years ago

service exception error code 1112