Millimeter-Scale Ultra-Low-Power Imaging System for Intelligent Edge Monitoring