Skip to content

Conversation

@ThijsVroegh
Copy link
Contributor

This pull request introduces a new feature for analyzing painting dimensions and calculating corrected areas. It includes significant changes to two files: 6_ratioss.py and ratio_analysis.py. The most important changes include the addition of a new Streamlit app for painting analysis and the implementation of functions for image size resolution and corrected area calculation.

New Streamlit App for Painting Analysis:

  • src/unraphael/dash/pages/6_ratioss.py: Added a new Streamlit app for analyzing painting dimensions, including features for uploading Excel files with real dimensions, processing images, displaying image information, and performing area analysis.

Functions for Image Size Resolution and Corrected Area Calculation:

  • src/unraphael/dash/ratio_analysis.py: Implemented get_image_size_resolution function to extract image dimensions and DPI from various metadata sources.
  • src/unraphael/dash/ratio_analysis.py: Implemented calculate_corrected_area function to compute the corrected area of an image based on real physical dimensions and DPI, with tolerance handling for scaling ratios.

@ThijsVroegh ThijsVroegh merged commit 0c8b7cd into main Feb 3, 2025
2 checks passed
@ThijsVroegh ThijsVroegh deleted the ratio branch April 22, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants