mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
- Check cv2.imwrite() return value to catch silent failures - Verify reference image file exists after save - Validate file size is reasonable (>1KB) to detect corruption - Add logging for save, rotate, and delete operations - Use temp directory for plate calibration during tests to avoid deleting real user calibration files Previously, calibration could report success even if the image file failed to save. Additionally, running tests would delete real calibration files because tests shared the same plate_calibration_dir.