Patent Document ID: 10078786
Application ID: 15253811
Patent Status: 1

Claim One:
1. An occupancy-sensing apparatus, comprising: a device control assembly configured to be toollessly inserted into or removed from a cavity of a backplate mounted in an electrical junction box by a user, the backplate including backplate electrical contacts connected to electrical wiring within the electrical junction box, the backplate including a user-translatable cover configured to electrically shield the backplate electrical contacts when in a closed position and expose the backplate electrical contacts when in an open position, wherein the backplate includes a lock to maintain the cover in the closed position unless the device control assembly is inserted into the cavity, the device control assembly comprising: device control assembly electrical contacts configured to couple to the backplate contacts when the cover is in the open position; a detector configured to generate an image; one or more illumination sources, the one or more illumination sources configured to emit illumination including at least one wavelength of radiation measurable by the detector; and a controller communicatively coupled to the detector, the controller configured to: receive illuminated images from the detector generated with illumination from at least one of the one or more illumination sources; generate processed images with filtered ambient light by subtracting an ambient image from the illuminated images, the ambient image generated without illumination from the one or more illumination sources; classify one or more objects in the processed images as one of human or non-human based on shapes of the one or more objects; and detect occupants when at least one human object is identified in a processed image.