#118 Camera profiling frame area

Pascal de Bruijn

Currently LProf can compensate for perspective in photographed targets.

However the compensation is rather limited. It only compensates for the placement of the frames. Yet the frames themselves stay perfectly square. This is worked around by only using 60% of the frame area, to allow for some deformation.

It would be great if the frames would "fit" the perspective, so the safe frame settings could default to maybe 80% instead of 60%.


  • Hal Engel
    Hal Engel

    You are correct that the hot zones do not conform to the perspective of the target. Your idea would be ideal but I am not sure how much would be gained other than allowing for lower "safe frame" settings (IE. larger hot zones) which may not have much impact on the quality of the resulting profiles. The code to handle the perspective issue is fairly complex and I suspect that changing the how zones to follow the perspective would add more complexity to the code. In addition the perspective code is intended to allow for compensating for minor perspective errors even though it will handle fairly extreme cases. But this should be looked into and implemented if it is not too expensive. So I will leave this open pending someone having time to look at the code to asses how difficult it will be to implement.