Both size and location of the timestamp are not scaling as they should
|
if self.record_timestamp: |
|
cv2.putText(frame, timestamp.isoformat(timespec='seconds'), (10, 50), cv2.FONT_HERSHEY_SIMPLEX, self.font_size, (255, 255, 255), 1) |
This should change to adjust given the resolution.
The size is more problematic than the xy coords.
The font scale parameter is double in PutText so it should be able to scale....maybe we should also scale thickness?
There might be something worth trying in this stackoverflow answer
Both size and location of the timestamp are not scaling as they should
python_camera/camera/camera.py
Lines 154 to 155 in c321f4e
This should change to adjust given the resolution.
The size is more problematic than the xy coords.
The font scale parameter is
doubleinPutTextso it should be able to scale....maybe we should also scale thickness?There might be something worth trying in this stackoverflow answer