Method to prevent user from invalidating image processing
A method of operating a computing device with a camera includes: obtaining an image requirement from consumers of the camera; obtaining an image from the camera; determining, before the image is directed to the consumers, whether or not the image satisfies the image requirement; upon determining that the image requirement is satisfied, directing the image to the consumers; and upon determining that the image requirement is not satisfied, transmitting a command based on the image being non-compliant with the image requirement.
1 . A method of operating a computing device with a camera, the method comprising:
obtaining an image requirement from consumers of the camera;
obtaining, from one of the consumers, an adjustment control for the camera;
prior to transmitting the adjustment control to the camera:
identifying the adjustment control;
determining, without implementing the adjustment control at the camera, whether or not the adjustment control satisfies the image requirement;
upon determining that the adjustment control satisfies the image requirement, directing the adjustment control to the camera; and
upon determining that the adjustment control does not satisfy the image requirement, determining whether or not the adjustment control can be modified to satisfy the image requirement;
obtaining an image from the camera;
determining, before the image is directed to the consumers, whether or not the image satisfies the image requirement;
upon determining that the image requirement is satisfied, directing the image to the consumers; and
upon determining that the image requirement is not satisfied, transmitting a command based on the image being non-compliant with the image requirement.
2 . The method of claim 1 ,
wherein the image requirement includes a criteria threshold for a facial recognition algorithm,
wherein the criteria threshold is obtained from a default setting of one of the consumers, a setting input into one of the consumers by a user of the computing device, a predetermined information, or a real-time communication from the consumers.
3 . The method of claim 2 ,
wherein the criteria threshold is based on a parameter of the image,
wherein the parameter of the image is one selected from a group comprising: a resolution, a color space, a brightness, an exposure time, a zoom level, and a pan setting.
4 . The method of claim 2 ,
wherein the criteria threshold is based on a detection algorithm of a computer vision consumer of the consumers,
wherein the detection algorithm is one selected from a group consisting of: darkness detection; edge detection; face presence detection; and blurring detection.
5 . The method of claim 1 ,
wherein the command includes a notification that the image is non-compliant with the image requirement,
wherein, based on the notification, at least one of the consumers modifies an adjustment control range of the camera.
6 . The method of claim 1 , further comprising:
upon determining that the adjustment control can be modified to satisfy the image requirement,
generating a modified adjustment control that satisfies the image requirement, and
directing the modified adjustment control to the camera; and
upon determining that the adjustment control cannot be modified to satisfy the image requirement,
preventing the adjustment control from adjusting the camera, and
transmitting a notification that identifies the image requirement and the adjustment control that cannot satisfy the image requirement.
7 . The method of claim 1 , further comprising:
transmitting a notification that identifies the image requirement and the adjustment control.
8 . A non-transitory computer readable medium (CRM) storing computer readable program code for operating a computing device with a camera, the computer readable program code causes the computing device to:
obtain an image requirement from consumers of the camera;
obtain, from one of the consumers, an adjustment control for the camera;
prior to transmitting the adjustment control to the camera:
identify the adjustment control;
determine, without implementing the adjustment control at the camera, whether or not the adjustment control satisfies the image requirement;
upon determining that the adjustment control satisfies the image requirement, directing the adjustment control to the camera; and
upon determining that the adjustment control does not satisfy the image requirement, determining whether or not the adjustment control can be modified to satisfy the image requirement;
obtain an image from the camera;
determine, before the image is directed to the consumers, whether or not the image satisfies the image requirement;
upon determining that the image requirement is satisfied, direct the image to the consumers; and
upon determining that the image requirement is not satisfied, transmit a command based on the image being non-compliant with the image requirement.
9 . A computing device comprising:
a camera configured to generate an image;
a processor configured to use the image based on consumers of the camera; and
a preprocessor configured to analyze the image before usage by the processor,
wherein the preprocessor is configured to:
obtain an image requirement from consumers of the camera;
obtain, from one of the consumers, an adjustment control for the camera;
prior to transmitting the adjustment control to the camera:
identify the adjustment control;
determine, without implementing the adjustment control at the camera, whether or not the adjustment control satisfies the image requirement;
upon determining that the adjustment control satisfies the image requirement, directing the adjustment control to the camera; and
upon determining that the adjustment control does not satisfy the image requirement, determining whether or not the adjustment control can be modified to satisfy the image requirement;
obtain an image from the camera;
determine, before the image is directed to the consumers, whether or not the image satisfies the image requirement;
upon determining that the image requirement is satisfied, direct the image to the consumers; and
upon determining that the image requirement is not satisfied, transmit a command based on the image being non-compliant with the image requirement.