Acne is a common skin lesion which controls the quality of life. Skin analysis is one of the important steps before starting treatment. previously, this detection has been done manually, which cause different results by the various dermatologist. Today, the detection of skin lesions is done automatically, which leads to a more accurate diagnosis. In this paper, the locating and counting of skin lesions is done using Fuzzy Logic algorithm. Although many studies are done to detect the skin lesions, but the results of each method usually take a lot of time. Therefore, one of the advantage of proposed method is in processing time and then data cluster, which the ISODATA method is used. The images used in this study take from the Visio Face Machine, which has no effect to the skin’ s texture, and are used in the training phase of system. Given that these images are in RGB color space; colors can be displayed in HSI color space in more details. For lesion detection and feature extraction, Fuzzy Logic algorithm and HSI color space are used. But the purpose of this paper is to build a robot, which burn lesions by Plexr Plus machine automatically. In test phase, using RGB color space and depth sensor of Kinect camera, three dimensional location of lesions are identified. Finally, the average of accuracy, precision and sensitivity were 99. 4, 88, 2 and 51 respectively.