Welcome to the Tornado Plots for Silicon Module Offset Detection repository! This project is designed to calculate module offsets and visualize the shifts of individual holes using tornado plots. These visualizations provide valuable insights to ensure precise wirebonding and avoid wire setting offsets.
To run these scripts, setting up a new Conda environment is required. The environment configuration is provided in the environment.yml file. Please ensure you are using an Ubuntu Linux system, as running on other operating systems may result in numerous PackageNotFound errors.
git clone https://github.com/abhinavrajgupta/Tornado-Plots
cd Tornado-Plots
conda env create -f environment.yml
conda activate ArrowPlots
The code in this repository is structured to specify paths for uploading images. Ensure that you place your upload module in the appropriate directory to maintain compatibility with the codebase. The path format follows this structure:
mkdir Modules
[For Example you will upload M15 in the Modules file such that the path is structured as Modules/M15/(images and text file here)]
- Place your OGP-captured images in the specified directory.
- Execute the detection script to mark the intersection of three lines appearing as Mercedes Benz Logo.
- Run the python script to mark actual center of modules, find offsets, angles, and create the tornado plot.
python run_detect.py
Before running this script, please open ArrowPlotScript.py and update your current directory as base directory in the first function
python ArrowPlotScript.py
../Modules/Module_Name/ReusltsArrowPlots
../Modules/Module_Name/ReusltsArrowPlots/ArrowPlot.jpg