This work proposes a portable, handheld electronic device, which measures the cleanliness in fiber optic connectors via digital image processing and artificial neural networks. Its purpose is to reduce the evaluation subjectivity in visual inspection done by human experts. Although devices with this purpose already exist, they tend to be cost-prohibitive and do not take advantage of neither image processing nor artificial intelligence to improve their results. The device consists of an optical microscope for fiber optic connector analysis, a digital camera adapter, a reduced-board computer, an image processing algorithm, a neural network algorithm and an LCD screen for equipment operation and results visualization. The image processing algorithm applies grayscale histogram equalization, Gaussian filtering, Canny filtering, Hough transform, region of interest segmentation and obtaining radiometric descriptors as inputs to the neural network. Validation consisted of comparing the results by the proposed device with those obtained by agreeing human experts via visual inspection. Results yield an average Cohen's Kappa of 0.926, which implies a very satisfactory performance by the proposed device.