Patent ID: 11903113
Assignee: IDEAL INDUSTRIES LIGHTING LLC
Field: Computer technology (Electrical engineering)
Classification: CPC H  G  Y | IPC G  H

Claim 13:
14. A lighting device, comprising:
processing circuitry; and
a memory coupled to the processing circuitry, the memory storing instructions which, when executed by the processing circuitry, cause the lighting device to:
obtain a frame from an image sensor, the frame comprising a plurality of pixel values;

separate the plurality of pixel values into a plurality of zones;
detect a change in a first subset of the plurality of pixel values above a first threshold with respect to a background frame;
set a first detection flag in a first zone of the plurality of zones and increment a detection flag counter in response to detecting the change in the first subset of the plurality of pixel values above the first threshold, wherein the detection flag counter indicates a number of detection flags from previous image frames that are present in the first zone or in other zones of the plurality of zones that share a border with the first zone; and
determine an occupancy state of the area, wherein the occupancy state is determined to be occupied when the detection flag counter reaches a second threshold that corresponds to the detection flag counter being incremented to three.