diff --git a/SerialPrograms/Source/PokemonLZA/Inference/PokemonLZA_AlertEyeDetector.h b/SerialPrograms/Source/PokemonLZA/Inference/PokemonLZA_AlertEyeDetector.h index b4f9ad7ab..a984c10b2 100644 --- a/SerialPrograms/Source/PokemonLZA/Inference/PokemonLZA_AlertEyeDetector.h +++ b/SerialPrograms/Source/PokemonLZA/Inference/PokemonLZA_AlertEyeDetector.h @@ -50,6 +50,17 @@ class AlertEyeWatcher : public DetectorToFinder{ {} }; +class AlertEyeOverWatcher : public DetectorToFinder{ +public: + AlertEyeOverWatcher( + Color color, + VideoOverlay* overlay, + std::chrono::milliseconds hold_duration = std::chrono::milliseconds(250) + ) + : DetectorToFinder("AlertEyeOverWatcher", FinderType::GONE, hold_duration, color, overlay) + {} +}; + class AlertEyeTracker final : public AlertEyeDetector, public VisualInferenceCallback{ public: AlertEyeTracker(Color color, VideoOverlay* overlay, WallDuration min_duration);