edent / 3D-Screenshot-to-3D-Model

Quick script to transform screenshots of 3D movies into a 3D meshes
Other
34 stars 12 forks source link

usage: screenshot_to_mesh.py [-h] image_file screenshot_to_mesh.py: error: the following arguments are required: image_file #6

Closed HasanthaKarunachandra closed 2 years ago

HasanthaKarunachandra commented 4 years ago

what is this error? usage: screenshot_to_mesh.py [-h] image_file screenshot_to_mesh.py: error: the following arguments are required: image_file

edent commented 4 years ago

As per the README - you need to pass it the path to an image. You can find sample images on https://shkspr.mobi/blog/2018/04/reconstructing-3d-models-from-the-last-jedi/

edent commented 2 years ago

What image file are you using?

edent commented 2 years ago

What's the exact command you are running in the terminal?

edent commented 2 years ago

Did you read the README?

It says

Usage python3 screenshot_to_mesh.py screenshot.png

So you need to have an image file in the same directory as the Python file. I have included some in the samples folder. Copy one to the same directory as your Python file and run the code. For example:

python3 screenshot_to_mesh.py Amazing_Spiderman_1.png