{'fraction_non_alphanumeric': 0.009730538922155689, 'fraction_numerical': 0.0, 'mean_word_length': 5.586206896551724, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A skeleton and neural network-based approach for identifying cosmetic surface flaws

This paper introduces an approach to cosmetic surface flaw identification that is essentially invariant to changes in workpiece orientation and position while being efficient in the use of computer memory. Visual binary images of workpieces are characterized according to the number of pixels in progressive subskeleton iterations. Those subskeletons are constructed using a modified Zhou skeleton transform with disk shaped structuring elements. Two coding schemes are proposed to record the pixel counts of succeeding subskeletons with and without lowpass filtering. The coded pixel counts are on-line fed to a supervised neural network that is previously trained by the backpropagation method using flawed and unflawed simulation patterns. The test workpiece is then identified as flawed or unflawed by comparing its coded pixel counts to associated training patterns. Such off-line trainings using simulated patterns avoid the problems of collecting flawed samples. Since both coding schemes tremendously reduce the representative skeleton image data, significant run time in each epoch is saved in the application of neural networks. Experimental results are reported using six different shapes of workpieces to corroborate the proposed approach.