New!!! LED Color Recognition API or application Evaluate LED’s operation and color recognition in a board utilizing our tester application.

(We can also consult for the right camera with lens)

Need to test your LED’s position, operation, and color in production? Meet the LED Color Recognition API and example code

Fast automated LED color recognition tester:

We developed a LED tester solution that includes camera, lens, and API software with example code in LabVIEW and CVI.

The LED Color recognition API includes four functionalities:

Open/Close camera (can work on images without camera)

Color learning – Learn the software of the LED color configuration and location. Use as a live LED color status.

Test: Perform fast LED color test and log results to a csv file

It can be used as a standalone LED tester as well!

standalone LED tester as well!

How Does LED Color Recognition API works?

  • Open the camera or use static images.

  • Learn the system and the LED configuration in the new board. After one-time learning, you can use the configuration to test many similar boards and even a full batch.

  • In Learn function, the LEDs are shown lively.

  • Test – fast LED test and log result to a csv result file.
    API Option to Run

LED Color Recognition API:

  • Live image from camera 
  • Image from a path ( without a camera with existing images)

Learning machine

  • Using JSON configuration file New and easy to use board 
  • working with existing JSON file (CVS file)

LED Color Recognition API Matching Concepts

Color matching is performed in three steps:

  1. Regions in the image containing the color information should be provided to the application.
    So called Region of interest ROI
  2. The machine vision software learns a reference color distribution.
  3. The software compares color information from other images to the reference image and returns a score as an indicator of similarity.


ROI could be defined manually, or it can be the output of some other machine vision tool, such as pattern matching used to locate the components to be inspected.

Learning Color Distribution

The machine vision software learns a color distribution by generating a color spectrum.

The color spectrum is a one-dimensional representation of the three-dimensional color information in an image.

The machine vision software then generates a color spectrum based on the provided information.

The color spectrum becomes the basis of comparison during the matching phase.

Comparing LED Color Distributions

During the matching phase, the color spectrum obtained from or region in the target image is compared to the reference color spectrum taken during the learning step. A match score is computed based on the similarity between these two-color spectrums using the Manhattan distance between two vectors. A fuzzy membership weighting function is applied to both the color spectrums before computing the distance between them. The weighting function compensates for some errors that may occur during the binning process in the color space.

The fuzzy color comparison approach provides a robust and accurate quantitative match score. The match score, ranging from 0 to 1000, defines the similarity between the color spectrums. A score of zero represents no similarity between the color spectrums, while a score of 1000 represents a perfect match.

Source Code Deliveries

To minimize the integration efforts to the existing tester application, Source Code will be provided as an Application Programming Interface (API) with an example of how to use it.

It will simplify programming by abstracting the underlying implementation and only exposing objects or actions required by the developer. The high-level functions that the user would put on their block diagrams would typically be set to Public, while the lower level functions will be set to Private. This will make the API more user-friendly and intuitive since the high-level tasks will be what the user focuses on.

MKS Instruments, Inc.

We purchased LED Color and position tester from IZAK Scientific after having successful projects before and due to their great skills and fast delivery. We needed a solution to test different PCBs, with each PCB having a few LED configurations. IZAK Scientific, led by Tzachi, delivered us an API (dll file) for the LED Tester, along with an example in the LabWindows CVI environment. We integrated IZAK’s LED tester in our tester software. In addition, IZAK also delivered a tester box with an imager and optics, along with relays as a system.

IZAK LED Tester API is a smart and simple, easy-to-learn machine-learning algorithm that learns new PCB in a few minutes. The system allows us to test our PCB quickly and easily in free space configuration. As we integrated the system, we got a full service customized to our specific needs, along with the support from IZAK’s great team.

This was one of few projects we made with Izak Scientific, and the team proved to be professional, with on-time delivery.

Project Manager

Moshe, MKS Instrument