โโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโ โโโโ โโโโโโ โโโ
โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โโโโโโโโโโโ โโโโโโโโ โโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโ โโโโโโโโ โโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ โโโโโโโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโโโโ โโโโโโ โโโ โโโโโโ โโโโโโโโโโโ
โโโ โโโโโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโโโโ โโโโโโ โโโโโโ โโโโโโโโโโโ
Real-time AI-powered thermal analysis for printed circuit boards โ detect hotspots before they become failures.
๐ฅ Identify overheated PCB components in real-time using thermal imaging, visual markers, and live graphs โ before damage occurs.
PCB failures cost manufacturers millions annually. Overheated components are often invisible to the naked eye โ until it's too late.
This system bridges that gap by providing:
- Instant visual feedback on thermal anomalies
- Automatic documentation of every detected hotspot
- Live performance metrics for continuous monitoring
- A slick, interactive UI โ no terminal expertise needed
|
|
|
|
| Component | Specification | Purpose |
|---|---|---|
| ๐ฅ๏ธ Computer | Windows / Linux / macOS | Host system |
| ๐ Python | Version 3.6 or higher | Runtime |
| ๐ท Thermal Camera | FLIR or Seek Thermal (USB) | Thermal imaging input |
| ๐ USB Port | USB 2.0 / 3.0 | Camera connection |
| ๐พ Storage | ~500MB free space | Anomaly capture storage |
git clone https://github.com/astromanu007/PCB_Anomaly_Detection.git
cd PCB_Anomaly_Detection# Option A: Install individually
pip install numpy opencv-python pygame matplotlib
# Option B: Install from requirements file
pip install -r requirements.txt๐ Plug in your FLIR or Seek Thermal USB camera
โ
Verify it's detected by your OS
python main.py๐ก No hardware? No problem! Use the Upload feature to test with sample images from the
sample_images/folder.
PCB_Anomaly_Detection/
โ
โโโ ๐ assets/ # Static assets
โ โโโ ๐ผ๏ธ thermal_icon.png # App icon
โ โโโ ๐ง creator_photo.jpg # Creator photo (About section)
โ
โโโ ๐ sample_images/ # Demo PCB images for offline testing
โ
โโโ ๐ anomaly_captures/ # ๐ด Auto-saved hotspot images (timestamped)
โ
โโโ ๐ images/ # README screenshot assets
โ โโโ MAIN.jpg
โ โโโ INTRO.png
โ โโโ VIDEO_MODE.png
โ โโโ LIVE_TRACKING_RESULTS.png
โ โโโ GRAPHS.jpg
โ
โโโ ๐ main.py # โญ Core application โ start here
โโโ ๐ README.md # Documentation
| Control | Symbol | Action |
|---|---|---|
| Start / Stop | ๐ข / ๐ด | Toggle real-time thermal camera monitoring |
| Threshold Slider | ๐๏ธ | Fine-tune the temperature sensitivity cutoff |
| Record | ๐ด | Enable auto-capture of anomaly frames |
| Upload | ๐ค | Load a PCB image manually for offline analysis |
| Results | ๐ | View processed frame with hotspot markers |
| Graphs | ๐ | Open live accuracy & intensity visualization |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ APPLICATION FLOW โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ท Thermal Camera Feed
โ
โผ
๐ผ๏ธ Frame Capture (OpenCV)
โ
โผ
๐ก๏ธ Temperature Mapping
โ
โผ
โ๏ธ Threshold Comparison โโโโ Below threshold โ โ
Normal
โ
โ Above threshold
โผ
๐ด Anomaly Detected!
โ
โโโโโโดโโโโโ
โ โ
โผ โผ
๐ธ Auto ๐ฅ๏ธ Visual
Capture Overlay
+ Save on UI
โ โ
โโโโโโฌโโโโโ
โผ
๐ Update Graphs
(Accuracy + Intensity)
| Graph | Metric | Use Case |
|---|---|---|
| ๐ Accuracy Graph | Detection confidence over time | Monitor system reliability |
| ๐ก๏ธ Intensity Graph | Thermal intensity per frame | Spot heat spikes & trends |
Both graphs update live during monitoring sessions, giving you a complete picture of PCB thermal behavior.
You can fully evaluate this system using the included sample images:
- Launch
python main.py - Click ๐ค Upload in the UI
- Browse to
sample_images/folder - Select any PCB image
- View detection results and graph outputs
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Layer โ Technology โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Language โ Python 3.6+ โ
โ Vision โ OpenCV โ frame capture & processing โ
โ UI โ Pygame โ interface & animations โ
โ Graphs โ Matplotlib โ live chart rendering โ
โ Numerics โ NumPy โ thermal data computation โ
โ Hardware โ FLIR / Seek Thermal USB camera โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Contributions, bug reports, and feature ideas are always welcome!
- Fork the repository
- Create your branch:
git checkout -b feature/YourFeature - Commit your changes:
git commit -m 'Add YourFeature' - Push to the branch:
git push origin feature/YourFeature - Open a Pull Request ๐
| Platform | Link |
|---|---|
| ๐ง Email | manishdhatrak1121@gmail.com |
| ๐ผ LinkedIn | Manish Dhatrak |
| ๐ GitHub | @astromanu007 |
This project is licensed under the MIT License โ free to use, modify, and distribute.
See the LICENSE file for full details.
๐ก๏ธ Hot components detected. Cool solutions delivered. ๐ก๏ธ
Built with โค๏ธ by Manish Dhatrak
โญ Star this repo if it helped you! โญ



