Skip to content

Tool to parse DNA drawing packages. To be used by the corporate reliability team.

Notifications You must be signed in to change notification settings

Desumai/iko_dna_dwg_renamer

Repository files navigation

Creator: siudust
Date: February 29, 2024
Version 0.3.1


Program Info:
Extracts and renames individual asset/item drawings from a DNA PDF drawing package.
Reads drawing number and sheet number information using Tesseract OCR and OpenCV.
Names drawings according to their drawing number  (i.e. {drawing number}.pdf").
Drawings with multiple sheets are save into a single PDF file.
Successfully and unsuccessfully renamed items will be saved in the "completed" and "failed" folders, respectfully (in the selected output directory).

To Run:
To launch program, run "main.exe" located in the program folder.

About OpenCV:
OpenCV is an open source libary for computer vision.
Currently uses OpenCV v4.8.0 (python)
For more information on OpenCV, see https://docs.opencv.org/4.x/

About Tesseract OCR:
Tesseract is an open source libary for AI optical character recognition (OCR).
Currently uses Tesseract OCR v5.3.1
Can train the Tesseract build to get more accurate results.
Tesseract build is already installed in project directory (path = /tesseract).
Using Tesseract build from https://github.com/UB-Mannheim/tesseract/wiki
For more information on Tesseract OCR, see https://github.com/tesseract-ocr/tesseract

Notes:
Drawing names may be inaccurate. It is recommended to check over the files before uploading them to SharePoint,

About

Tool to parse DNA drawing packages. To be used by the corporate reliability team.

Resources

Stars

Watchers

Forks

Packages

No packages published