![]() ![]() This worked pretty well and once the Python app was setup to take variables it was as simple as calling: const python = spawn('python', ) My solution was to wrap the Python app in a way that it could be called by the NodeJS app. I am familiar with Flask, a Python library for making web servers, but I am much more comfortable working with NodeJS and Express. I could stop there, but it needed to work online. png and can be used for a Minecraft skin. This resulting image was then exported as a. For the rest of the skin it was just filled in with black. My method of translation was to make a new empty file with the resolution of a full Minecraft skin and then cut from the cropped skin file to place each element in the correct spot. So instead of looking like the above image, the raw texture files look like this: Standard Minecraft Skin Now I got to the harder part, MC skins are wrapped around the player model. This was the easy part, simple resizing and cropping is not difficult in OpenCV. Original Image and then the cropped and resized front of a Minecraft skin ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |