---
title: Build Defect Detection AI for Large-Area Bright Field Microscopy
description: Quickly train a no-code AI model using Deep Block to detect defects in large-area bright field optical micrographs with minimal annotation and effort.
image: https://www.deepblock.net/hubfs/defect2.png
---

[![deepblock_logo_full2](https://www.deepblock.net/hubfs/deepblock_logo_full2.png)](https://www.deepblock.net?hsLang=en)

![menu](https://f.hubspotusercontent40.net/hubfs/7479797/menu.png)

![close_24px](https://7479797.fs1.hubspotusercontent-na1.net/hubfs/7479797/close_24px.svg)

- [Product](https://www.deepblock.net/product)
  
  Show submenu for Product 
  
    - [Manual](https://www.deepblock.net/product/manual)
    - [How To Use](https://www.deepblock.net/product/how-to-use-deep-block)
    - [Pricing](https://www.deepblock.net/product/pricing)
- [Remote Sensing](https://www.deepblock.net/remote-sensing)
  
  Show submenu for Remote Sensing 
  
    - [Surveillance & IMINT](https://www.deepblock.net/remote-sensing/defense-surveillance)
    - [Precision Agriculture](https://www.deepblock.net/remote-sensing/precision-agriculture)
- [Microscopy](https://www.deepblock.net/microscopy)
  
  Show submenu for Microscopy 
  
    - [Semiconductor & MEMS](https://www.deepblock.net/microscopy/semiconductor)
    - [Life Science & Medicine](https://www.deepblock.net/microscopy/life-science-and-medicine)
- [Resources](https://www.deepblock.net/resources)
  
  Show submenu for Resources 
  
    - [Case Studies](https://www.deepblock.net/resources/case-studies)
    - [Computer Vision for High-Resolution](https://www.deepblock.net/resources/challenges-high-resolution-imagery-ml-solution)
    - [Why Deep Block?](https://www.deepblock.net/resources/why-deep-block)
    - [E-Books](https://www.deepblock.net/ebooks)
    - [About Us](https://www.deepblock.net/about-us)
- [Blog](https://www.deepblock.net/blog)

- [Product](https://www.deepblock.net/product)
  
  Show submenu for Product 
  
    - [Manual](https://www.deepblock.net/product/manual)
    - [How To Use](https://www.deepblock.net/product/how-to-use-deep-block)
    - [Pricing](https://www.deepblock.net/product/pricing)
- [Remote Sensing](https://www.deepblock.net/remote-sensing)
  
  Show submenu for Remote Sensing 
  
    - [Surveillance & IMINT](https://www.deepblock.net/remote-sensing/defense-surveillance)
    - [Precision Agriculture](https://www.deepblock.net/remote-sensing/precision-agriculture)
- [Microscopy](https://www.deepblock.net/microscopy)
  
  Show submenu for Microscopy 
  
    - [Semiconductor & MEMS](https://www.deepblock.net/microscopy/semiconductor)
    - [Life Science & Medicine](https://www.deepblock.net/microscopy/life-science-and-medicine)
- [Resources](https://www.deepblock.net/resources)
  
  Show submenu for Resources 
  
    - [Case Studies](https://www.deepblock.net/resources/case-studies)
    - [Computer Vision for High-Resolution](https://www.deepblock.net/resources/challenges-high-resolution-imagery-ml-solution)
    - [Why Deep Block?](https://www.deepblock.net/resources/why-deep-block)
    - [E-Books](https://www.deepblock.net/ebooks)
    - [About Us](https://www.deepblock.net/about-us)
- [Blog](https://www.deepblock.net/blog)

[Contact Us](https://www.deepblock.net/contact?hsLang=en)

[No code](https://www.deepblock.net/blog/tag/no-code) [high resolution image machine learning](https://www.deepblock.net/blog/tag/high-resolution-image-machine-learning) [high resolution image deep learning](https://www.deepblock.net/blog/tag/high-resolution-image-deep-learning) [large image deep learning](https://www.deepblock.net/blog/tag/large-image-deep-learning) [object detection large image](https://www.deepblock.net/blog/tag/object-detection-large-image) [micrograph deep learning](https://www.deepblock.net/blog/tag/micrograph-deep-learning) [deep learning microscopy](https://www.deepblock.net/blog/tag/deep-learning-microscopy) [image segmentation](https://www.deepblock.net/blog/tag/image-segmentation) [computer vision large image](https://www.deepblock.net/blog/tag/computer-vision-large-image) [object detection big image](https://www.deepblock.net/blog/tag/object-detection-big-image) [microscope deep learning](https://www.deepblock.net/blog/tag/microscope-deep-learning) [object detection microscopy](https://www.deepblock.net/blog/tag/object-detection-microscopy) [microscopy deep learning](https://www.deepblock.net/blog/tag/microscopy-deep-learning) [deep learning microscope image](https://www.deepblock.net/blog/tag/deep-learning-microscope-image) [computer vision microscopy](https://www.deepblock.net/blog/tag/computer-vision-microscopy) [big image deep learning](https://www.deepblock.net/blog/tag/big-image-deep-learning) [nocode AI](https://www.deepblock.net/blog/tag/nocode-ai) [large image object detection](https://www.deepblock.net/blog/tag/large-image-object-detection) [microscopy object detection](https://www.deepblock.net/blog/tag/microscopy-object-detection) [microscopy machine learning](https://www.deepblock.net/blog/tag/microscopy-machine-learning) [microscopy image segmentation](https://www.deepblock.net/blog/tag/microscopy-image-segmentation) [microscopy semantic segmentation](https://www.deepblock.net/blog/tag/microscopy-semantic-segmentation) [no-code deep learning](https://www.deepblock.net/blog/tag/no-code-deep-learning) [deep learning micrograph](https://www.deepblock.net/blog/tag/deep-learning-micrograph) [semiconductor inspection deep learning](https://www.deepblock.net/blog/tag/semiconductor-inspection-deep-learning) [semiconductor deep learning](https://www.deepblock.net/blog/tag/semiconductor-deep-learning) [semiconductor image segmentation](https://www.deepblock.net/blog/tag/semiconductor-image-segmentation) [computer vision semiconductor](https://www.deepblock.net/blog/tag/computer-vision-semiconductor) [deep learning semiconductor inspection](https://www.deepblock.net/blog/tag/deep-learning-semiconductor-inspection) [semiconductor failure analysis AI](https://www.deepblock.net/blog/tag/semiconductor-failure-analysis-ai) [deep learning semiconductor failure analysis](https://www.deepblock.net/blog/tag/deep-learning-semiconductor-failure-analysis) [deep learning failure analysis](https://www.deepblock.net/blog/tag/deep-learning-failure-analysis) [deep learning semiconductor packaging](https://www.deepblock.net/blog/tag/deep-learning-semiconductor-packaging) [semiconductor inspection computer vision](https://www.deepblock.net/blog/tag/semiconductor-inspection-computer-vision) [semiconductor manufacturing deep learning](https://www.deepblock.net/blog/tag/semiconductor-manufacturing-deep-learning) [semiconductor manufacturing computer vision](https://www.deepblock.net/blog/tag/semiconductor-manufacturing-computer-vision) [semiconductor manufacturing machine learning](https://www.deepblock.net/blog/tag/semiconductor-manufacturing-machine-learning) [semiconductor failure analysis tool](https://www.deepblock.net/blog/tag/semiconductor-failure-analysis-tool) [micrograph semiconductor](https://www.deepblock.net/blog/tag/micrograph-semiconductor) [packaging semiconductor AI](https://www.deepblock.net/blog/tag/packaging-semiconductor-ai) [packaging semiconductor machine vision](https://www.deepblock.net/blog/tag/packaging-semiconductor-machine-vision) [packaging semiconductor artificial intelligence](https://www.deepblock.net/blog/tag/packaging-semiconductor-artificial-intelligence) [semiconductor packaging inspection](https://www.deepblock.net/blog/tag/semiconductor-packaging-inspection) [semiconductor packaging artificial intelligence](https://www.deepblock.net/blog/tag/semiconductor-packaging-artificial-intelligence) [thin film computer vision](https://www.deepblock.net/blog/tag/thin-film-computer-vision) [thin film artificial intelligence](https://www.deepblock.net/blog/tag/thin-film-artificial-intelligence) [thin film machine vision](https://www.deepblock.net/blog/tag/thin-film-machine-vision) [machine vision failure analysis semiconductor](https://www.deepblock.net/blog/tag/machine-vision-failure-analysis-semiconductor) [semiconductor machine vision](https://www.deepblock.net/blog/tag/semiconductor-machine-vision) [semiconductor packaging failure analysis](https://www.deepblock.net/blog/tag/semiconductor-packaging-failure-analysis) [semiconductor packaging failure analysis AI](https://www.deepblock.net/blog/tag/semiconductor-packaging-failure-analysis-ai) [semiconductor packaging computer vision](https://www.deepblock.net/blog/tag/semiconductor-packaging-computer-vision) [failure analysis software](https://www.deepblock.net/blog/tag/failure-analysis-software) [failure analysis tool](https://www.deepblock.net/blog/tag/failure-analysis-tool) [thin film failure analysis](https://www.deepblock.net/blog/tag/thin-film-failure-analysis) [thin film AI tool](https://www.deepblock.net/blog/tag/thin-film-ai-tool) [large area microscopy](https://www.deepblock.net/blog/tag/large-area-microscopy) [packaging failure analysis](https://www.deepblock.net/blog/tag/packaging-failure-analysis) [micrograph AI](https://www.deepblock.net/blog/tag/micrograph-ai) [microscopy AI](https://www.deepblock.net/blog/tag/microscopy-ai) [optical inspection deep learning](https://www.deepblock.net/blog/tag/optical-inspection-deep-learning) [optical microscopy deep learning](https://www.deepblock.net/blog/tag/optical-microscopy-deep-learning)

# Build Defect Detection AI for Large-Area Bright Field Microscopy

[![Gwihwan Moon](https://www.deepblock.net/hs-fs/hubfs/Brand%20Assets/Team%20members/Deep%20Block_Gwihwan%20Moon_Blog.png?width=50&height=50&name=Deep%20Block_Gwihwan%20Moon_Blog.png)](https://www.deepblock.net/blog/author/gwihwan-moon)

[Gwihwan Moon](https://www.deepblock.net/blog/author/gwihwan-moon)  19 January, 2025

![](https://www.deepblock.net/hubfs/defect2.png)

<https://twitter.com/intent/tweet?text=I+found+this+interesting+blog+post&url=https://www.deepblock.net/blog/defect-detection-in-bright-field> <http://www.facebook.com/share.php?u=https://www.deepblock.net/blog/defect-detection-in-bright-field> <http://www.linkedin.com/shareArticle?mini=true&url=https://www.deepblock.net/blog/defect-detection-in-bright-field>

 

In this article, we will learn how to create an AI model using Deep Block to detect defects in a large-area bright field optical micrograph.

## Announcement

With support from the [Korea National Nanofabrication Center(NNFC)](https://www.nnfc.re.kr/eng/), we obtained large-area optical micrograph of an IC. In this article, rather than building a perfect AI to detect all types of defects in the bright field micrograph, we aim to quickly train an AI model to identify visible defects with minimal annotation and effort, completing prototyping in just a few minutes.

At present, Deep Block is accessible upon demo request and product purchase.

Because of persistent hacking attempts and breaches of license agreements by scam GEOAI startups in South Korea, we have paused our free online platform and are diligently seeking methods to safeguard Deep Block.

If you are interested in evaluating this model and accessing a free trial, please reach out to us by completing the form.

 

## Model Training

To start, we created a new image segmentation project and open it in Console page.

In our project, we uploaded a single optical micrograph and aimed to develop a defect detector with minimal annotation.

The method entails scanning the entire large area image file using our rapidly prototyped model, enabling us to use the inference results as training data for future model development and optimization with minimal effort.

The detailed strategy is outlined here: https://www.deepblock.net/blog/training-with-few-annotations

We don't need to label all defects in this large image file.

Simply find visible defects and label them as small polygons.

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-01-15-43-8509-PM.png?width=1383&height=721&name=image-png-Jan-19-2025-01-15-43-8509-PM.png)

The entire image exceeds 9000x17000 pixels, making it challenging for a person to manually draw all the defects present.

Let's annotate about 52 of them and proceed to train the model.

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-01-27-13-3266-PM.png?width=1214&height=701&name=image-png-Jan-19-2025-01-27-13-3266-PM.png)

Set the epochs to 40, and let's divide the large-area micrograph into 17 by 33 sections for model training.

While using blob detection algorithms is generally more effective for identifying small defects than deep learning techniques, our model will still work well.

Although further dividing the image (e.g., using a 34 x 66 factor) could enhance performance, for this article, we'll proceed by clicking the DIVIDE & TRAIN button.

If you're curious about blob detection technology, refer to this article: [https://www.deepblock.net/blog/blob-detection](https://www.deepblock.net/blog/blob-detection?hsLang=en).

For more information on Deep Block's image division technology, read the following article: [https://www.deepblock.net/product/manual/how-to-divide-large-images-for-inference](https://www.deepblock.net/product/manual/how-to-divide-large-images-for-inference?hsLang=en).

After a few minutes, the training process will be completed.

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-01-45-46-2559-PM.png?width=1314&height=689&name=image-png-Jan-19-2025-01-45-46-2559-PM.png)

## Model Inference

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-01-46-28-8732-PM.png?width=1491&height=719&name=image-png-Jan-19-2025-01-46-28-8732-PM.png)

Once training is finished, move the micrograph file from TRAIN mode to PREDICT mode.

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-01-46-51-0103-PM.png?width=1367&height=705&name=image-png-Jan-19-2025-01-46-51-0103-PM.png)

When we open PREDICT mode, we will notice that the file has been moved and the annotations have disappeared.

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-02-07-08-2373-PM.png?width=777&height=415&name=image-png-Jan-19-2025-02-07-08-2373-PM.png)

Now, let's check if the model trained with minimal annotations is functioning properly.

Set the threshold value to 30% and click the PREDICT button.

![](https://www.deepblock.net/hs-fs/hubfs/threshold-jpg.jpeg?width=1281&height=695&name=threshold-jpg.jpeg)

Set the division factor to 17 x 33, just like in TRAIN mode, and click the DIVIDE & PREDICT button.

![](https://www.deepblock.net/hs-fs/hubfs/undefined.png?width=1278&height=709&name=undefined.png)

The model will now perform defect inspection on the entire large-area micrograph.

While training was done using only labeled defects, the entire image must now be iterated for inspection, which takes a few minutes of GPU computing time on the free tier.

If you wish to complete inference more quickly or perform rapid inference on a production line, please [contact us](https://www.deepblock.net/contact?hsLang=en).

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-02-17-26-2577-PM.png?width=434&height=404&name=image-png-Jan-19-2025-02-17-26-2577-PM.png)

Once the inference is complete, all detected defects in the entire image will be displayed.

As shown in the right mini-map, a number of defects have been identified,

and as indicated in the lower left, the total number of detected defects exceeds 1,300.

![](https://www.deepblock.net/hs-fs/hubfs/defect-jpg.jpeg?width=1309&height=720&name=defect-jpg.jpeg)

Now, let's zoom in to verify the accuracy of the inference results.

As you can see, most defects similar to those labeled during training have been successfully identified.

![](https://www.deepblock.net/hs-fs/hubfs/image-png-Jan-19-2025-02-36-51-3760-PM.png?width=998&height=579&name=image-png-Jan-19-2025-02-36-51-3760-PM.png)

In addition to these black defects, an optical micrograph can detect various types of defects.

Although this model is not perfect due to being trained with a small amount of annotation, its inference results can be reused to develop a more accurate model.

Deep Block is a no-code AI model development tool designed for large-area microscopy, suitable for use in on-premise settings, laboratories, and manufacturing processes.

This software toolbox enables rapid identification of even the tiniest defects and patterns within extensive ICs and wafers.

With this tool, you can develop your own inspection AI using just a microscope and micrograph, eliminating the need for costly equipment from major inspection companies like KLA and AMAT, thereby transforming your process and failure analysis.

Experience Deep Block for free and accelerate large-area microscopy effortlessly.

Previous Post

###### [Understanding Brain Connectivity Analysis](https://www.deepblock.net/blog/understanding-brain-connectivity-analysis?hsLang=en)

Next Post

###### [Semiconductor Defect Detection with Bright Field Microscopy and Dark Field Microscopy](https://www.deepblock.net/blog/semiconductor-defect-detection-with-bright-field-microscopy-and-dark-field-microscopy?hsLang=en)

### Similar Blog Posts

[![](https://www.deepblock.net/hubfs/Blog%20Components/Artboard%203%201.svg)](https://www.deepblock.net/blog/change-detection-launch?hsLang=en)

#### [Deep Block now offers change detection for remote sensing imagery.](https://www.deepblock.net/blog/change-detection-launch?hsLang=en)

[![](https://www.deepblock.net/hs-fs/hubfs/image-Jan-11-2025-09-53-31-7320-AM.png?width=352&name=image-Jan-11-2025-09-53-31-7320-AM.png)](https://www.deepblock.net/blog/ai-solutions-for-semiconductor-inspection-and-defect-detection?hsLang=en)

#### [Affordable AI Solutions for Semiconductor Inspection and Defect Detection](https://www.deepblock.net/blog/ai-solutions-for-semiconductor-inspection-and-defect-detection?hsLang=en)

[![Detection of Gram-Positive Rod Bacteria Across the Entire Slide](https://www.deepblock.net/hs-fs/hubfs/%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7%202026-01-31%2009-55-42.png?width=352&name=%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7%202026-01-31%2009-55-42.png)](https://www.deepblock.net/blog/pathogen-screening-in-sputum-slides?hsLang=en)

#### [Building an AI System for Rapid Pathogen Screening in Sputum Slides](https://www.deepblock.net/blog/pathogen-screening-in-sputum-slides?hsLang=en)

[![Deep Block Logo White](https://www.deepblock.net/hubfs/Deep%20Block%20Logo%20White.svg)](https://www.deepblock.net?hsLang=en)

Deep Block is a NO CODE AI-powered platform where you can create and use AI models without any of the frustration of coding. Deep Block allows you to use a library of pre-trained models but also lets anyone train their own AI data sets, no expertise required.

[linkedin icon](https://www.linkedin.com/company/deep-block-net/) [youtube icon](https://www.youtube.com/@deepblock)

###### Get In Touch

![Deep Block_email_icon_B](https://www.deepblock.net/hubfs/Deep%20Block_email_icon_B.svg)

[Contact us](https://www.deepblock.net/contact?hsLang=en)

![Deep Block_address_icon_B](https://www.deepblock.net/hubfs/Deep%20Block_address_icon_B.svg)

43, Changeop-ro, Seongnam City, Republic of Korea, 13449

Copyright © 2025 OMNIS Labs Company All Rights Reserved.

[Privacy Policy |](https://www.deepblock.net/terms-and-privacy-policy?hsLang=en) [Terms of Use](https://www.deepblock.net/terms-and-privacy-policy?hsLang=en)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Gwihwan Moon",
    "url" : "https://www.deepblock.net/blog/author/gwihwan-moon"
  },
  "dateModified" : "2025-01-19T14:50:51.115Z",
  "datePublished" : "2025-01-19T14:50:51.000Z",
  "headline" : "Build Defect Detection AI for Large-Area Bright Field Microscopy",
  "image" : [ "https://www.deepblock.net/hubfs/defect2.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.deepblock.net/blog/defect-detection-in-bright-field",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.deepblock.net/hubfs/deepblock_logo_full2.png"
    },
    "name" : "Omnis Labs Company"
  }
}
```