Method, device and program for adaptively adjusting a detection region

The adaptive adjustment of surveillance camera detection areas based on image analysis ensures effective monitoring by repositioning the focal region to the center, addressing maintenance challenges and improving footage quality.

JP2024536355AInactive Publication Date: 2024-10-04NEC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024520653
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-14
Filing Date
2022-09-28
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Surveillance cameras often struggle with maintenance due to environmental changes, lens issues, and misalignment, leading to ineffective monitoring and difficulty in collecting useful video footage for post-incident investigation.

Method used

A method and apparatus for adaptively adjusting the detection area of an imaging device by analyzing the appearance of individuals in captured images over time, identifying unused portions, and repositioning the focal region to the center to ensure optimal coverage.

Benefits of technology

Enhances the ability of surveillance cameras to maintain effective monitoring by automatically adjusting the detection area to focus on the center of the field of view, improving the collection of useful images and video footage without manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024536355000001_ABST
    Figure 2024536355000001_ABST
Patent Text Reader

Abstract

A method (300) for adjusting a detection area of ​​an image captured by an imaging device (402) includes detecting (302) an appearance of a person within the detection area from an input image previously captured by the imaging device (402) over a period of time; generating (304) a map corresponding to the detection area based on the appearance of the person, the map including a measure of the appearance of the person detected in each of a plurality of portions of the detection area across the input image; determining (306) whether a ratio of an unused portion to the plurality of portions exceeds a threshold ratio; and adjusting (308) the detection area such that a focal region within the detection area including a portion of the utilized portion is located at the center of the adjusted detection area of ​​the image captured in response to the determination.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an imaging device and a detection area of ​​an image captured by the imaging device, and more particularly to a method, an apparatus, a system and a program for adaptively adjusting a detection area of ​​an image captured by the imaging device. [Background technology]

[0002] Millions of surveillance cameras are deployed around the world for safety measurements, especially at public transport hubs such as train stations and bus stops. Most of these images and video footage are captured without processing, as real-time video analysis is too resource-intensive and requires highly skilled personnel to set up and configure it. Images and video footage are retrieved on demand for post-investigation purposes as evidence. Summary of the Invention [Problem to be solved by the invention]

[0003] Maintenance of these huge numbers of surveillance cameras can be very difficult if solely relied upon manual labor as any of the cameras can malfunction or mis-adjust at any given moment due to changes in environmental conditions such as change in lighting, dust / dirt on the camera lenses, and even external factors including refurbishment, cleaning services on top of software systems, and hardware issues or failures.

[0004] Furthermore, although a surveillance camera is previously set up for a specific purpose, such as monitoring incoming human traffic, due to renovation work, the human traffic flow may be redirected in a different flow in an unfocused direction, so that behavioral changes of the surveillance target may become another operational challenge. This may cause the surveillance camera to not be implemented according to its original purpose, such as, for example, detecting suspicious persons, understanding the scene and collecting evidence for post-incident investigation, and providing useful images and video footage as required.

[0005] Therefore, there is a need to provide a method, apparatus, system and program to address the above problems.

[0006] Furthermore, other desirable features and characteristics will become apparent from the following detailed description and the appended claims, taken in conjunction with the accompanying drawings and this background of the disclosure. [Means for solving the problem]

[0007] In a first aspect, the present disclosure provides a computer-implemented method for adaptively adjusting a detection region of an image captured by an imaging device, the method comprising: detecting an appearance of one or more persons within a detection region from each of a plurality of input images previously captured by an imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of an appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of an unused portion to a plurality of portions of the detection area exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection area having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of one or more humans was not detected in that portion across the plurality of input images; adjusting the detection region such that a focal region within the detection region that includes at least a portion of the unused portion of the plurality of portions is located at or near a center of the adjusted detection region of an image captured by the imaging device in response to the determination; Includes.

[0008] In a second aspect, the present disclosure provides an apparatus for adaptively adjusting a detection region of an image captured by an imaging device, the apparatus comprising: At least one processor; at least one memory containing computer program code; Equipped with The at least one memory and the computer program code, using the at least one processor, cause the apparatus to at least: detecting an appearance of one or more persons within a detection region from each of a plurality of input images previously captured by an imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of an appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of an unused portion to a plurality of portions of the detection region exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection region having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of one or more persons was not detected in that portion across the plurality of input images; The detection area is adjusted so that a focal area within the detection area that includes at least a portion of an unused portion of the plurality of portions is positioned at or near the center of the adjusted detection area of ​​an image captured by the imaging device in response to the determination.

[0009] In a third aspect, the present disclosure provides a system for adaptively adjusting a detection region of an image captured by an imaging device, comprising an apparatus according to the second aspect and an imaging device.

[0010] In a fourth aspect, the present disclosure provides a non-transitory computer-readable medium storing a program for adaptively adjusting a detection region of an image captured by an imaging device, the program causing a computer to perform at least: detecting an appearance of one or more persons within a detection region from each of a plurality of input images previously captured by an imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of an appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of an unused portion to a plurality of portions of the detection region exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection region having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of one or more persons was not detected in that portion across the plurality of input images; The detection area is adjusted so that a focal area within the detection area that includes at least a portion of an unused portion of the plurality of portions is positioned at or near the center of the adjusted detection area of ​​an image captured by the imaging device in response to the determination.

[0011] Further benefits and advantages of the disclosed embodiments will become apparent from the specification and drawings, in which the benefits and / or advantages may be obtained individually from the various embodiments and features of the specification and drawings, and not all need be provided to obtain one or more of such benefits and / or advantages. [Brief description of the drawings]

[0012] Embodiments of the present invention will be better understood and readily apparent to those skilled in the art from the following description, given by way of example only, in conjunction with the drawings in which: [Figure 1A] A diagram showing an imaging device (e.g., a camera) configured with the goal of performing video analytics detection to detect the appearance of a person within a detection area. [Figure 1B] FIG. 1B illustrates the imaging device of FIG. 1A performing video analytics detection to detect the appearance of a person within a detection area when there is human traffic or a change in the environment. [Figure 1C] 1C illustrates a focus area within the image (or field of view) of the camera of FIG. 1B and a field of view adjustment for the camera according to an embodiment of the present disclosure. [Diagram 2]1A-1C illustrate outputs of different video analytics detections performed on an input image therein, according to embodiments of the present disclosure. [Diagram 3] 1 is a flowchart illustrating a method for adaptively adjusting a detection region of an image captured by an imaging device, according to various embodiments of the present disclosure. [Figure 4] FIG. 1 is a block diagram illustrating a system for adaptively adjusting a detection region of an image captured by an imaging device, according to various embodiments of the present disclosure. [Diagram 5] FIG. 1 is a flow diagram illustrating a system that performs some of the operations for adaptively adjusting a detection region of an imaging device, according to an embodiment of the present disclosure. [Figure 6] 6 is a flow diagram illustrating the system of FIG. 5 performing another portion of the operation of adaptively adjusting the detection area of ​​the imaging device. [Figure 7] FIG. 2 is a flow diagram illustrating a process for generating a detection map and a composite detection map based on the appearance of one or more people detected from an input image according to an embodiment of the present disclosure. [Figure 8] FIG. 1 is a flow diagram illustrating a process for generating an analysis density map based on appearances of people detected across multiple input images captured by a camera according to an embodiment of the present disclosure. [Figure 9] FIG. 13 illustrates an exemplary analysis density map generated based on the appearances of multiple people detected from multiple input images previously detected by a camera over an eight-hour period, according to an embodiment of the present disclosure. [Figure 10] FIG. 10 illustrates an unutilized and utilized portion of a detection area based on the analysis density map of FIG. 9 according to an embodiment of the present disclosure. [Figure 11] FIG. 10 illustrates a maximum scale of appearance generated by the analysis density map of FIG. 9 according to an embodiment of the present disclosure. [Figure 12] FIG. 10 illustrates a focal region selected from the utilized portion based on the appearance measure generated in the analysis density map of FIG. 9 according to an embodiment of the present disclosure. [Figure 13]FIG. 13 illustrates a reference center portion within a detection region relative to a focus region according to an embodiment of the present disclosure. [Figure 14] 13A-13C are diagrams illustrating field of view adjustments for relocating a focal region to a nominal center portion within a detection region according to embodiments of the present disclosure. [Figure 15] 13A-13C are diagrams illustrating changing the magnification of an imaging device to adjust the detection area according to embodiments of the present disclosure. [Figure 16] 1A-1C are diagrams illustrating example camera view adjustments corresponding to adjustments in the detection region to relocate the focus region to a reference center portion using pixel coordinate difference and field of view (AFOV), according to embodiments of the present disclosure. [Figure 17] 4A-4C illustrate example camera zoom adjustments corresponding to adjustments in a detection region, according to embodiments of the present disclosure. [Figure 18] 1 is a flowchart illustrating a process for adaptively adjusting a detection region of an image captured by an imaging device according to an embodiment of the present disclosure. [Figure 19] 20 is a flowchart illustrating a process for performing and storing first level analysis detection in the human appearance database of FIG. 18 according to an embodiment of the present disclosure. [Figure 20] 19 is a flowchart illustrating a process of processing utilization space to generate the camera view adjustment suggestions of FIG. 18 according to an embodiment of the present disclosure. [Figure 21] FIG. 1 is a schematic diagram outlining a process for adaptively adjusting a detection region of an image captured by an imaging device according to an embodiment of the present disclosure. [Figure 22] 5 is a schematic diagram of an exemplary computing device suitable for use in performing the method of FIG. 3 and implementing the apparatus of FIG. 4. [Diagram 23] 1 is a block diagram illustrating an apparatus for adaptively adjusting a detection region of an image captured by an imaging device, according to various embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Explanation of terms Detection Area - The detection area of ​​an image captured by an imaging device may correspond to the field of view of the imaging device. In the various embodiments below, the terms "detection area" and "field of view" are used interchangeably. The field of view of the imaging device can be adjusted by (i) rotating the imaging device around the horizontal axis, i.e., pan adjustment, and / or the vertical axis, i.e., tilt adjustment, to change the horizontal and / or vertical device angle of the imaging device relative to the field of view to have a different field of view, and / or (ii) increasing or decreasing the magnification, i.e., zoom adjustment, of the imaging device, resulting in a different detection area of ​​the image captured by the imaging device. The detection area reflected in the image can be divided or segmented into multiple parts. For simplicity, various embodiments of the present disclosure show a grid division on the detection area, where the detection area reflected in the image is divided into multiple equal parts, i.e., square areas or grid cells, such that the detection area turns into a grid map. The x and y coordinates may be used to specify the division lines and to position each cell. The image or the detection area of ​​the image can then be analyzed and processed part by part. It is understood that other segmentation methods using symmetric / asymmetric, equal / unequal shapes, areas and sizes may be used. In various embodiments, the same detection region reflected in multiple input images undergoes the same partitioning and division into multiple portions such that each portion reflects the same portion of the detection region across the multiple input images, and each image or detection region in each image also undergoes the same analysis and processing for each portion.

