Dynamic HVAC Operations Based on Occupancy Patterns With Real-Time Vision- Based System