The Color Search Trigger is an EyeAuras feature that allows users to capture a screen, window, or specific region, calculate the average color of the captured section, and then compare it to a predetermined color. The trigger activates when the measured similarity (match percentage) between the captured color and the chosen color is greater than or equal to a specified threshold. Users can opt for one of two methods to calculate color similarity - CIEDE2000 and Euclidean Distance.
CIEDE2000 is a refined method for color comparison that mirrors human color perception. This technique, developed by the International Commission on Illumination (CIE), factors in the complex attributes of human vision and offers a highly accurate comparison of colors as perceived by the human eye.
Benefits:
Drawbacks:
Ideal for: Applications requiring accurate color comparisons and a close approximation of human color perception, such as design software, photo editing, and color grading in videos.
Euclidean Distance employs a straightforward mathematical calculation to compare colors by measuring the straight-line distance in the RGB color space.
Benefits:
Drawbacks:
Ideal for: Applications where speed outweighs a perfect color match, like real-time applications, simple color matching games, and quick prototyping.
The Color Search Trigger can be highly beneficial when you need to determine percentage values of game resources like HP/MP. By using the Image Effect on the captured image, you can convert a filled MP bar's color to white and an empty MP bar's color to black. Calculating the Euclidean Distance similarity between a fully-filled MP bar and a partially-filled one, you can accurately assess the remaining MP%. This enables efficient character management by triggering specific actions when HP/MP or other resources reach a particular percentage.
The match threshold is a user-set parameter that dictates when the trigger is activated. It represents the similarity level (in percentage) between the average color of the captured area and the chosen color. The trigger activates when the calculated similarity meets or surpasses this threshold.
Experimenting with different settings can help you strike the perfect balance between speed and accuracy for your application. The correct configuration can significantly boost the performance and utility of the Color Search Trigger.