Hi,The aim of this exercise is to generate artificial images of grippers from real images, with varying degrees of separation between the branches. The program should automatically generate artificial RGB images of grippers based on real RGB images. For each generated image, the gripper’s branches must have varying degrees of separation. This separation is defined by the input instruction of the program, which indicates the difference in the angle value (expressed in degrees) between the two branches in the source image and the desired image. The user should not need to intervene in the generation process.
Example 1: The distance between the two branches of the clamp is 10° on the source image. There setpoint is 6. The distance between the two branches is 16° on the result image.
Example 2: The distance between the two branches of the clamp is 10° on the source image. There setpoint is -6. The gap between the two branches is 4° on the result image.
The program must properly handle the case where the angle instruction gives a
unrealistic result (i.e. in the case where the two branches overlap in
the resulting image).