Skip to content

Latest commit

 

History

History

Readme.md

Running the Digital Sorting tool

Run the APP.py program in the remote desktop Jorge. This is where the modified Tesseract-OCR exists.

Inputs for the Digital Sorting tool

Folder consisting of one batch of STL types along with the combined MCS file present in the folder.

Parameters to look into

For the values used in the program for an STL, go to params and add your STL name along with the parameter values as shown below.

"ICONS": {
        "bounding_box" : [-4, 2, -22, -11, -1, 4],
        "x_center" : -3.6,
        "delta_range" : [0.00, 0.05, 0.1, 0.15, 0.2],
        "threshold_range" : [0.06, 0.09],
        "PLANE_AXIS" : "x",
        "CROP_MIN" : 0.5, 
        "CROP_MAX" : 4.5,
        "ROTATE_DEGREES" : 0,
        "Y_MIN" : -22, 
        "Y_MAX" : -11,
        "FINE_TUNE_MODEL" : "Hattingam_legacy_text2img" 
    }

The Bounding Box values are in the format [xmin, xmax, ymin, ymax, zmin, zmax] around the AMiD number. This can be acquired with running the program in other_programs/image_dims.py with some trial and error. Simply input the path of one STL file and configure the axes values.