[0014] Appearance - The appearance of a person in an image is detected based on the person's facial features, body parts, characteristics and movements, or a combination thereof. Examples of facial features include the relative position, size, shape and / or contour of the eyes, nose, cheekbones, chin and jaw, as well as iris pattern, skin color, hair color, or a combination thereof. Characteristics include physical characteristics such as height, build, body proportions, limb length, hair color, skin color, clothing, possessions, other similar characteristics or combinations. Movement may include behavioral characteristics such as body movement, limb position, direction of movement, speed of movement, walking pattern, the way a person stands, moves, speaks, other similar characteristics or combinations.

[0015] In various embodiments, each image is subjected to at least two appearance detections and measurements (hereinafter sometimes referred to as video analytics detections) based on different facial features, body parts, characteristics, movements, or combinations thereof. For example, face detection and pose detection may be performed within an image to detect the appearance of all people within that image. Such multiple appearance detections can be used to provide a more comprehensive person appearance measurement for detection region refinement.

[0016] Alternatively or additionally, each image may be subjected to only one video analytics detection based on one facial feature, body part, characteristic, movement, or combination thereof (e.g., face detection) to ensure that only images with the detected appearance are stored in the database for further processing. Images in the database taken over a period of time may then be subsequently searched and subjected to at least one other video analytics detection based on another different facial feature, body part, characteristic, movement, or combination thereof (e.g., pose detection).

[0017] Appearance Measure - An appearance measure generally relates to a count of appearances detected, for example, within a portion, portions or entirety of a detection area of ​​an input image, or within the same portion, portions or entirety of the same detection area of ​​multiple input images. In various embodiments of the present disclosure, the imaging device is pre-configured with a detection weight profile, and each count of appearances detected by the imaging device based on different facial features, body parts, characteristics, movements, or combinations thereof, is further subjected (e.g., added or multiplied) with a different detection weight, thereby resulting in a different appearance measure. Such a profile of detection weights may be pre-configured for the imaging device by a user based on the goals for which the imaging device is to be used, installed, or configured to perform.

[0018] Map - A map refers to a two-dimensional (2D) data array that contains a compilation of the appearance measures determined in all segmented portions of the detection area. A map can also be combined with another map by summing the appearance measures in corresponding portions determined in the two maps.

[0019] Similarly, each segmented portion of the detection area undergoes at least two appearance detections and measurements based on different facial features, body parts, characteristics and movements, or a combination of images thereof. For example, face detection and pose detection may be performed for each segmented portion of the detection area to detect whether a person's appearance (in this case, any person's face and pose) is detected in that portion. The same effect can be achieved by determining which segmented portion the detected appearance (in this case, face and pose) falls into.

[0020] As a result, at least two different detection maps can be generated from the images by measuring the appearance of the detected persons from all segmented portions of the detection area based on different facial features, body parts, characteristics and movements or a combination thereof. Furthermore, the different detection maps generated from the images can be combined to form a composite detection map. Furthermore, the different composite detection maps generated from different images taken over a period of time can be combined to form an analysis density map that reflects a measure of the appearance of all persons in all segmented portions of the detection area over a period of time and can be analyzed using the analysis density map.

[0021] Unutilized Part - Unutilized part refers to a segmented part of the detection region where no features are detected. In other words, such a segmented part is associated with no feature measure or a feature measure of zero.

[0022] Utilized Part - Utilized part refers to a segmented part of the detection area in which at least one appearance of a person is detected. In other words, such a segmented part is associated with a non-zero value of the appearance measure.

[0023] Focal Area - A focal area refers to an area of ​​interest within a detection area or field of view of an imaging device. In various embodiments, the focal area relates to a portion (or portions) for which a higher measure of appearance is determined compared to the remaining areas of the detection area. In various embodiments below, if the focal area moves away from the center or a preset central portion of the detection area or field of view of the imaging device, an adjustment to the detection area or field of view of the imaging device is performed such that the focal area is at or near the center or the preset central portion of the adjusted detection area or field of view of the imaging device. In this way, an image captured by an imaging device with an adjusted detection area or field of view is more likely to detect the appearance of a person near or in the center of the image or the preset central portion.

[0024] Embodiment Embodiments of the present invention will now be described, by way of example only, with reference to the drawings in which like reference numbers and letters indicate similar or equivalent elements, and in which:

[0025] Some portions of the description which follow are presented explicitly or implicitly in terms of algorithms and functional or symbolic representations of operations on data within a computer memory. These algorithmic descriptions and functional or symbolic representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here generally conceived to be a self-consistent sequence of steps leading to a desired result. These steps require physical manipulations of physical quantities, such as electrical, magnetic or optical signals capable of being stored, transferred, combined, compared, and otherwise manipulated.

[0026] Unless otherwise indicated, and as will become apparent below, descriptions utilizing terms such as "receive," "calculate," "determine," "update," "generate," "initialize," "output," "receive," "search," "identify," "distribute," "authenticate," and the like throughout this specification will be understood to refer to the actions and processes of a computer system or similar electronic device that manipulates and converts data represented as physical quantities within a computer system into other data similarly represented as physical quantities within a computer system or other information storage, transmission, or display device.

[0027] This specification also discloses an apparatus for performing the operations of the method. Such an apparatus may be specially constructed for the required purposes, or may comprise a computer or other device selectively activated or reconfigured by a computer program stored in the computer. The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various machines can be used with programs in accordance with the teachings of this specification. Alternatively, the construction of more specialized apparatus to perform the required method steps may be appropriate. The structure of the computer will be apparent from the following description.

[0028] In addition, this specification also implicitly discloses a computer program in that it is clear to a person skilled in the art that the individual steps of the methods described herein may be implemented by computer code. The computer program is not intended to be limited to any particular programming language and its implementation. It will be understood that a variety of programming languages ​​and their coding may be used to implement the teachings of the present disclosure contained herein. Furthermore, the computer program is not intended to be limited to any particular control flow. There are many other variations of the computer program that can use different control flows without departing from the spirit or scope of the present invention.

[0029] Furthermore, one or more of the steps of the computer program may be performed in parallel rather than sequentially. Such a computer program may be stored on any computer-readable medium. The computer-readable medium may include storage devices such as magnetic or optical disks, memory chips, or other storage devices suitable for interfacing with a computer. The computer-readable medium may also include hardwired media, as exemplified in the Internet system, or wireless media, as exemplified in the GSM mobile telephone system. The computer program, when loaded and executed on such a computer, effectively produces an apparatus that implements the steps of the preferred method.

[0030] Various embodiments of the present disclosure relate to methods and apparatus for adaptively adjusting a detection region of an image captured by an imaging device, and those skilled in the art will appreciate that such apparatus and imaging device may be implemented as part of a system to provide the same technical effect.

[0031] 1A shows an imaging device (e.g., camera 102) configured with the goal of performing video analytics detection to detect the appearance of a person within a detection area. The detection area corresponds to the field of view 105 of the camera 102. In this example, the camera 102 may be configured (e.g., by a user) with the goal of detection / surveillance to detect the appearance of a person based on a combination of body detection and face detection, and the camera 102 was set up before the modification was performed in the detection area. Typically, the appearance 104 of a person moving in a direction 106 within the detection area, i.e., the field of view 105 of the camera 102, is captured and detected in the image 100 of the camera 102.

[0032] 1B shows the imaging device of FIG. 1A performing video analytics detection to detect the appearance of a person within the detection area when there is a change in human traffic or environment. As mentioned above, human traffic flow may change or be redirected out of focus due to modifications made in the detection area (shown in box 118). Due to the modifications, the person 114 now moves in a direction 116 around the detection area, and the camera 102, originally configured to perform both body and face detection to detect the appearance of the person within the detection area, is unable to detect the appearance of the person to carry out its goal.

[0033] Therefore, there is a need to provide a method and apparatus that can adaptively adjust the field of view (and thus the detection area) of the camera 102 to adopt such changes in human traffic and environment. FIG. 1C illustrates a focal area 122 in the image 120 (i.e., the field of view or detection area) of the camera 102 of FIG. 1B and a field of view adjustment for the camera 102 according to an embodiment of the present disclosure. The focal area 122 is a region of interest for which a high appearance measure is determined compared to the remaining area of ​​the image 120. In this embodiment, the focal area in the lower left corner of the image 120 is determined to have a higher appearance measure than the remaining area of ​​the image 120, and then an adjustment to the field of view 120 of the camera is performed such that the focal area 122 is shifted to be at or near a pre-set portion of it, in this case a pre-set central portion shown in the dashed box 122'. Thus, subsequent images captured by the camera 102 under the adjusted field of view 120' are more likely to detect the appearance of a person near or at the pre-set portion 122' of the image 120'.

[0034] In accordance with the present disclosure, a method and apparatus for adaptively adjusting a detection region of an image captured by an imaging device provides advantages in collecting evidence and data of a person's appearance (or presence) in a series of images or videos by using human / body detection without requiring human involvement.

[0035] Furthermore, it should be noted that each video analysis detection (e.g., body detection, pose detection, face detection) has its own advantages. For example, body detection can detect smaller person appearance size compared to face detection analysis, while pose detection can detect more person appearance details such as person posture / gesture compared to body detection analysis. The method and apparatus according to the present disclosure also provide the advantage of combining multiple video analysis detections (e.g., body detection and pose detection) on demand to help provide more comprehensive person appearance detection and detection region adjustment.

[0036] 2 illustrates the outputs 202a-202c of different video analytics detections performed on an input image 200 according to an embodiment of the present disclosure. In this embodiment, three different video analytics detections, namely, body detection, post detection, and face detection, are performed on the input image 200. Their detection outputs are shown in images 200a, 200b, and 200c, respectively. Two people's appearances 202a, 204a can be detected using body detection, two people's appearances 202b, 204b can also be detected using pose detection, and only one person's appearance 202c is detected by face detection because the appearance of the other person may be too small for face detection.

[0037] According to the present disclosure, the method and apparatus also provide that the imaging device may be (pre)configured with goals, for example by a user, for the imaging device to be used, installed, or configured to operate. Examples of goals include face recognition, action recognition, or crowd estimation. Each goal has a different detection weight profile, where different video analytics detections are performed, and different detection weights are also applied to different video analytics detections. For example, the imaging device may be configured with a goal to perform face recognition, where body detection and face detection are performed per image with detection weights of 1 and 3, respectively. This means that an appearance detected through a person's face from an image is given a higher measure / count (3 times higher) than an appearance detected through a person's body from the same image. Meanwhile, under action recognition, the imaging device may be configured to perform body detection, face detection, and pose detection with detection weights of 1, 2, and 3, respectively, and under crowd estimation, body detection and pose detection are performed with detection weights of 1 and 3, respectively.

[0038] Advantageously, a region of interest or focal area (e.g., a focal rectangle) is determined based on a detection weight profile for a preset target of the imaging device, and the field of view and detection area are adjusted based on the focal area of ​​the imaging device to better perform video analytics detection according to the preset detection and surveillance target.

[0039] FIG. 3 shows a flow chart illustrating a method for adaptively adjusting a detection region of an image captured by an imaging device according to various embodiments of the present disclosure. At step 302, detecting the appearance of one or more persons in the detection region from each of a plurality of input images previously captured by the imaging device over a period of time is performed. At step 304, generating a first map corresponding to the detection region based on the appearance of each of the one or more persons. The map includes a first measure of appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images. At step 306, determining whether a ratio of an unused portion to a plurality of portions of the detection region exceeds a threshold ratio is performed. Each unused portion is a portion of the plurality of portions of the detection region that is not associated with a first measure of appearance or has a first measure of appearance of zero, indicating that an appearance of the one or more persons was not detected in that portion across the plurality of input images. In step 308, adjusting the detection area such that a focal area within the detection area that includes at least a portion of the utilized portion of the plurality of portions is positioned at or near the center of the adjusted detection area in the image captured by the imaging device in accordance with the determination in step 306.

[0040] FIG. 4 illustrates a block diagram illustrating a system 400 for adaptively adjusting a detection region of an image captured by an imaging device 402, according to various embodiments of the present disclosure.

[0041] In one example, the management of image input is performed by at least the imaging device 402 and the apparatus 404. The system 400 comprises the imaging device 402 in communication with the apparatus 404. In one implementation, the apparatus 404 can be generally described as a physical device comprising at least one processor 406 and at least one memory 408 including computer program code. The at least one memory 408 and the computer program code, together with the at least one processor 406, are configured to cause the physical device to perform the operations described in FIG. 3. The processor 406 is configured to receive the input images from the imaging device 402 or to retrieve the input images from a database. Alternatively or additionally, the input images captured by the imaging device 402 are stored in a database 410 and the processor 406 is configured to retrieve the input images from the database 410.

[0042] The imaging device 402 may be a device such as a closed circuit television (CCTV) that provides a variety of appearance data that may be used by the system to detect the appearance of one or more persons. In one implementation, the appearance data derived from the imaging device 402 may be stored in a memory 408 of the device 404 or in a database 410 accessible by the device 404. The appearance data may include (i) facial feature data such as the relative position, size, shape and / or contour of the eyes, nose, cheekbones, chin and jaw, as well as iris pattern, skin color, hair color or combinations thereof, (ii) physical characteristic data such as height, body size, body proportions, limb length, hair color, skin color, clothing, possessions, other similar characteristics or combinations, and (iii) behavioral characteristic data such as body movements, limb position, direction of movement, speed of movement, walking pattern, the way a person stands, moves, speaks, other similar characteristics or combinations.

[0043] In one implementation, camera data such as location and resolution, and / or temporal data including a timestamp at which one or more persons are identified may also be derived from the imaging device 402. The camera data and / or temporal data may be stored in a memory 408 of the device 404 or in a database 410 accessible by the device 404, and the processor 406 is configured to identify and retrieve appearance data or images based on the temporal data. It should be appreciated that the database 410 may be part of the device 404.

[0044] The apparatus 404 may be configured to communicate with the imaging device 402 and the database 410. In one example, the apparatus 404 may receive as input from the imaging device 402 or retrieve from the database 410 multiple images associated with the same field of view of the imaging device and generate an output that, after processing by the processor 406 of the apparatus 404, may be used to adjust the field of view of the imaging device 402 to capture subsequent images.

[0045] In accordance with the present disclosure, after receiving an image from the imaging device 402 or retrieving an image from the database 410, the memory 408 and computer program code stored therein, using the processor 406, causes the apparatus 404 to detect an appearance of one or more persons within the detection region from each of a plurality of input images previously captured by the imaging device over a period of time, generate a first map corresponding to the detection region based on the respective appearance of the one or more persons, the first map including a first measure of appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images, determine whether a ratio of an unused portion to the plurality of portions of the detection region exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection region that has no associated first measure of appearance or has a first measure of appearance of zero, indicating that an appearance of the one or more persons was not detected in that portion across the plurality of input images, and adjust the detection region such that a focal region within the detection region including at least a portion of the unused portion of the plurality of portions is located at or near a center of the adjusted detection region of an image captured by the imaging device in response to the determination.

[0046] FIG. 5 shows a flow diagram illustrating a system 500 for performing some of the operations of adaptively adjusting the detection region of an imaging device according to an embodiment of the present disclosure. The system may include a video archive search system 506 configured to search a series of input images captured by each of the cameras 502 (e.g., a historical sequence of images or video files 504 from an online video archive system or an offline video file input) and perform a first level of video analytics detection (e.g., body / face detection). The first level of video analytics detection output (e.g., detected person appearance data) and its corresponding input images are stored in a person appearance database 508 along with all necessary camera information such as location, resolution, timestamp, etc. In one example, input images that do not have an analysis detection output, i.e., no person appearance is detected based on the video analytics detection, are discarded and not stored in the person appearance database 508 for further processing. In various embodiments, the person appearance database 508 is configured to search the images and detection data for additional and optional pose, body and face detection.

[0047] FIG. 6 shows a flow diagram illustrating the system 500 of FIG. 5 performing another part of the operation of adaptively adjusting the detection region of the imaging device. The user may specify the imaging device, in this case the camera 1602, and the time range for analysis and the images 604a-604d captured within the time period (or associated with the time data) are retrieved as input, and all related information such as the first level detection output and camera information are retrieved from the person appearance database 508 for further processing. According to the present disclosure, each of the cameras 502 (including the camera 1602) is configured with the goal that the camera is used, installed, or configured to perform. In this case, the camera 1602 is configured with a face recognition goal profile, and thus body detection, pose detection, and face detection are performed, and are given detection weights of 1, 3, and 3, respectively. Once the first level video analysis for body detection is performed, the system 500 may then perform on-demand additional video analysis for pose detection and face detection using the retrieved input images 604a-604d based on the predefined face recognition goal profile to meet the goal profile requirements.

[0048] 7 shows a flow diagram 700 illustrating a process of generating detection maps 706, 708 and a composite detection map 710 based on the appearance of one or more people detected from input images 704a-704d according to an embodiment of the present disclosure. Input images 704a-704d reflecting the same detection area or field of view of camera 1 captured over a selected time period and camera 1 data such as resolution (e.g., 1024×768) as shown in target profiles 703 and 705 are searched. Based on target profile 703, video analysis for body detection and face detection should be performed on each of input images 704a-704d with detection weights of 1 and 3, respectively.

[0049] For each search image, a 2D array memory storage is constructed according to the resolution of the camera 1 selected for each video analysis, and the 2D array detection map is initialized with a value of 0. According to an embodiment of the present disclosure, the detection region of each search image 704a-704d is divided into a number of square lattice cells to form a 2D array detection map according to the resolution 705 of the selected camera 1. The 2D array detection map is initialized with a value of 0. An appearance measure is determined for each of the cells of the 2D array detection map based on the appearance of one or more people detected in the 2D array for each video analysis detection, and thus a 2D array detection map reflecting an aggregation of the appearance measures across all the cells is generated for each video analysis detection.

[0050] Detection maps 706, 708 show portions of detection maps generated from one input image (704a, 704b, 704c or 704d) that detect the appearance of a person based on body detection and face detection. The appearance of a person is detected in 12 cells of the detection map 706 based on body detection and in 4 cells of the detection map 708 based on face detection. Such appearance detection constitutes an appearance count in each cell in which the appearance is detected, but the appearance measure (i.e. the output of the video analytics detection output) is increased based on the detection weights of each of the video analytics detections. In this embodiment, the detection weights of the body detection and face detection are 1 and 3 respectively, and thus the 12 cells in which the appearance of a person is detected by body detection have an appearance measure of 1 as shown in the detection map 706, while the 4 cells in which the appearance of a person is detected via the face detection plane therefore have an appearance measure of 3 as shown in the detection map 708.

[0051] Further, by correspondingly summing the appearance measures in the multiple detection maps 706, 708, a 1024 x 768 composite detection map (only a portion of the composite detection map 710 is shown) is generated that shows the appearance of people detected within the same detection region of camera 1's field of view through multiple video analysis detections from the input images (704a, 704b, 704c or 704d).

[0052] FIG. 8 shows a flow diagram illustrating a process of generating an analysis density map based on the appearance of people detected across multiple input images captured by a camera according to an embodiment of the present disclosure. A composite detection map reflecting the same field of view from each input image is generated and stored in an analysis database 804. The composite detection maps 802 generated from multiple input images having the same field of view within a selected time period are then retrieved from the analysis database 804 to generate an analysis density map by correspondingly summing the appearance measures of all retrieved composite detection maps 802. According to the present disclosure, such an analysis density map 806 indicates the appearance measures (hereinafter sometimes referred to as "detection density values") of all people in all cells detected over a selected time period and can be used for further processing and analysis to adjust the detection and field of view of the camera.

[0053] 9 illustrates an example analysis density map 906 generated based on the appearance of multiple people detected from multiple input images previously detected by a camera (in this case, camera 1) over a period of 8 hours, according to an embodiment of the present disclosure. For simplicity, a 2D analysis density map 906 with a resolution of 14×9 (width×height) is shown. The value of each cell in the analysis density map 906 is calculated by summing a composite detection map generated from multiple images 902 with the same resolution of 14×9 captured by camera 1 over a period of 8 hours.

[0054] FIG. 10 illustrates the unutilized and utilized portions of the detection region based on the analysis density map of FIG. 9 according to an embodiment of the present disclosure. Unutilized portions or spaces are portions within the detection region where no appearances are detected over a selected time period. Such unutilized portions or spaces are reflected as a zero appearance measure in the analysis density map 906, as shown using the hatched blocks 1004 in FIG. 10. Utilized portions or spaces, on the other hand, are portions within the detection region where at least one appearance was detected over a selected time period, and such utilized portions or spaces are reflected as a non-zero appearance measure in the analysis density map 906, as shown using the open blocks 1006 in FIG. 10. According to the present disclosure, the unutilized space percentage is calculated using formula (1):

number

[0055] In this embodiment, the camera resolution is 14x9 in terms of width x height (or columns x rows), and the detection area is segmented into a number of cells with a resolution of 1x1. Thus, the unutilized space percentage of the analysis density map 906 is 51 / (9x14)=51 / 126=0.404761 or 40.4761%. Then, it is checked whether such unutilized space percentage is above a preset underutilization threshold. If the utilized space percentage is above the underutilization threshold, a subsequent step of determining a focal area within the detection area is performed, otherwise, no further operation or process is performed. In this case, the preset underutilization threshold is 0.4 or 40%. Since the unutilized space percentage is higher than the underutilization threshold, the system may proceed to perform the focal area determination step described below.

[0056] A focal region (hereinafter sometimes referred to as a focal rectangle) within the detection region may be determined using the detection density value range. The process may begin by finding the maximum density value within the 2D analysis density map. Figure 11 highlights with hatched block 1104 the highest scale of appearance generated in the analysis density map 906 of Figure 9 according to an embodiment of the present disclosure.

[0057] A minimum density value for the focal region is then determined based on the maximum density value. In one embodiment, the minimum density value is calculated by using a predefined focal density threshold or a multiplier multiplied with the maximum density value. In this case, if the predefined focal density threshold is 0.6, the minimum density value is 15×0.60 or 9. In this way, a detection density range of 9 to 15 is determined to identify the focal rectangle.

[0058] 12 illustrates a focal region selected from a utilization portion based on the appearance measure generated in the analysis density map of FIG. 9 according to an embodiment of the present disclosure. A minimum density value of 9 is used and compared to the appearance measures of all utilization portions in the analysis density map 906 to identify portions of the utilization portion having an appearance measure higher than the minimum density value. The identified utilization portions having an appearance measure higher than the minimum density value are shown in the hatched blocks of FIG. 12. A rectangular region 1206 that encloses all identified utilization portions is determined as the focal rectangle 1206. The x and y coordinates of the four edges that form the focal rectangle 1206 in the map 906 are also identified.

[0059] In one example, a focus rectangle is identified by first identifying the coordinates of each of the identified utilized portions having density values ​​that fall within the range from the minimum density value to the maximum density value by the minimum and maximum coordinates of the identified utilized portions and the four edges of the focus rectangle. In this case, the maximum x coordinates are 4 and 13, and the maximum y coordinates are 5 and 9, so the coordinates of the four edges that define the focus rectangle are identified: {4,5}, {4,9}, {13,5}, {13,9}.

[0060] 13 illustrates a nominal center within a detection region 1302 relative to a focus region 1304, according to an embodiment of the present disclosure. A nominal center or position 1306 of the determined focus rectangle 1304 can be calculated using the width and height of the focus rectangle 1304 (9×4 in this case) and the width and height of the detection region or map 1302 (14×9). In particular, the x and y coordinates of the top left edge of the nominal center 1306 may be calculated using the following formulas:

number

number

[0061] 14 illustrates field of view adjustments to relocate a focal region 1404 to a nominal central portion within a detection region, according to an embodiment of the present disclosure. Once the x and y coordinates of the focal rectangle and its nominal central portion within the detection region are identified, a change in camera settings required to adjust the current field of view 1402 of the camera 1400 to a new field of view 1412 to relocate the focal rectangle 1404 to the nominal central portion can be determined. Examples of calculations of pan, tilt and zoom adjustments required to relocate the focal region 1404 to the nominal central portion within the detection region are detailed in FIGS. 16-18 and their accompanying descriptions.

[0062] The current camera settings (e.g., pan angle, tilt angle, and zoom value) associated with the current field of view 1402 of the camera 1400 are retrieved, and new proposed candidate camera settings associated with the new field of view 1412 are determined. In one embodiment, the adjustment difference between the current camera settings and the new camera settings is calculated, and it is checked whether the adjustment difference is greater than a preset minimum change threshold. If the adjustment difference is greater than the minimum change threshold, a decision is made whether to propose a zoom adjustment (change in magnification), otherwise, if the adjustment difference is less than the minimum change threshold, indicating that no significant change in the camera settings is required, e.g., the focal area may already be near or at the reference center portion or the center portion of the detection area, no further action or process is performed.

[0063] For example, a current camera tilt angle for a current field of view 1402 is 30°, and a new camera tilt angle for a new field of view 1412 of 45° is determined to be required to reposition the focal rectangle 1404 to the nominal center portion, and the camera angle change percentage (adjustment difference) is (45°-30°) / 30° or 0.5 or 50%. In this case, the preset minimum camera angle change percentage threshold is 0.3 or 30%. Since the adjustment difference is greater than the minimum change threshold, the camera angle suggestion candidate of 45° becomes the suggestion.

[0064] The decision of whether to suggest a zoom adjustment is made, for example, by determining a profile zoom-in value derived from the camera settings. If the profile zoom-in value is true, a zoom calculation of the focus rectangle to full resolution may be added to the new proposed candidate settings. If the profile zoom-in value is false, no zoom suggestions or magnification changes are included in the new proposed candidate settings.

[0065] Furthermore, the zoom adjustment suggestion may also be determined based on the resolution of the detected person's appearance from the input image. FIG. 15 illustrates a change in the magnification of an imaging device to adjust the detection region according to an embodiment of the present disclosure. In this embodiment, it is determined that the detected person's appearance across multiple input images 1502 occupies 30 pixels (or a certain number of segmented portions) on average. In such a case, a change in magnification may be included in the new suggestion candidate setting such that the detected person's appearance in a subsequent image 1506 captured by the camera has a resolution at least or close to a certain pre-set resolution.

[0066] Additionally or alternatively, there may be a preset central portion within the detection region or preset focus region size 1506. If the size of the focus rectangle 1504 is larger or smaller than the preset central portion (or size 1506), a change in the camera magnification to zoom in or out so that the focus rectangle fits or matches the preset central portion or size 1506.

[0067] It then provides the calculated camera settings, i.e. pan+tilt+zoom, with recalibration suggestions.

[0068] According to an embodiment, the pan and tilt adjustments of the camera view can be calculated using pixel coordinate difference and field of view (AFOV). FIG. 16 illustrates an example camera view adjustment corresponding to an adjustment in a detection region to relocate a focus region 1604 to a reference center portion 1606 using pixel coordinate difference and field of view (AFOV), according to an embodiment of the present disclosure. In this embodiment, the x and y coordinates of the top left corner of the focus region 1604, i.e., {4,5}, and the reference center portion 1606, i.e., {3,3}, are determined. Using the x and y coordinates, the pixel coordinate difference between the focus region 1604 and the reference center portion 1606 can be calculated using the following formula:

number

number

[0069] Additionally, the current camera settings such as the sensor width (14.5927 mm) and sensor height (8.2084 mm) of the camera sensor 1610, as well as the focal length (2.8 mm) are also retrieved.

[0070] Both horizontal and vertical AFOV can be calculated using the following formulas:

number

number

number

number

[0071] Camera pan adjustments (around the horizontal axis) and tilt adjustments (around the vertical axis) can be calculated using the following formulas:

number

number

[0072] 17 illustrates an example camera zoom adjustment corresponding to an adjustment in the detection region, according to an embodiment of the present disclosure. Based on the size of the focus rectangle 1702 and the resolution of the full image (current detection region) 1704, the following equations (12) and (13) are used to calculate the zoom adjustments in width and height:

number

number

number

[0073] In this embodiment, the full image resolution (width x height) is 14 x 9 and the focal region resolution is 9 x 4. The calculated adjW and adjH are 1.5555 and 2.25 using equations (12) and (13), respectively, and the camera zoom-in factor calculated using equation (14) is 1.5555.

[0074] FIG. 18 shows a flowchart 1800 illustrating a process of adaptively adjusting the detection region of an image captured by an imaging device according to an embodiment of the present disclosure. In step 1802, a step of performing and storing a first level analysis detection in a person appearance database is performed. Step 1802 is further detailed in FIG. 19 and its accompanying description. In step 1804, a step of selecting a camera among a plurality of cameras in the system and a time range is performed by a user. In step 1806, a step of searching for a pre-set camera target profile of the user-selected camera is performed. In step 1808, a step of searching the image and detection data of the user-selected camera within the selected time range from the person appearance database is performed. In step 1810, it is determined whether there are more image and detection data of the user-selected camera within the selected time range in the person appearance database. If there are not, the process may end, otherwise, step 1812 is performed.

[0075] At step 1812, generating a detection map from the image and its detection data. At step 1814, initializing and updating a new detection map for the video analytics detection based on the weighting defined in the selected camera target profile is performed. At step 1816, it is determined whether there is another video analytics detection defined in the camera target profile. If the determination is positive, then step 1814 is performed for the other video analytics detection. If not, then step 1818 is performed.

[0076] In step 1818, a step of generating a composite detection map is performed by summing all detection maps of the images generated and updated in steps 1812 and 1814. In step 1820, a step of storing the composite detection map generated in step 1818 in an analysis database is performed. In step 1822, it is determined whether there are other images. If the determination is positive, steps 1812 to 1822 are performed using the other images, if not, step 1824 is performed.

[0077] In step 1824, a step of retrieving a composite detection map from an analysis database generated from the imagery and time range of the user-selected camera is performed. In step 1826, a step of generating an analysis density map is performed by summing the composite detection maps retrieved in step 1824. In step 1828, a step of calculating a utilized space in the analysis density map is performed. In step 1830, a step of calculating an unutilized space percentage is performed. In step 1832, it is determined whether the unutilized space percentage is above a predefined underutilization threshold. If the unutilized space percentage is lower than the predefined underutilization threshold, the process may end, otherwise, step 1834 is performed, where the utilized space is processed to generate camera view adjustment suggestions. Step 1834 is further detailed in FIG. 20 and its accompanying description.

[0078] FIG. 19 shows a flowchart 1900 illustrating a process of performing and storing a first level analysis detection in the person appearance database 1802 of FIG. 18 according to an embodiment of the disclosure. Step 1802 may begin by obtaining a historical sequence of images in step 1902. In step 1904, a step of performing a first level analysis detection is performed on the image. In step 1906, it is determined whether at least one person appearance is detected in the image based on the first level analysis detection. If no person appearance is detected, step 1910 is performed, otherwise, step 1908 is performed. In step 1908, a step of storing the image, its detection data, and camera information in the person appearance database is performed. In step 1910, it is determined whether there are other images. If the determination is positive, steps 1904-1910 are performed using the other images. If there are not, the process may end.

[0079] FIG. 20 shows a flowchart 2000 illustrating a process 1834 of processing utilization space to generate camera view adjustment suggestions of FIG. 18 according to an embodiment of the disclosure. In step 2002, a step is performed to find the maximum density value in the analysis density map. In step 2004, a step is performed to calculate a minimum density value. In step 2006, a step is performed to determine the coordinates of all density values ​​ranging from the minimum density value to the maximum density value. In step 2008, a step is performed to define a focus rectangle with minimum and maximum coordinates. In step 2010, a step is performed to calculate a nominal center portion of the focus rectangle. In step 2012, a step is performed to calculate and perform a camera adjustment.

[0080] 21 shows a schematic diagram 2100 outlining a process for adaptively adjusting a detection region of an image captured by an imaging device according to an embodiment of the present disclosure. Video and / or sequential images 2102 may be taken by multiple imaging devices, and each image undergoes a first level of analysis detection (body detection 2104 in this case) to identify a person's appearance from each image. Then, images of at least one person's appearance are stored in a person appearance database 2106. A user may specify or select a time range and a camera, and images 2108 captured by the camera within the time range are searched for.

[0081] For each retrieved image 2108a, a detection map 2112a may be first generated, indicating a measure of appearance detected based on a first level analysis detection (body detection) in all parts of the image. Based on the target profile of the selected camera, further on-demand video analysis detection 2110 may be required. In this case, additional video analysis for pose and face detection is required, and thus detection maps 2112b and 2112c are generated, indicating a measure of appearance detected based on the respective additional video analysis detection. Optionally, a composite detection map is also generated for each processed image by summing all detection maps 2112a-2112c generated based on multiple analysis detections, before storing in the analysis database 2116.

[0082] Subsequently, all the search images 2108 are processed, and the detection maps (and the composite detection map 2114) generated from the search images 2108 are stored in the analysis database 2116, and then the analysis density map 2118 is generated by summing the detection maps (or composite detection maps). The analysis density map 2118 is then used to identify the focus rectangle, calculate the coordinates of the reference center part for relocating the focus rectangle, and determine whether zoom adjustment is required. Next, the required camera pan and tilt adjustments are calculated, as well as the zoom adjustment 2120 for adjusting the field of view of the selected camera and relocating the focus area to the center part of the adjusted field of view. Then, the pan, tilt, and zoom adjustments are performed to adjust the field of view of the selected camera, so that the subsequent images of the selected camera are taken under the adjusted detection area.

[0083] Figure 22 illustrates a schematic diagram of an exemplary computing device 2200, hereinafter interchangeably referred to as computer system 2200, one or more such computing devices 2200 may be used or suitable for use to perform the method of Figure 3 and implement the apparatus of Figure 4. The following description of computing device 2200 is provided by way of example only and is not intended to be limiting.

[0084] 22, the exemplary computing device 2200 includes a processor 2204 for executing software routines. Although a single processor is shown for clarity, the computing device 2200 may also include a multi-processor system. The processor 2204 is connected to a communications infrastructure 2206 for communicating with other components of the computing device 2200. The communications infrastructure 2206 may include, for example, a communications bus, crossbar, or network.

[0085] The computing device 2200 further includes a main memory 2208, such as random access memory (RAM), and a secondary memory 2210. The secondary memory 2210 may include a storage drive 2212, which may be, for example, a hard disk drive, a solid state drive, or a hybrid drive, and / or a removable storage drive 2214, which may include a magnetic tape drive, an optical disk drive, a solid state storage drive (e.g., a USB flash drive, a flash memory device, a solid state drive, or a memory card), or the like. The removable storage drive 2214 reads from and / or writes to a removable storage medium 2218 in a well-known manner. The removable storage medium 2218 may include magnetic tape, optical disks, non-volatile storage media, etc., which are read from and written to by the removable storage drive 2214. As will be appreciated by one of skill in the art(s), the removable storage medium 2218 includes a computer-readable storage medium having stored thereon computer-executable program code instructions and / or data.

[0086] In alternative implementations, the secondary memory 2210 may additionally or alternatively include other similar means for allowing computer programs or other instructions to be loaded into the computing device 2200. Such means may include, for example, a removable storage unit 2222 and an interface 2220. Examples of removable storage units 2222 and interfaces 2220 include program cartridges and cartridge interfaces (such as those found in video game console devices), removable memory chips (such as EPROMs or PROMs) and associated sockets, removable solid-state storage drives (such as USB flash drives, flash memory devices, solid-state drives or memory cards), and other removable storage units 2222 and interfaces 2220 that allow software and data to be transferred from the removable storage unit 2222 to the computer system 2200.

[0087] The computing device 2200 also includes at least one communication interface 2224. The communication interface 2224 allows software and data to be transferred between the computing device 2200 and external devices via communication path 2226. In various embodiments of the invention, the communication interface 2224 allows data to be transferred between the computing device 2200 and a data communication network, such as a public or private data communication network. The communication interface 2224 may be used to exchange data between different computing devices 600, such as computing devices 2200 forming part of an interconnected computer network. Examples of the communication interface 2224 may include a modem, a network interface (such as an Ethernet card), a communication port (such as serial, parallel, printer, GPIB, IEEE 1394, RJ45, etc.), an antenna with associated circuitry, etc. The communication interface 2224 may be wired or wireless. The software and data transferred via the communication interface 2224 is in the form of signals, which may be electronic, electromagnetic, optical, or other signals capable of being received by the communication interface 2224. These signals are provided to the communications interface via communications path 2226.

[0088] As shown in FIG. 22, the computing device 2200 further includes a display interface 2202 that performs operations for rendering images on an associated display 2230, and an audio interface 2232 that performs operations for playing audio content via associated speaker(s) 2234.

[0089] The term "computer program product" as used herein may refer, in part, to removable storage medium 2218, removable storage unit 2222, a hard disk installed in storage drive 2212, or a carrier wave carrying software to communications interface 2224 via communications path 2226 (wireless link or cable). A computer readable storage medium refers to any non-transitory, non-volatile, tangible storage medium that provides recorded instructions and / or data to computing device 2200 for execution and / or processing. Examples of such storage media include magnetic tapes, CD-ROMs, Blu-ray disks, hard disk drives, ROMs or integrated circuits, solid-state storage drives (such as USB flash drives, flash memory devices, solid-state drives or memory cards), hybrid drives, magneto-optical disks, or computer readable cards such as PC cards, etc., whether such devices are internal or external to computing device 2200. Examples of transitory or non-tangible computer-readable transmission media that may be involved in providing software, application programs, instructions, and / or data to computing device 2200 include wireless or infrared transmission channels, as well as network connections to other computers or networked devices, and the Internet or intranets, including email transmissions and information stored on websites and the like.

[0090] Computer programs (also referred to as computer program code) are stored in main memory 2208 and / or secondary memory 2210. Computer programs may also be received via communications interface 2224. Such computer programs, when executed, enable computing device 2200 to implement one or more features of the embodiments discussed herein. In various embodiments, the computer programs, when executed, enable processor 1207 to implement the features of the above-mentioned embodiments. Such computer programs thus represent controllers of computer system 2200.

[0091] The software may be stored in a computer program product and loaded into the computing device 2200 using the removable storage drive 2214, the storage drive 2212, or the interface 2220. The computer program product may be a non-transitory computer readable medium. Alternatively, the computer program product may be downloaded to the computer system 2200 via communications path 2226. The software, when executed by the processor 2204, causes the computing device 2200 to perform the operations necessary to execute the method illustrated in FIG. 3 and to implement the apparatus of FIG. 4.

[0092] It should be understood that the embodiment of Figure 22 is presented merely as an example to illustrate the operation and structure of the apparatus 2200. Thus, in some embodiments, one or more features of the computing device 2200 may be omitted. Also, in some embodiments, one or more features of the computing device 2200 may be combined together. Additionally, in some embodiments, one or more features of the computing device 2200 may be divided into one or more component parts.

[0093] 23 shows a block diagram illustrating an apparatus 404 for adaptively adjusting a detection region of an image captured by an imaging device 402, according to various embodiments of the present disclosure. The apparatus 404 comprises at least one processor 406 and at least one memory 408 including computer program code.

[0094] It will be appreciated by those skilled in the art that numerous variations and / or modifications may be made to the invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described, and the present embodiments are therefore to be considered in all respects as illustrative and not restrictive.

[0095] This application claims priority to Singapore Patent Application No. 10202111442R filed on October 14, 2021, the disclosure of which is incorporated herein by reference in its entirety.

[0096] Additional Notes A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) 1. A computer-implemented method for adaptively adjusting a detection region of an image captured by an imaging device, comprising: detecting an appearance of one or more persons within a detection region from each of a plurality of input images previously captured by an imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of an appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of an unused portion to a plurality of portions of the detection area exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection area having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of one or more humans was not detected in that portion across the plurality of input images; adjusting the detection region such that a focal region within the detection region that includes at least a portion of the unused portion of the plurality of portions is located at or near a center of the adjusted detection region of an image captured by the imaging device in response to the determination; A method comprising: (Appendix 2) generating a plurality of second maps from each of the plurality of input images; Further comprising: each of the plurality of second maps corresponds to the detection region and includes a different second measure of appearance of the one or more persons detected in each of the plurality of portions of the detection region from each of the plurality of input images based on at least one of a facial feature, a body part, a characteristic, or a movement of the one or more persons; generating the first map includes, for a plurality of second maps generated from each of the plurality of input images, determining a first measure of appearance of the one or more persons in the first map detected in each of the plurality of portions of the detection region across the plurality of input images based on a respective second measure of appearance of the one or more persons detected in each of the plurality of portions of the detection region; The method described in Appendix 1. (Appendix 3) determining a second measure of appearance of the person based on a count of appearances of the one or more persons detected in each of the plurality of portions of the detection region from each of the plurality of input images based on at least one of a body part, a characteristic, or a movement of the one or more persons and a preset detection weight of the appearance detected by the imaging device based on at least one of a facial feature, a body part, a characteristic, or a movement; 3. The method of claim 2, further comprising: (Appendix 4) generating a third map corresponding to the detection region, the third map including a third measure of appearance of the one or more persons detected in each of the multiple portions of the detection region in each of the multiple input images, the third measure being a sum of respective second measures of appearance of the one or more persons of the multiple second maps detected in each of the multiple portions of the detection region from each of the multiple input images; generating the first map includes, with respect to a third map generated from the plurality of input images, determining a first measure of appearance of the one or more persons in the first map detected in each of the plurality of portions of the detection region across the plurality of input images based on a respective third measure of appearance of the one or more persons detected in each of the plurality of portions of the detection region; 4. The method according to claim 2 or 3. (Appendix 5) determining whether each of at least a portion of the utilization portions is associated with a measure of appearance of one or more persons that is equal to or greater than a threshold measure of appearance of the one or more persons; The method according to any one of claims 1 to 4, further comprising: (Appendix 6) determining a highest measure of appearance of one or more persons among the first measures of appearance of the one or more persons generated in the first map; calculating a threshold measure of person appearance based on a maximum measure of appearance of one or more persons; The method of claim 5, further comprising: (Appendix 7) Adjusting the detection area may include rotating the imaging device about a horizontal and / or vertical axis to change a device angle of the imaging device relative to the detection area; Increasing or decreasing the magnification of the imaging device so that the focal area occupies a preset central portion around the center of the adjusted detection area of ​​the image captured by the imaging device; The method according to any one of claims 1 to 6, comprising at least one of the following: (Appendix 8) Calculating an adjustment of the detection area required to move the focal area to the center of the detection area; determining whether the adjustment amount of the detection region is greater than a preset minimum adjustment threshold; Further comprising: adjusting the detection region is performed in response to determining that the amount of detection is greater than a preset minimum adjustment threshold. The method according to any one of appendix 1 to 7. (Appendix 9) 1. An apparatus for adaptively adjusting a detection area of ​​an image captured by an imaging device, comprising: At least one processor; at least one memory containing computer program code; Equipped with The at least one memory and the computer program code, using the at least one processor, cause the apparatus to at least: detecting an appearance of one or more persons within a detection region from each of a plurality of input images previously captured by an imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of an appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of an unused portion to a plurality of portions of the detection region exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection region having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of one or more persons was not detected in that portion across the plurality of input images; adjusting the detection region such that a focal region within the detection region that includes at least a portion of the unused portion of the plurality of portions is located at or near a center of the adjusted detection region of an image captured by the imaging device in response to the determination. Device. (Appendix 10) The at least one memory and computer program code cause the device, using the at least one processor, to generate, from each of the plurality of input images, at least a plurality of second maps, each of the plurality of second maps corresponding to a detection region and including a different second measure of appearance of the one or more persons detected in each of the plurality of portions of the detection region from each of the plurality of input images based on at least one of a facial feature, a body part, a characteristic, or a movement of the one or more persons; generating the first map includes, for a plurality of second maps generated from each of the plurality of input images, determining a first measure of appearance of the one or more persons in the first map detected in each of the plurality of portions of the detection region across the plurality of input images based on a respective second measure of appearance of the one or more persons detected in each of the plurality of portions of the detection region; 10. The apparatus of claim 9. (Appendix 11) The at least one memory and the computer program code, using the at least one processor, cause the apparatus to at least: determining a second measure of appearance of the one or more persons based on a count of appearances of the one or more persons detected in each of the plurality of portions of the detection region from each of the plurality of input images based on at least one of a body part, a characteristic, or a movement of the one or more persons and a preset detection weight of the appearance detected by the imaging device based on at least one of a facial feature, a body part, a characteristic, or a movement; 10. The apparatus of claim 9. (Appendix 12) The at least one memory and computer program code cause the apparatus, using the at least one processor, to generate at least a third map corresponding to the detection region, the third map including a third measure of appearance of the one or more persons detected in each of the multiple portions of the detection region in each of the multiple input images, the third measure being a sum of respective second measures of appearance of the one or more persons of the multiple second maps detected in each of the multiple portions of the detection region from each of the multiple input images; generating the first map includes, with respect to a third map generated from the plurality of input images, determining a first measure of appearance of the one or more persons in the first map detected in each of the plurality of portions of the detection region across the plurality of input images based on a respective third measure of appearance of the one or more persons detected in each of the plurality of portions of the detection region; 12. The apparatus of claim 10 or 11. (Appendix 13) The at least one memory and the computer program code, using the at least one processor, cause the apparatus to at least: determining whether each of at least a portion of the utilization portions is associated with a measure of appearance of one or more persons that is equal to or exceeds a threshold measure of appearance of the one or more persons; 13. The device according to any one of claims 9 to 12. (Appendix 14) The at least one memory and the computer program code, using the at least one processor, cause the apparatus to at least: determining a highest measure of appearance of one or more persons among the first measures of appearance of the one or more persons generated in the first map; calculating a threshold measure of person appearance based on a maximum measure of appearance of one or more persons; 14. The apparatus of claim 13. (Appendix 15) The at least one memory and the computer program code, using the at least one processor, cause the apparatus to at least: rotating the imaging device about a horizontal and / or vertical axis to change a device angle of the imaging device relative to the detection area; Increasing or decreasing the magnification of the imaging device so that the focal area occupies a preset central portion around the center of the adjusted detection area of ​​the image captured by the imaging device; The device according to any one of claims 9 to 14, which executes at least one of the above. (Appendix 16) The at least one memory and the computer program code, using the at least one processor, cause the apparatus to at least: calculating an adjustment of the detection area required to move the focal area to the center of the detection area; determining whether an amount of adjustment of the detection region is greater than a predetermined minimum adjustment threshold, and adjusting the detection region is performed in response to determining that the amount of detection is greater than the predetermined minimum adjustment threshold. Attachment 9 to 15, the device described in any one of claims 9 to 15. (Appendix 17) A system for adaptively adjusting a detection area of ​​an image captured by an imaging device, comprising: the apparatus according to any one of appendixes 9 to 16; and an imaging device. (Appendix 18) A non-transitory computer-readable medium storing a program for adaptively adjusting a detection area of ​​an image captured by an imaging device, the program causing a computer to perform at least the following steps: detecting an appearance of one or more persons within a detection region from each of a plurality of input images previously captured by an imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of an appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of an unused portion to a plurality of portions of the detection region exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection region having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of one or more persons was not detected in that portion across the plurality of input images; adjusting the detection region such that a focal region within the detection region that includes at least a portion of the unused portion of the plurality of portions is located at or near a center of the adjusted detection region of an image captured by the imaging device in response to the determination. Non-transitory computer-readable medium. [Explanation of symbols]

[0097] 100 images 102 Camera 104 Appearance 105 Views 106 directions 110 images 114 People 116 directions 118 Detection Area 120, 120' Views, Pictures 122, 122' focal area 200 input images 200a~200c Images 202a~202c Person appearance 204a, 204b Person appearance 300 Methods, Flowcharts 400 Systems 402 Imaging Device 404 Equipment 406 Processor 408 Memory 410 Database 500 Systems 502 Camera 504 Image or video files 506 Video Archive Search System 508 Person Appearance Database 602 Camera 1 604a to 604d Retrieved input images 700 Flow Diagram 703 Goal Profile 704a~704d Input images 705 Selected Camera 1 Resolution 706, 708 Detection Map 710 Synthetic Detection Map 802 Synthetic Detection Map 804 Analysis Database 806 Analytical Density Map 902 Input images 906 2D Analytical Density Maps 1004 Unused Areas or Spaces 1206 Focus rectangle, rectangular area 1207 Processor 1302 Detection area, detection map 1304 Focus rectangle, rectangular area 1306 Reference center part 1400 Camera 1402 Current Field of View 1404 Focus rectangle, rectangular area 1412 New Perspectives 1502 input images 1504 Focus rectangle 1506 Subsequent images, preset focal area size, preset center or size 1602 Detection area or focus area 1604 focal area 1606 Reference center part 1610 Camera Sensor 1702 Focus rectangle 1704 Full Image 1800 Flowchart 1900 Flowchart 2000 Flowchart 2100 Schematic 2102 Video image / continuous image 2104 Body Detection 2106 Person Appearance Database 2108, 2108a Search Images 2110 On-Demand Video Analytics Detection 2112a~2112c Detection Map 2114 Synthetic Detection Map 2116 Analysis Database 2118 Analytical Density Map 2120 Zoom adjustment 2200 Computer systems, computer devices or equipment 2202 Display Interface 2204 Processor 2206 Communication Infrastructure 2208 Main Memory 2210 Secondary Memory 2212 Storage Drive 2214 Removable Storage Drive 2218 Removable storage media 2220 Interface 2222 Removable Storage Unit 2224 Communication Interface 2226 Communication Path 2230 Display 2232 Audio Interface 2234 Speaker(s)

Claims

1. 1. A computer-implemented method for adaptively adjusting a detection region of an image captured by an imaging device, comprising: detecting an appearance of one or more persons within the detection area from each of a plurality of input images previously captured by the imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of the appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of unused portions to the plurality of portions of the detection area exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection area that has no associated first measure of appearance or has a first measure of appearance of zero, indicating that the appearance of the one or more humans was not detected in the portion across the plurality of input images; adjusting the detection area such that a focal area within the detection area that includes at least a portion of a utilization portion of the plurality of portions is located at or near a center of the adjusted detection area of ​​the image captured by the imaging device in response to the determination; A method comprising:

2. generating a plurality of second maps from each of the plurality of input images; each of a plurality of second maps corresponds to the detection region and includes a different second measure of the appearance of the one or more persons detected in each of the plurality of portions of the detection region from each of the plurality of input images based on at least one of a facial feature, a body part, a characteristic or a movement of the one or more persons; generating the first map includes, for the plurality of second maps generated from each of the plurality of input images, determining a first measure of the appearance of the one or more persons in the first map detected in each of the plurality of portions of the detection area across the plurality of input images based on a respective second measure of the appearance of the one or more persons detected in each of the plurality of portions of the detection area; The method of claim 1.

3. determining the second measure of the appearance of the person based on a count of the appearance of the one or more persons detected in each of the plurality of portions of the detection area from each of the plurality of input images based on the at least one of the body part, the characteristic, or the movement of the one or more persons and a preset detection weight of the appearance detected by the imaging device based on the at least one of a facial feature, the body part, the characteristic, or the movement. The method of claim 2 , further comprising:

4. generating a third map corresponding to the detection region; the third map includes a third measure of the appearance of the one or more persons detected in each of the portions of the detection area in each of the multiple input images, the third measure being a sum of respective second measures of the appearance of the one or more persons of the multiple second maps detected in each of the portions of the detection area from each of the multiple input images; generating the first map includes, with respect to the third map generated from the multiple input images, determining the first measure of the appearance of the one or more persons in the first map detected in each of the multiple portions of the detection area across the multiple input images based on a respective third measure of the appearance of the one or more persons detected in each of the multiple portions of the detection area; The method according to claim 2 or 3.

5. 5. The method of claim 1, further comprising: determining whether each of the at least some of the utilization portions is associated with a measure of appearance of the one or more persons that is greater than or equal to a threshold measure of appearance of the one or more persons.

6. determining a highest measure of appearance of the one or more persons among the first measures of appearance of the one or more persons generated in the first map; calculating the threshold measure of appearance of the person based on the highest measure of appearance of the one or more persons; The method of claim 5 further comprising:

7. Adjusting the detection area includes: rotating the imaging device about a horizontal and / or vertical axis to change a device angle of the imaging device relative to the detection area; increasing or decreasing the magnification of the imaging device such that the focal area occupies a preset central portion around a center of the adjusted detection area of ​​the image captured by the imaging device; The method according to any one of claims 1 to 6, comprising at least one of the following:

8. calculating an adjustment of the detection area required to move the focal area to the center of the detection area; determining whether the adjustment amount of the detection region is greater than a preset minimum adjustment threshold; adjusting the detection region is performed in response to determining that the amount of detection is greater than the preset minimum adjustment threshold. The method according to any one of claims 1 to 7.

9. 1. An apparatus for adaptively adjusting a detection area of ​​an image captured by an imaging device, comprising: At least one processor; at least one memory containing computer program code; Equipped with The at least one memory and the computer program code are adapted to cause the device, using at least one processor, to at least: detecting an appearance of one or more persons within the detection area from each of a plurality of input images previously captured by the imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of the appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of unused portions to the plurality of portions of the detection area exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection area having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of the one or more persons was not detected in the portion across the plurality of input images; adjusting the detection area such that a focal region within the detection area that includes at least a portion of a utilization portion of the plurality of portions is located at or near a center of the adjusted detection area of ​​the image captured by the imaging device in response to the determination. Device.

10. The at least one memory and the computer program code, using at least one processor, cause the apparatus to generate, from each of the plurality of input images, at least a plurality of second maps, each of the plurality of second maps corresponding to the detection region and including a different second measure of the appearance of the one or more persons detected in each of the plurality of portions of the detection region from each of the plurality of input images based on at least one of a facial feature, a body part, a characteristic, or a movement of the one or more persons; generating the first map includes, for the plurality of second maps generated from each of the plurality of input images, determining a first measure of the appearance of the one or more persons in the first map detected in each of the plurality of portions of the detection area across the plurality of input images based on a respective second measure of the appearance of the one or more persons detected in each of the plurality of portions of the detection area; 10. The apparatus of claim 9.

11. The at least one memory and the computer program code are adapted to cause the device, using at least one processor, to at least: determining a second measure of the appearance of the one or more persons based on a count of the appearance of the one or more persons detected in each of the plurality of portions of the detection area from each of the plurality of input images based on the at least one of a body part, a characteristic, or a movement of the one or more persons and a pre-set detection weight of the appearance detected by the imaging device based on the at least one of a facial feature, the body part, the characteristic, or the movement; 10. The apparatus of claim 9.

12. The at least one memory and the computer program code cause the apparatus, using at least one processor, to generate at least a third map corresponding to the detection area, the third map including a third measure of the appearance of the one or more persons detected in each of the plurality of portions of the detection area in each of the plurality of input images, the third measure being a sum of respective second measures of the appearance of the one or more persons of a plurality of second maps detected in each of the plurality of portions of the detection area from each of the plurality of input images; generating the first map includes, with respect to the third map generated from the multiple input images, determining the first measure of the appearance of the one or more persons in the first map detected in each of the multiple portions of the detection area across the multiple input images based on a respective third measure of the appearance of the one or more persons detected in each of the multiple portions of the detection area; 12. Apparatus according to claim 10 or 11.

13. The at least one memory and the computer program code are adapted to cause the device, using at least one processor, to at least: determining whether each of the at least some of the utilization portions is associated with a measure of the appearance of the one or more persons that is greater than or equal to a threshold measure of the appearance of the one or more persons. Apparatus according to any one of claims 9 to 12.

14. The at least one memory and the computer program code are adapted to cause the device, using at least one processor, to at least: determining a maximum measure of appearance of the one or more persons from the first measures of appearance of the one or more persons generated in the first map; calculating the threshold measure of appearance of the person based on the highest measure of appearance of the one or more persons; 14. The apparatus of claim 13.

15. The at least one memory and the computer program code are adapted to cause the device, using at least one processor, to at least: rotating the imaging device about a horizontal and / or vertical axis to change a device angle of the imaging device relative to the detection area; increasing or decreasing the magnification of the imaging device such that the focal area occupies a preset central portion around the center of the adjusted detection area of ​​the image captured by the imaging device; The apparatus according to any one of claims 9 to 14, further comprising:

16. The at least one memory and the computer program code are adapted to cause the device, using at least one processor, to at least: calculating an adjustment of the detection area required to move the focal area to the center of the detection area; determining whether an amount of adjustment of the detection area is greater than a preset minimum adjustment threshold, and adjusting the detection area is performed in response to determining that the amount of detection is greater than the preset minimum adjustment threshold. Apparatus according to any one of claims 9 to 15.

17. A system for adaptively adjusting a detection region of an image captured by an imaging device, comprising an apparatus according to any one of claims 9 to 16 and an imaging device.

18. A non-transitory computer-readable medium storing a program for adaptively adjusting a detection area of ​​an image captured by an imaging device, the program being configured to cause a computer to perform at least the following steps: detecting an appearance of one or more persons within the detection area from each of a plurality of input images previously captured by the imaging device over a period of time; generating a first map corresponding to the detection region based on an appearance of each of the one or more persons, the first map including a first measure of the appearance of the one or more persons detected in each of a plurality of portions of the detection region across the plurality of input images; determining whether a ratio of unused portions to the plurality of portions of the detection area exceeds a threshold ratio, each unused portion being a portion of the plurality of portions of the detection area having no associated first measure of appearance or having a first measure of appearance of zero, indicating that an appearance of the one or more persons was not detected in the portion across the plurality of input images; A non-transitory computer readable medium that adjusts the detection area such that a focal area within the detection area that includes at least a portion of a utilization portion of the plurality of portions is positioned at or near a center of the adjusted detection area of ​​the image captured by the imaging device in response to the determination.

Citation Information

Patent Citations

  • Information processing device, information processing method, and program

    JP2015070559A

  • Image processing device, image processing method, and image processing system

    JP2016100696A

  • Camera system and camera device

    JP2017204825A