This project visualizes the relationship between energy input, area, flux density, and extent for laser welding processes. It generates an interactive scatter plot using Plotly, allowing users to explore the data and view images of the corresponding welding results on hover.
- Interactive scatter plot of energy input vs. area
- Color scale representing the extent
- Display of welding parameters (power and speed) and welding images on hover
- Export of the plot to an HTML file
To set up the project, follow these steps:
-
Clone the repository.
-
Navigate to the project directory: cd CNN_model/preprocessing.ipynb
-
Create a virtual environment: python3 -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate - On macOS and Linux:
source venv/bin/activate
- Install the required packages: pip install -r requirements.txt
- Make sure the virtual environment is activated.
- Run the
preprocessing.ipynbscript to generate the scatter plot: - View the generated scatter plot in the
flux_density_vs_area.htmlfile.
- Python 3.7 or later
- Plotly
- NumPy
- pandas
- Pillow
This project is licensed under the MIT License. See the LICENSE file for details.