{'fraction_non_alphanumeric': 0.021702838063439065, 'fraction_numerical': 0.005564830272676683, 'mean_word_length': 4.953642384105961, '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}}
Turbidity of Coconut Oil Determination Using the MAMoH Method in Image Processing

In general, considering standard production, as well as coconut oil production, in oil consumption industries is an important factor. Oil color is an important element, as it is an important factor for consumers or buyers in selecting coconut oil. In the process of producing coconut oil, the cold-pressed method has been chosen to maintain the essential quality of coconut oil. The quality of the coconut oil is inspected from the production process by means of light passing through the coconut oil. Then, the production staff compares the turbidity of coconut oil with the master sample. The turbidity of coconut oil in every production must be compared with a master sample to maintain standards control. According to previous studies, there are many methods for determining coconut oil turbidity. One method that has been utilized is determining turbidity from light passing through the medium in which the transmitted light can be absorbed through the turbidity of the variable medium. This process is applied together with image processing to determine the coconut oil turbidity. In this research, we propose a method for measuring coconut oil turbidity by the Moving Average Median of Hue (MAMoH), which is better in detecting the coconut oil turbidity than the Median of Gray Scale (MoGS) method, Median of Hue (MoH) method, and Random Position Median of Hue (RPMoH) method. In terms of the percentage accuracy of the efficiency test; the MAMoH method has 99 percent accuracy, while the MoGS method is not applicable, the MoH method has 88.04 percent accuracy, and the RPMoH method has 85.91 percent accuracy. Thus, the MAMoH method is considered an appropriate method for measuring coconut oil turbidity.