A range-hood camera that sees a pot about to boil over, predicts when with a physics-informed model, and turns the heat down before it spills. Built on OpenCV 5 and AWS.
findContours + fitEllipse, scored by edge support. Refined to the inner edge of the bright lip by a per-angle sub-pixel fit.remap into an elliptical polar image, so a rising surface is a front moving outward.phaseCorrelate with a Hanning window cancels hood vibration; hands crossing the rim are rejected.d = H (r_rim / r_surface − 1).cv2.KalmanFilter tracks log-foam, growth rate and its change.