Detection uses the brightest few pixels, not the average
The obvious approach — average the brightness of a region and watch it rise — fails at any useful distance. At 30 feet the flash is a point of light perhaps three pixels across. Averaging it across the region divides its brightness by the region's area, lifting the mean by roughly 0.12 grey levels. That is below the sensor's own noise floor. Undetectable.
Morse Buddy instead takes the mean of the brightest handful of pixels in the frame. For that three-pixel case it measured 1728 times more sensitive than the average, and it still works when the spot is down to a single pixel.