The Human Leucocyte Antigen (HLA) is under notice for its application to organic interplantation, but its inspection under the microscope is a skilled work. This paper presents an automatic inspecting system for HLA which works in real-time. We propose a new counting algorism of image components which is implimented on the system.