Start a new topic

Generate an AOI Report in JSON format.

Here's how to generate an AOI Panel Report:


1. Select tab "Featured Tools", and select command "Generate AOI Panel Report".

2. Select the folder where you wish to have JSON and Image files exported.

3. Verify Options below, and Press OK.



Export Folder:  Select the default folder location to have FAB 3000 export AOI Report.


Cell Name (Lowest Unit):  Name of lowest level Cell inserted in the panel.  Choose from the pull-down.


Cell Reference Point:  Select the Cell Unit reference point used for the AOI Report.   Default: Origin. 

Origin: The Cell Insert Point will be used.

Center: The Cell Center will be used.


Image Format:   Choose Import format type: TIFF, BMP, JPEG, PNG.  Default: TIFF


Image Resolution (micrometer/pixel):   Choose Import resolution in micrometer/pixel.  Default: 1.0


Image Appearance:  Choose how output images appear in the AOI Report.  Default: Realistic PCB

Realistic PCB - Images appear as a real PCB.

CAM Editor - Images appear as in CAM Editor mode. (Only visible layers will be used in image generation).

Monochrome (Black/White) - Images appear as black/white.    (Only visible layers will be used in image generation). 


Report Units:    Choose Units for the AOI Report.  Default: Metric


Report File Type:    Choose File format output type: JSON, CSV, EXCEL.  Default: JSON


ROI Attributes (Fiducials, etc.):     ROI Attributes are used to pinpoint ANY Fiducials, Drills, Alignment marks, or other regions of interest

When using intelligent data (such as ODB++, 2581, or by assigning attributes in the CAM editor) containing attributes.   

ROI Attributes are defined by pair NAME:VALUE    VALUE is optional. Wildcards(*) are also acceptable.

Multiple ROI Attributes may be separated by semicolon(;).  Ex  .string:ty_expo;.fiducial_name



Here's a tutorial movie (no sound) demonstrating the complete process:

https://numericalsoftware-update.s3.amazonaws.com/tutorials/2022-05-18_9-51-30_aoi_report.mp4



Sample JSON File Output:   cellunits.json


{
   "panel_name": "strip",
   "cell_name": "unit",
   "cell_ref_point": "Origin",
   "output_units": "millimeter",
   "image_format": "tiff",
   "image_resolution": "1 (um/pixel)",
   "image_appearance": "CAM Editor",
   "x": [118.2, 118.2, 118.2, 118.2, 118.2, 118.2, 118.2, 130.5, 130.5, 130.5, 130.5, 130.5, 130.5, 130.5, 142.8, 142.8, 142.8, 142.8, 142.8, 142.8, 142.8, 155.1, 155.1, 155.1, 155.1, 155.1, 155.1, 155.1, 167.4, 167.4, 167.4, 167.4, 167.4, 167.4, 167.4, 179.7, 179.7, 179.7, 179.7, 179.7, 179.7, 179.7, 192, 192, 192, 192, 192, 192, 192, 204.3, 204.3, 204.3, 204.3, 204.3, 204.3, 204.3, 216.6, 216.6, 216.6, 216.6, 216.6, 216.6, 216.6, 0, 0, 0, 0, 0, 0, 0, 12.3, 12.3, 12.3, 12.3, 12.3, 12.3, 12.3, 24.6, 24.6, 24.6, 24.6, 24.6, 24.6, 24.6, 36.9, 36.9, 36.9, 36.9, 36.9, 36.9, 36.9, 49.2, 49.2, 49.2, 49.2, 49.2, 49.2, 49.2, 61.5, 61.5, 61.5, 61.5, 61.5, 61.5, 61.5, 73.8, 73.8, 73.8, 73.8, 73.8, 73.8, 73.8, 86.1, 86.1, 86.1, 86.1, 86.1, 86.1, 86.1, 98.4, 98.4, 98.4, 98.4, 98.4, 98.4, 98.4],
   "y": [0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8, 0, 12.3, 24.6, 36.9, 49.2, 61.5, 73.8],
   "rotate": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
   "mirror": ["none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none"],
   "image": ["unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff", "unit.tiff"]
}


Note: Images will be export to the same folder as the AOI Report file.



Sample JSON File Output (Optional):   rois.json


{
   "x": [404.4, 306.25, 207.5, 108.75, 10.6, 404.4, 306.25, 207.5, 108.75, 10.6, 404.4, 306.25, 207.5, 404.4, 108.75, 306.25, 10.6, 207.5, 108.75, 10.6, 404.4, 306.25, 207.5, 108.75, 10.6, 404.4, 306.25, 207.5, 108.75, 10.6],
   "y": [495.25, 495.25, 495.25, 495.25, 495.25, 375.85, 375.85, 375.85, 375.85, 375.85, 264.75, 264.75, 264.75, 245.25, 264.75, 245.25, 264.75, 245.25, 245.25, 245.25, 134.15, 134.15, 134.15, 134.15, 134.15, 14.75, 14.75, 14.75, 14.75, 14.75],
   "width": [2.00004, 2, 3.90002, 2, 2, 2.00004, 2, 3.90002, 2, 1.99999, 2, 2.00002, 3.90004, 2, 2, 2.00002, 2.00001, 3.90004, 2, 2, 2, 2.00002, 3.90002, 2, 1.99998, 1.99996, 2.00002, 3.9, 2, 2],
   "height": [2, 2.00004, 2.00008, 2.00004, 2, 2.00004, 2, 2.00004, 2, 2.00004, 2.00002, 2, 2.00002, 2.00002, 2.00002, 2.00002, 2.00002, 1.99996, 2.00002, 2.00002, 2, 2.00001, 2.00001, 2, 2, 2.00001, 1.99999, 2.00001, 2, 2],
   "image": ["roi1.tiff", "roi2.tiff", "roi3.tiff", "roi4.tiff", "roi5.tiff", "roi6.tiff", "roi7.tiff", "roi8.tiff", "roi9.tiff", "roi10.tiff", "roi11.tiff", "roi12.tiff", "roi13.tiff", "roi14.tiff", "roi15.tiff", "roi16.tiff", "roi17.tiff", "roi18.tiff", "roi19.tiff", "roi20.tiff", "roi21.tiff", "roi22.tiff", "roi23.tiff", "roi24.tiff", "roi25.tiff", "roi26.tiff", "roi27.tiff", "roi28.tiff", "roi29.tiff", "roi30.tiff"],
   "cell_name": "unit",
   "units": "millimeter",
   "image_format": "tiff",
   "image_resolution": "1 (um/pixel)"
}


Note: Images will be export to the same folder as the AOI Report file. 

Login or Signup to post a comment