A Python script to read part numbers from technical drawings (.tiff) and append them to .txt files for each tech. drawing
- Win10 (But it may work w/Linux too)
- Python3+
- Tesseract needs to be installed beforehand.
- Pip
After installing Tesseract,
pip install requirements.txt
- Put .tiff files into
~\drawings
folder. - From command line interface, run the script.
- it will return .txt files which contain the part numbers.
- This will not work with Part numbers which include letters.
- The part number handling schema is specific to one use case. (Part number needs to be in XX.XXXXX-XXXX format)
- This can be changed with changing the script's
regex
portions.