Paper-Chart-Extraction-Project / ChartExtractor

ChartExtractor uses computer vision to convert images of paper charts to digital data.
https://paper-chart-extraction-project.github.io/ChartExtractor/
GNU General Public License v3.0
3 stars 1 forks source link

Image conversion (PIL -> cv2 & cv2 -> PIL) #13

Closed RyanDoesMath closed 4 months ago

RyanDoesMath commented 4 months ago

This pull request adds a new module (image_conversion.py) with functions to convert between Python Imaging Library (PIL) and OpenCV image formats:

A unit test file (test_image_conversion.py) is also included to ensure the functionality of these functions.