Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem about 7_generate_uv_map.py #80

Open
lyyiangang opened this issue Mar 15, 2021 · 1 comment
Open

Problem about 7_generate_uv_map.py #80

lyyiangang opened this issue Mar 15, 2021 · 1 comment

Comments

@lyyiangang
Copy link

In 7_generate_uv_map.py, following code is trying to verify the uv_position_map.

# - verify
import cv2
uv_texture_map_rec = cv2.remap(image, uv_position_map[:,:,:2].astype(np.float32), None, interpolation=cv2.INTER_LINEAR, borderMode=cv2.BORDER_CONSTANT,borderValue=(0))
out_name = '{}/uv_texture_map_rec.jpg'.format(save_folder)
io.imsave(out_name, np.squeeze(uv_texture_map_rec))

In my opinion, the output uv_texture_map_rec should be similar with uv_texture_map.
But I get some thing different.

uv_texture_map:
image

and uv_texture_map_rec:
image

There are a lot of differences between both.

@jo-dean
Copy link

jo-dean commented May 24, 2021

i run the same result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants