Image-Acquisition Method and Image-Capturing Device
Abstract
An image-acquisition method and an image-capturing device are disclosed. The method includes obtaining a depth image of a current scene; obtaining a visible-light image of the current scene; obtaining a current depth of a target object in the current scene according to the depth image and the visible-light image; obtaining a current overlapping degree for indicating a ratio of an overlapping region to a base region, wherein the overlapping region is an overlapping region between a field-of-view (FOV) region of the depth image at the current depth and a FOV region of the visible-light image at the current depth, and the base region is the FOV region of the visible-light image at the current depth; and triggering a prompt message for adjusting the current depth of the target object, in response to the current overlapping degree not being within a preset range.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . An image-acquisition method, comprising:
obtaining a depth image of a current scene; obtaining a visible-light image of the current scene; obtaining a current depth of a target object in the current scene according to the depth image and the visible-light image; obtaining a current overlapping degree for indicating a ratio of an overlapping region to a base region, wherein the overlapping region is an overlapping region between a field-of-view (FOV) region of the depth image at the current depth and a FOV region of the visible-light image at the current depth, and the base region is the FOV region of the visible-light image at the current depth; and triggering a prompt message for adjusting the current depth of the target object, in response to the current overlapping degree not being within a preset range.
2 . The image-acquisition method as claimed in claim 1 , wherein the method is applied in an image-capturing device comprising a visible-light camera and an infrared-light camera; and
the obtaining the current overlapping degree for indicating the ratio of the overlapping region to the base region comprises: obtaining the overlapping region between the FOV region of the depth image at the current depth and the FOV region of the visible-light image at the current depth according to the current depth, a FOV of the visible-light camera, a FOV of the infrared-light camera, and a preset distance between the visible-light camera and the infrared-light camera; and calculating the ratio of the overlapping region to the FOV region of the visible-light image, to obtain the current overlapping degree.
3 . The image-acquisition method as claimed in claim 2 , wherein when the preset distance is invariant, the current overlapping degree increases as the current depth of the target object increases.
4 . The image-acquisition method as claimed in claim 2 , wherein when the current depth is invariant, the current overlapping degree decreases as the preset distance increases.
5 . The image-acquisition method as claimed in claim 2 , wherein the overlapping region decreases as the preset distance increases when the current depth is invariant, the FOV of the visible-light camera is invariant, and the FOV of the infrared-light camera is invariant; or
the overlapping region increases as the FOV of the infrared-light camera increases when the current depth is invariant, the FOV of the visible-light camera is invariant, and the preset distance is invariant; or the overlapping region increases as the FOV of the visible-light camera increases when the current depth is invariant, the FOV of the infrared-light camera is invariant, and the preset distance is invariant.
6 . The image-acquisition method as claimed in claim 1 , wherein the triggering the prompt message for adjusting the current depth of the target object comprises:
triggering a first prompt message for increasing the current depth of the target object, in response to the current overlapping degree being less than a minimum value of the preset range; or triggering a second prompt message for decreasing the current depth of the target object, in response to the current overlapping degree being greater than a maximum value of the preset range.
7 . The image-acquisition method as claimed in claim 1 , wherein the first prompt message or the second prompt message is in a manner selected from at least one of text and voice.
8 . An image-capturing device, comprising:
a depth-capturing assembly, configured for obtaining a depth image of a current scene; a visible-light camera, configured for obtaining a visible-light image of the current scene; and a processor, configured for:
obtaining a current depth of a target object in the current scene according to the depth image and the visible-light image;
obtaining a current overlapping degree for indicating a ratio of an overlapping region to a base region, wherein the overlapping region is an overlapping region between a field-of-view (FOV) region of the depth image at the current depth and a FOV region of the visible-light image at the current depth, and the base region is the FOV region of the visible-light image at the current depth; and
triggering a prompt message for adjusting the current depth of the target object, in response to the current overlapping degree not being within a preset range.
9 . The image-capturing device as claimed in claim 8 , wherein the depth-capturing assembly comprises an infrared-light camera; and
the processor is further configured for:
obtaining the overlapping region between the FOV region of the depth image at the current depth and the FOV region of the visible-light image at the current depth according to the current depth, a FOV of the visible-light camera, a FOV of the infrared-light camera, and a preset distance between the visible-light camera and the infrared-light camera; and
calculating the ratio of the overlapping region to the FOV region of the visible-light image, to obtain the current overlapping degree.
10 . The image-capturing device as claimed in claim 9 , wherein when the preset distance is invariant, the current overlapping degree increases as the current depth of the target object increases.
11 . The image-capturing device as claimed in claim 9 , wherein when the current depth is invariant, the current overlapping degree decreases as the preset distance increases.
12 . The image-capturing device as claimed in claim 9 , wherein the overlapping region decreases as the preset distance increases when the current depth is invariant, the FOV of the visible-light camera is invariant, and the FOV of the infrared-light camera is invariant; or
the overlapping region increases as the FOV of the infrared-light camera increases when the current depth is invariant, the FOV of the visible-light camera is invariant, and the preset distance is invariant; or the overlapping region increases as the FOV of the visible-light camera increases when the current depth is invariant, the FOV of the infrared-light camera is invariant, and the preset distance is invariant.
13 . The image-capturing device as claimed in claim 9 , wherein the triggering the prompt message for adjusting the current depth of the target object comprises:
triggering a first prompt message for increasing the current depth of the target object, in response to the current overlapping degree being less than a minimum value of the preset range; or triggering a second prompt message for decreasing the current depth of the target object, in response to the current overlapping degree being greater than a maximum value of the preset range.
14 . The image-capturing device as claimed in claim 8 , wherein the first prompt message or the second prompt message is in a manner selected from at least one of text and voice.
15 . A non-transitory computer-readable storage medium storying thereon computer-executable instructions, when executed by one or more processor, causing the one or more processor to perform:
obtaining a depth image of a current scene; obtaining a visible-light image of the current scene; obtaining a current depth of a target object in the current scene according to the depth image and the visible-light image; obtaining a current overlapping degree for indicating a ratio of an overlapping region to a base region, wherein the overlapping region is an overlapping region between a field-of-view (FOV) region of the depth image at the current depth and a FOV region of the visible-light image at the current depth, and the base region is the FOV region of the visible-light image at the current depth; and triggering a prompt message for adjusting the current depth of the target object, in response to the current overlapping degree not being within a preset range.
16 . The non-transitory computer-readable storage medium as claimed in claim 15 , wherein the non-transitory computer-readable storage medium is applied in an image-capturing device comprising a visible-light camera and an infrared-light camera; and
when the computer-executable instructions executed by the one or more processor, causing the one or more processor to further perform: obtaining the overlapping region between the FOV region of the depth image at the current depth and the FOV region of the visible-light image at the current depth according to the current depth, a FOV of the visible-light camera, a FOV of the infrared-light camera, and a preset distance between the visible-light camera and the infrared-light camera; and calculating the ratio of the overlapping region to the FOV region of the visible-light image, to obtain the current overlapping degree.
17 . The non-transitory computer-readable storage medium as claimed in claim 16 , wherein when the preset distance is invariant, the current overlapping degree increases as the current depth of the target object increases.
18 . The non-transitory computer-readable storage medium as claimed in claim 16 , wherein when the current depth is invariant, the current overlapping degree decreases as the preset distance increases.
19 . The non-transitory computer-readable storage medium as claimed in claim 16 , wherein the overlapping region decreases as the preset distance increases when the current depth is invariant, the FOV of the visible-light camera is invariant, and the FOV of the infrared-light camera is invariant; or
the overlapping region increases as the FOV of the infrared-light camera increases when the current depth is invariant, the FOV of the visible-light camera is invariant, and the preset distance is invariant; or the overlapping region increases as the FOV of the visible-light camera increases when the current depth is invariant, the FOV of the infrared-light camera is invariant, and the preset distance is invariant.
20 . The non-transitory computer-readable storage medium as claimed in claim 15 , wherein the triggering the prompt message for adjusting the current depth of the target object comprises:
triggering a first prompt message for increasing the current depth of the target object, in response to the current overlapping degree being less than a minimum value of the preset range; or triggering a second prompt message for decreasing the current depth of the target object, in response to the current overlapping degree being greater than a maximum value of the preset range.Join the waitlist — get patent alerts
Track US2021084280A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.