InstantMesh icon indicating copy to clipboard operation
InstantMesh copied to clipboard

What is I wish to generate the mesh with multiple images ? - I have front view, left view, right view and back view of a chair - how can I create a mesh utilising all these images ?

Open codebugged opened this issue 1 year ago • 16 comments

Uploading hs-seating-liberty-studio-Frechette_Silos_153_RT.jpg…

codebugged avatar May 26 '24 20:05 codebugged

Cam this model be modified to support Multiple ground truth consistent input from the user?

yosun avatar May 29 '24 07:05 yosun

@yosun yes it can be modified just feed the input image of the same size

sumanttyagi avatar May 29 '24 08:05 sumanttyagi

@codebugged the size should be - 320320 into 6 images / 4 images as both 6 and 4 multi view can be used make changes in this line - https://github.com/TencentARC/InstantMesh/blob/main/run.py for line 183 images = rearrange(images, 'c (n h) (m w) -> (n m) c h w', n=3, m=2) # (6, 3, 320, 320) instead of above just load you images using any library which has size of 6 , 3320*320

sumanttyagi avatar May 31 '24 03:05 sumanttyagi

do you know which coordinate system they are using?

as a test: i tried inputting screenshots from 6 images from a 3D model in the 360%6 azimuth and also 20 and -10 deg elevations, but the results are kinda crap.

yosun avatar May 31 '24 07:05 yosun

please check , the order to be like images - chair_comfort multi view chair_comfort

sumanttyagi avatar May 31 '24 07:05 sumanttyagi

Curious - can you share your generated results from that?

yosun avatar May 31 '24 07:05 yosun

screenshot_0 screenshot_1 screenshot_2 screenshot_3 screenshot_4 screenshot_5

yosun avatar May 31 '24 07:05 yosun

@yosun put it in this size # (6, 3, 320, 320) a big picture with 6 images together

sumanttyagi avatar May 31 '24 07:05 sumanttyagi

yes but the generated result do not look good! i tried your input and got this!

Image from Gyazo

yosun avatar May 31 '24 07:05 yosun

okay tried it in the order above - slightly better but still not great

Image from Gyazo

yosun avatar May 31 '24 07:05 yosun

screenshot_0 screenshot_1 screenshot_2 screenshot_3 screenshot_4 screenshot_5

Image from Gyazo

yosun avatar May 31 '24 07:05 yosun

screenshot_0 screenshot_1 screenshot_2 screenshot_3 screenshot_4 screenshot_5

Image from Gyazo Image from Gyazo

pLEASE CHECK THE AZIMUTH AND degree to be 20 as per paper - deviations from this won't give you good results .


The azimuth, elevation and camera distance of the query image is randomly
sampled from a pre-defined range. The poses of the 6 target images consist of interleaving absolute elevations of 20◦
and −10◦
, combined with azimuths relative to the query image that start at 30◦
and increase by 60◦
for each pose.

so i see one problem your first image to get the better result should be the front view or frontal view it is kind of skewed. So please make first image as front facng then use the above guidelines of azimuths and pose

sumanttyagi avatar May 31 '24 08:05 sumanttyagi

screenshot_0 screenshot_1 screenshot_2 screenshot_3 screenshot_4 screenshot_5

hmm still kind of a mess Image from Gyazo

yosun avatar May 31 '24 08:05 yosun

Hi, is there any update about this problem?

SMohammadi89 avatar Dec 05 '24 16:12 SMohammadi89

Also wondering!

Stan-Stani avatar Apr 01 '25 18:04 Stan-Stani

Will the multi-view images without elevations work?

haoz19 avatar Apr 19 '25 20:04 haoz19