Skip to content

A Python script to read part numbers from technical drawings (.tiff) and append them to .txt files for each tech. drawing

License

Notifications You must be signed in to change notification settings

onebitme/partReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

partReader

A Python script to read part numbers from technical drawings (.tiff) and append them to .txt files for each tech. drawing

Environment

  • Win10 (But it may work w/Linux too)
  • Python3+
  • Tesseract needs to be installed beforehand.
  • Pip

Deployment

After installing Tesseract,

pip install requirements.txt

Usage

  1. Put .tiff files into ~\drawings folder.
  2. From command line interface, run the script.
  3. it will return .txt files which contain the part numbers.

Notes:

  • 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.

About

A Python script to read part numbers from technical drawings (.tiff) and append them to .txt files for each tech. drawing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages