I'm very new to Blender scripting, so please don't blame me. Especially if my first plan was to realize it in Unity and now I have to switch:
I've created a Blender model and now I want to texture it with data from an image. You can imagine it as follows: I've took a picture from an indoor environment in a floor and built this floor in Blender. The purpose is now to let the floor model look almost realistic to the taken picture. I also detected vetical lines (OpenCV) in the model and original picture in C++, thought it could be useful to compare both and map the textures, but I wasn't able to do this. I created bounding boxes (see image) between each vertical line in the original image to put out a dataset of textures, which should be mapped on the model. How can I do that by scripting?
Thank you in advance!