Professional solutions for cartoon picture 3Dization
The following workflow is recommended for the specificity of the cartoon style:
- pretreatment stage: Enhance the contour lines using tools like Photoshop (Filter > Stylize > Find Edges) to keep the color block areas uniform in color.
- segmentation technique: Assign separate labels for different color blocks (e.g. "character_hat", "character_face") in Grounded SAM annotation.
- Optimized combination of parameters: Set style=fantasy in the gradio_demo.py interface, or add -style-cartoon on the command line to enhance stylization
- Material Matching: After generation, use Blender's Shader Editor to add a Cel Shader material, keeping the 2D original style.
The project example data contains the Cartoon-Style catalog, which contains preset parameter combinations. For Japanese manga styles, it is recommended to lower the -texture-detail parameter (default 0.7 to 0.4); for American manga styles, it is necessary to increase the -shape-regularization to 1.2. Team tests have shown that increasing the -denoising-steps (40→60) significantly improves the quality of the generated complex structures such as cartoon hair. denoising-steps (40→60) can significantly improve the generation quality of complex structures such as cartoon hair.
This answer comes from the articleMIDI-3D: An open source tool to quickly generate multi-object 3D scenes from a single imageThe




























