我需要根据坐标值合并两个图像。
我已经使用单点到点合并方法进行了合并,使用PIL或OpenCV在Python中以修改的不透明度粘贴图像到另一个给定坐标的图像。
我得到了那个结果。 但是我需要在相同的两个图像中进行多个坐标比较和合并。 有可能实现这一点吗?
上面的图像是结果。输出仅具有单点到点合并。但我需要多点合并。参数为{"Headpts": [354,64, "ShoulderSpinepts": [25,234], "LeftShoulderpts": [123,243], "LeftElbowpts": [54,234], "LeftHandpts": [0, 0], "RightShoulderpts": [0, 0], "RightElbowpts": [0, 0], "RightHandpts": [0, 0], "MidSpinepts": [0, 0], "BaseSpinepts": [0, 0], "LeftHippts": [0, 0], "LeftKneepts": [0, 0], "LeftFootpts": [0, 0], "RightHippts": [0, 0], "RightKneepts": [0, 0], "RightFootpts": [0, 0], "LeftWristpts": [0, 0], "RightWristpts": [0, 0], "Neckpts": [0, 0]}。