Method and device for determining size of monitored object, electronic equipment and storage medium

Through the recognition and analysis of image sequences in roadside sensing multi-camera fusion technology, the reference size and frequency of occurrence of the target object are determined, the problem of object size deviation is solved, and the accuracy and efficiency of monitoring object size are improved.

CN118570282APending Publication Date: 2024-08-30BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410792636.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In roadside sensing multi-camera fusion technology, due to complex factors such as traffic flow in intersections, object occlusion often leads to large object size deviations, affecting the accuracy of the fused object size.

Method used

By acquiring the image sequence collected in a continuous period before the current moment, the image sequence is identified, the reference size of the target object and the number of occurrences of the reference size are determined, and the current size of the target object is calculated based on this information.

Benefits of technology

The accuracy and efficiency of determining the size of monitoring objects are improved, and size deviations caused by object occlusion or truncation are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570282A
    Figure CN118570282A
Patent Text Reader

Abstract

The invention provides a method and device for determining the size of a monitored object, electronic equipment and a storage medium, and relates to the technical field of computers, in particular to the technical field of artificial intelligence such as image processing, automatic driving, intelligent transportation and intelligent logistics. According to the specific scheme, firstly, an image sequence collected in a first continuous time period before the current moment is obtained, the image sequence is recognized, a target object contained in the image sequence, a reference size corresponding to the target object and the occurrence frequency of the reference size are determined, and then the target object is determined according to the reference size and the occurrence frequency of the reference size. And determining the current target size of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to the field of artificial intelligence technology such as image processing, autonomous driving, intelligent transportation, and smart logistics, and specifically to a method, device, electronic device, and storage medium for determining the size of a monitored object. Background Art

[0002] At present, in the roadside perception multi-camera fusion technology, due to the influence of complex factors such as traffic at intersections, object occlusion often occurs, resulting in large deviations in object size, thus affecting the accuracy of the fused object size. Summary of the invention

[0003] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0004] The first aspect of the present disclosure provides a method for determining the size of a monitored object, including:

[0005] Acquire a sequence of images acquired in a first continuous period before the current moment;

[0006] Identify the image sequence, determine the target object contained in the image sequence, the reference size corresponding to the target object, and the number of occurrences of the reference size;

[0007] A current target size of the target object is determined according to the reference size and the number of occurrences of the reference size.

[0008] The second aspect of the present disclosure provides a device for determining the size of a monitored object, including:

[0009] An acquisition module, used to acquire a sequence of images acquired in a first continuous period before a current moment;

[0010] an identification module, configured to identify the image sequence, determine a target object contained in the image sequence, a reference size corresponding to the target object, and an occurrence frequency of the reference size;

[0011] The first determination module is used to determine the current target size of the target object according to the reference size and the number of occurrences of the reference size.

[0012] The third aspect embodiment of the present disclosure proposes a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for determining the size of a monitored object proposed in the first aspect embodiment of the present disclosure is implemented.

[0013] The fourth aspect embodiment of the present disclosure proposes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the method for determining the size of a monitored object proposed in the first aspect embodiment of the present disclosure is implemented.

[0014] The fifth aspect of the present disclosure provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method for determining the size of a monitored object as provided in the first aspect of the present disclosure.

[0015] The method, device, electronic device and storage medium for determining the size of a monitored object provided by the present disclosure have the following beneficial effects:

[0016] In the disclosed embodiment, firstly, an image sequence collected in the first continuous time period before the current moment is acquired, then the image sequence is identified, the target object contained in the image sequence, the reference size corresponding to the target object and the number of occurrences of the reference size are determined, and finally, the current target size of the target object is determined according to the reference size and the number of occurrences of the reference size. Thus, by identifying the image sequence in the continuous time period before the current moment, the reference size of the target object and the number of occurrences of the reference size are determined, and based on the reference size and the number of occurrences of the reference size, the current target size of the target object is determined, thereby improving the accuracy and efficiency of determining the size of the monitored object.

[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0019] Figure 1 A schematic diagram of a flow chart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure;

[0020] Figure 2 A schematic diagram of a flow chart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure;

[0021] Figure 3 A schematic diagram of a flow chart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure;

[0022] Figure 4 A schematic diagram of a flow chart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure;

[0023] Figure 5A schematic diagram of a flow chart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure;

[0024] Figure 6 A schematic diagram of determining a target size of a target object provided by an embodiment of the present disclosure;

[0025] Figure 7 A schematic diagram showing the effect of the method for determining the size of a monitored object provided by an embodiment of the present disclosure;

[0026] Figure 8 A schematic diagram of the structure of a device for determining the size of a monitored object provided by an embodiment of the present disclosure;

[0027] Fig. 9 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0028] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0029] The present disclosure relates to the fields of artificial intelligence technologies such as autonomous driving and intelligent transportation.

[0030] Artificial Intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.

[0031] Image processing refers to the technology of analyzing, processing, and manipulating images to meet visual, psychological or other requirements.

[0032] Autonomous driving, also known as unmanned driving, computer driving or wheeled mobile robot, is a cutting-edge technology that relies on computers and artificial intelligence technology to achieve complete, safe and efficient driving without human control.

[0033] Intelligent Traffic is the effective and integrated application of advanced science and technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operations research, artificial intelligence, etc.) to transportation, service control and vehicle manufacturing, strengthening the connection between vehicles, roads and users, thus forming a comprehensive transportation that ensures safety, improves efficiency, improves the environment and saves energy.

[0034] Smart logistics refers to a modern logistics model that uses intelligent technologies such as smart software and hardware, the Internet of Things, and big data to achieve refined, dynamic, and visual management of all aspects of logistics, improve the intelligent analysis and decision-making and automated operation execution capabilities of the logistics system, and enhance the efficiency of logistics operations.

[0035] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0036] The following describes a method, device, electronic device, and storage medium for determining the size of a monitored object according to an embodiment of the present disclosure with reference to the accompanying drawings.

[0037] Figure 1 A flowchart of a method for determining the size of a monitored object provided in an embodiment of the present disclosure.

[0038] like Figure 1 As shown, the method for determining the size of the monitored object may include the following steps:

[0039] Step 101: Acquire a sequence of images collected in a first continuous period before the current moment.

[0040] It should be noted that the length of the first continuous period can be any preset length, or can also be determined according to actual needs. For example, the length of the first continuous period can be 10 seconds, etc., which is not limited in the present disclosure.

[0041] The image sequence may be a sequence composed of images collected during the first continuous time period.

[0042] It should be noted that the image sequence in the first continuous period can be obtained in any manner. For example, the image sequence can be obtained by tracking and collecting objects in the first continuous period in a video stream manner, and the present disclosure does not limit this.

[0043] Step 102: Identify the image sequence to determine the target object contained in the image sequence, the reference size corresponding to the target object, and the number of occurrences of the reference size.

[0044] The target object may be a monitoring object whose size needs to be adjusted, and may be any object. For example, the target object may be a truck, etc., which is not limited in the present disclosure.

[0045] The reference size may be the size of the target object captured in the image sequence.

[0046] It should be noted that the number of reference sizes corresponding to the target object may be any number. For example, the number of reference sizes of the target object may be one, or may be multiple, which is not limited in the present disclosure.

[0047] In the present disclosure, after obtaining the image sequence captured within the first continuous time period, the image sequence can be identified to determine the target object contained in the graphic sequence, the reference size corresponding to the target object, and the number of occurrences of the reference size, thereby providing a data basis for determining the accuracy of the size of the monitored object.

[0048] It should be noted that, when there are multiple reference dimensions, the number of occurrences of each reference dimension may be any number, and the number of occurrences of each reference dimension may be different from the number of occurrences of other reference dimensions, or may be the same, and the present disclosure does not limit this.

[0049] In the present disclosure, after determining the reference size corresponding to the target object, in the case where there are multiple reference sizes, in order to improve the reliability of the determined size of the target object, the number of occurrences of each reference size may also be determined.

[0050] Step 103: Determine the current target size of the target object according to the reference size and the number of occurrences of the reference size.

[0051] The target size may be the final size of the target object.

[0052] In the present disclosure, after determining the reference size of the target object and the number of occurrences of the reference size, object occlusion is likely to occur due to factors such as traffic at intersections, resulting in a large size deviation of the target object in the acquired image sequence. In order to improve the accuracy of the current target size of the determined target object, the current target size of the target object can be determined based on the reference size and the number of occurrences of the reference size.

[0053] It should be noted that, when there are multiple reference sizes, the current target size of the target object can be determined according to the number of occurrences of each reference size, thereby improving the accuracy of determining the current target size of the target object, and the present disclosure does not limit this.

[0054] In the disclosed embodiment, firstly, an image sequence collected in the first continuous time period before the current moment is acquired, then the image sequence is identified, the target object contained in the image sequence, the reference size corresponding to the target object and the number of occurrences of the reference size are determined, and finally, the current target size of the target object is determined according to the reference size and the number of occurrences of the reference size. Thus, by identifying the image sequence in the continuous time period before the current moment, the reference size of the target object and the number of occurrences of the reference size are determined, and based on the reference size and the number of occurrences of the reference size, the current target size of the target object is determined, thereby improving the accuracy and efficiency of determining the size of the monitored object.

[0055] Figure 2 A flowchart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure.

[0056] like Figure 2 As shown, the method for determining the size of the monitored object may include the following steps:

[0057] Step 201: Acquire a sequence of images acquired in a first continuous period before the current moment.

[0058] The specific implementation form of step 201 can refer to the detailed description in other embodiments of the present disclosure, and will not be described in detail here.

[0059] Step 202: perform object recognition on the image sequence to determine the objects contained in the image sequence.

[0060] It should be noted that the method for performing object recognition on the image sequence may be any pre-set method, and the present disclosure does not limit this.

[0061] In the present disclosure, after obtaining an image sequence acquired in a first continuous period before the current moment, object recognition may be performed on the image sequence to determine the object contained in the image sequence.

[0062] It should be noted that the objects contained in the image sequence may be of any number and type, which is not limited in the present disclosure.

[0063] Step 203: when the number of occurrences of any object in the image sequence is greater than a number threshold, determine that the object is a target object.

[0064] The number threshold may be a critical value of the number of occurrences used to determine whether any object in an image sequence is a target object, which may be preset and is not limited in the present disclosure.

[0065] In the present disclosure, after performing object recognition on an image sequence and determining the objects contained in the image sequence, if the number of appearances of any object in the image sequence is greater than a number threshold, the any object can be determined to be a monitored object. At this time, the any object can be determined to be a target object.

[0066] In some possible implementation forms, before determining the target object based on the relationship between the number of occurrences of any object in the image sequence and the number threshold, in order to improve the accuracy of the determined target object, the number threshold may also be determined based on the length of the first continuous period and the acquisition frequency of the image acquisition device. For example, if the length of the first continuous period is 5 seconds and the acquisition frequency of the image acquisition device is 5 frames / second, then the number threshold may be 25, 30, 32, etc., which is not limited in the present disclosure.

[0067] The image acquisition device may be a pre-set device of any type and function, for example, the image acquisition device may be a road test perception camera, etc., which is not limited in the present disclosure.

[0068] The acquisition frequency may be the frequency at which the image acquisition device acquires images of the monitored object.

[0069] It should be noted that different image acquisition devices may have different corresponding acquisition frequencies, or may also be the same, and the present disclosure does not limit this.

[0070] It should be noted that the length of the first continuous time period and the acquisition frequency of the image acquisition device are different, and the determined number thresholds may be different or may be the same, and the present disclosure does not limit this.

[0071] Step 204: Determine the reference size corresponding to the target object and the number of occurrences of the reference size.

[0072] Step 205: Determine the current target size of the target object according to the reference size and the number of occurrences of the reference size.

[0073] The specific implementation forms of step 204 to step 205 can refer to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0074] In the disclosed embodiment, firstly, an image sequence collected in the first continuous time period before the current moment is acquired, and an object recognition is performed on the image sequence to determine the objects contained in the image sequence. When the number of occurrences of any object in the image sequence is greater than the number threshold, the any object is determined to be a target object, and the reference size corresponding to the target object and the number of occurrences of the reference size are determined. Then, according to the reference size and the number of occurrences of the reference size, the current target size of the target object is determined. Thus, by performing object recognition on the image sequence in the continuous time period before the current moment, the objects contained in the image sequence are determined, and based on the relationship between the number of occurrences of any object and the number threshold, the target object and the reference size of the target object are determined. According to the number of occurrences of the reference size, the target size of the target object is determined, thereby improving the efficiency and reliability of determining the size of the monitored object.

[0075] Figure 3 A flowchart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure.

[0076] like Figure 3 As shown, the method for determining the size of the monitored object may include the following steps:

[0077] Step 301: Acquire a sequence of images collected in a first continuous period before the current moment.

[0078] The specific implementation form of step 301 can refer to the detailed description in other embodiments of the present disclosure, and will not be described in detail here.

[0079] Step 302, when the image sequence includes a first sequence captured by the first camera and a second sequence captured by the second camera, the first sequence and the second sequence are respectively identified to obtain a first monitoring object and first information of the first monitoring object contained in the first sequence, and a second monitoring object and second information of the second monitoring object contained in the second sequence.

[0080] It should be noted that the type of the first camera may be different from the type of the second camera, or may be the same as the type of the second camera. For example, the first camera and the second camera may both be fisheye cameras, etc., and the present disclosure does not limit this.

[0081] It should be noted that the first sequence may be different from the second sequence, and the present disclosure does not limit this.

[0082] The first monitored object may be an object that appears more frequently in the first sequence captured by the first camera, and may also be considered as a target object in the first sequence.

[0083] The first information may be information used to characterize the first monitored object, and may be any information. For example, the first information may be the shape, type, location, etc. of the first monitored object, which is not limited in the present disclosure.

[0084] The second monitored object may be an object that appears more frequently in the second sequence captured by the second camera, and may also be considered as a target object in the second sequence.

[0085] The second information may be information used to characterize the second monitored object, and may be any information. For example, the second information may be the shape, type, location, etc. of the second monitored object, which is not limited in the present disclosure.

[0086] It should be noted that the second information may be different from the first information, or may be the same as the first information, and this disclosure does not limit this.

[0087] In the present disclosure, after obtaining an image sequence within a first continuous time period, when the image sequence includes a first sequence captured by a first camera and a second sequence captured by a second camera, object recognition can be performed on the first sequence and the second sequence respectively to obtain a first monitored object and first information of the first monitored object contained in the first sequence, and a second monitored object and second information of the second monitored object contained in the second sequence, thereby providing a data basis for determining the size of the monitored object.

[0088] Step 303: Determine whether the first monitored object and the second monitored object are the same object according to the first information and the second information.

[0089] In the present disclosure, after obtaining the first information of the first monitored object and the second information of the second monitored object, in order to improve the efficiency of determining the size of the monitored object, it is possible to determine whether the first monitored object and the second monitored object are the same object based on the first information and the second information.

[0090] Step 304, when the first monitored object and the second monitored object are the same object, determine the reference size of the same object in the first sequence and the second sequence, and the number of occurrences of the reference size in the first sequence and the second sequence.

[0091] In the present disclosure, when the first monitored object and the second monitored object are the same object, since there may be a deviation between the reference size of the same object in the first sequence and the reference size in the second sequence, in order to improve the accuracy of determining the size of the same object, the reference size of the same object in the first sequence and the second sequence, and the number of occurrences of the reference size in the first sequence and the second sequence can be first determined.

[0092] It should be noted that, when there are multiple reference sizes, when the first monitored object and the second monitored object are the same object, in order to improve the accuracy of determining the size of the same object, the number of occurrences of each reference size of the same object in the first sequence and the second sequence can also be determined, and the present disclosure does not limit this.

[0093] It should be noted that the reference size of the same object in the first sequence and the second sequence may be different, or may be the same, and the present disclosure does not limit this.

[0094] It should be noted that the reference size of the same object may appear at different times in the first sequence and the second sequence, or may be the same, and the present disclosure does not limit this.

[0095] Step 305: Determine the current target size of the same object according to the reference size and the number of occurrences of the reference size.

[0096] In the present disclosure, after determining the reference size of the same object and the number of occurrences of the reference size in the first sequence and the second sequence, the current target size of the same object can be determined based on the reference size and the number of occurrences of the reference size, thereby improving the reliability of determining the size of the same object.

[0097] It should be noted that, when there are multiple reference sizes, the target size of the same object can be determined based on each reference size and the number of occurrences of each reference size, and the present disclosure does not limit this.

[0098] The specific implementation form of step 305 can refer to the detailed description in other embodiments of the present disclosure, and will not be described in detail here.

[0099] In the embodiment of the present disclosure, firstly, an image sequence acquired in a first continuous period before the current moment is acquired. When the image sequence includes a first sequence acquired by a first camera and a second sequence acquired by a second camera, the first sequence and the second sequence are respectively identified to acquire a first monitoring object and first information of the first monitoring object contained in the first sequence, and a second monitoring object and second information of the second monitoring object contained in the second sequence. Then, according to the first information and the second information, it is determined whether the first monitoring object and the second monitoring object are the same object. When the first monitoring object and the second monitoring object are the same object, the reference size of the same object in the first sequence and the second sequence and the number of occurrences of the reference size in the first sequence and the second sequence are determined. Finally, according to the reference size and the number of occurrences of the reference size, the current target size of the same object is determined. Thus, when the image sequence includes a sequence acquired by a first camera and a sequence acquired by a second camera, the monitoring object, the information of the monitoring object and the reference size in each sequence are determined by respectively identifying each sequence. When each monitoring object is the same object, the target size of the same object is determined based on the reference size of the same object and the number of occurrences of the reference size, thereby improving the reliability and accuracy of determining the size of the monitoring object.

[0100] Figure 4 A flowchart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure.

[0101] like Figure 4 As shown, the method for determining the size of the monitored object may include the following steps:

[0102] Step 401: Acquire a sequence of images acquired in a first continuous period before the current moment.

[0103] Step 402, when the image sequence includes a first sequence captured by the first camera and a second sequence captured by the second camera, the first sequence and the second sequence are respectively identified to obtain a first monitoring object and first information of the first monitoring object contained in the first sequence, and a second monitoring object and second information of the second monitoring object contained in the second sequence.

[0104] The specific implementation forms of step 401 to step 402 can refer to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0105] Step 403, determining a first probability ellipse associated with the first monitoring object according to the type of the first monitoring object in the first information, and determining a second probability ellipse associated with the second monitoring object according to the type of the second monitoring object in the second information.

[0106] It should be noted that, depending on the type of the first monitoring object, the first probability ellipse associated with the determined first monitoring object may be different, and the present disclosure does not limit this.

[0107] It should be noted that, depending on the type of the second monitored object, the second probability ellipse associated with the determined second monitored object may be different, and the present disclosure does not limit this.

[0108] It should be noted that the type of the first monitored object may be different from the type of the second monitored object, or may be the same, and the present disclosure does not limit this.

[0109] In the present disclosure, after the first camera and the second camera are deployed, the first probability ellipse associated with the first monitoring object and the second probability ellipse associated with the second monitoring object can be determined respectively according to historical data statistics and analysis and based on the type of the first monitoring object and the type of the second monitoring object.

[0110] In the present disclosure, after obtaining the first information of the first monitored object contained in the first sequence and the second information of the second monitored object contained in the second sequence, the first probability ellipse of the first monitored object can be determined based on the type of the first monitored object in the first information, and the second probability ellipse of the second monitored object can be determined based on the type of the second monitored object in the second information, thereby providing conditions for determining whether the first monitored object and the second monitored object are the same object.

[0111] Step 404 , based on the first probability ellipse, the second probability ellipse, the first position in the first information, and the second position in the second information, determine whether the first monitored object and the second monitored object are the same object.

[0112] It should be noted that the first position in the first information may be different from the second position in the second information, or may be the same, and the present disclosure does not limit this.

[0113] In the present disclosure, after determining the first probability ellipse of the first monitored object and the second probability ellipse of the second monitored object, in order to improve the accuracy of judging whether the first monitored object and the second monitored object are the same object, it is possible to determine whether the first monitored object and the second monitored object are the same object based on the first probability ellipse, the second probability ellipse, and the first position of the first monitored object in the first information and the second position of the second monitored object in the second information.

[0114] Step 405 , when the first monitored object and the second monitored object are the same object, determine the reference size of the same object in the first sequence and the second sequence, and the number of occurrences of the reference size in the first sequence and the second sequence.

[0115] Step 406, determining the current target size of the same object according to the reference size and the number of occurrences of the reference size.

[0116] The specific implementation forms of step 405 to step 406 can refer to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0117] In the disclosed embodiment, first, an image sequence acquired in a first continuous time period before a current moment is acquired. When the image sequence includes a first sequence acquired by a first camera and a second sequence acquired by a second camera, the first sequence and the second sequence are respectively identified to acquire a first monitored object and first information of the first monitored object contained in the first sequence, and a second monitored object and second information of the second monitored object contained in the second sequence. Then, according to the type of the first monitored object in the first information, a first probability ellipse associated with the first monitored object is determined. According to the type of the second monitored object in the second information, a second probability ellipse associated with the second monitored object is determined. Based on the first probability ellipse, the second probability ellipse, the first position in the first information, and the second position in the second information, it is determined whether the first monitored object and the second monitored object are the same object. When the first monitored object and the second monitored object are the same object, a reference size of the same object in the first sequence and the second sequence and the number of occurrences of the reference size in the first sequence and the second sequence are determined. Finally, according to the reference size and the number of occurrences of the reference size, the current target size of the same object is determined. Therefore, by determining the probability ellipse corresponding to the monitored object based on the type of the monitored object contained in each sequence in the image sequence, and determining whether each monitored object is the same object based on the probability ellipse and position corresponding to each monitored object, if they are the same object, the target size is determined based on the number of occurrences of each reference size of the same object, thereby improving the reliability of determining the size of the monitored object.

[0118] Figure 5 A flowchart of a method for determining the size of a monitored object provided by an embodiment of the present disclosure.

[0119] like Figure 5 As shown, the method for determining the size of the monitored object may include the following steps:

[0120] Step 501: Acquire a sequence of images collected in a first continuous period before the current moment.

[0121] Step 502: Identify the image sequence to determine the target object contained in the image sequence, the reference size corresponding to the target object, and the number of occurrences of the reference size.

[0122] The specific implementation forms of step 501 to step 502 can refer to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0123] Step 503: When there are multiple reference dimensions, determine the total number of occurrences of the multiple reference dimensions.

[0124] In the present disclosure, after determining the reference size and the number of occurrences of the reference size, if there are multiple reference sizes, in order to improve the accuracy of determining the target size of the target object based on the number of occurrences of the reference size, the total number of occurrences of multiple reference sizes can be determined first.

[0125] It should be noted that, when there is one reference size, the reference size can be directly determined as the current target size of the target object, and the present disclosure does not limit this.

[0126] Step 504, determining the average number of occurrences according to the total number of occurrences and the number of reference sizes.

[0127] It should be noted that the number of reference dimensions can be any number, and the present disclosure does not limit this.

[0128] In the present disclosure, after the total number of occurrences of multiple reference dimensions is determined, the average number of occurrences of each reference dimension may be determined based on the total number of occurrences and the number of reference dimensions.

[0129] It should be noted that the determined average number of occurrences may be different if the total number of occurrences and the number of reference sizes are different, and the present disclosure does not limit this.

[0130] Step 505, determining the standard deviation according to the mean of the number of occurrences and the number of reference sizes.

[0131] In the present disclosure, after determining the mean of the number of occurrences, the standard deviation can be determined based on the mean of the number of occurrences and the number of reference sizes, thereby providing conditions for improving the accuracy of determining the target size of the target object.

[0132] Step 506, determining the target occurrence times according to the occurrence times mean and standard deviation.

[0133] In the present disclosure, after determining the mean and standard deviation of the number of occurrences, the number of target occurrences can be determined based on the 3σ criterion, the mean and standard deviation of the number of occurrences. For example, let the standard deviation be σ and the mean of the number of occurrences be μ. Then, based on the 3σ criterion, the number of occurrences in the interval (μ-3σ, μ+3σ) can be determined as the number of target occurrences, thereby providing a data basis for improving the determination of the current target size of the target object, and the present disclosure does not limit this.

[0134] It should be noted that the determined target occurrence times may be different if the mean and standard deviation of the occurrence times are different, and this disclosure does not limit this.

[0135] Step 507: Determine the current target size of the target object according to the reference size associated with the target occurrence count.

[0136] In the present disclosure, after determining the target occurrence times, the current target size of the target object may be determined based on the reference size associated with the target occurrence times, thereby improving the accuracy of the determined current target size of the target object.

[0137] In some possible implementation forms, after determining the number of target occurrences, if there are multiple reference sizes associated with the target occurrences, in order to improve the efficiency and accuracy of determining the current target size of the target object, the average of the reference sizes associated with the target occurrences can be determined as the current target size of the target object. The present disclosure does not limit this.

[0138] In some possible implementation forms, after determining the number of target occurrences, when there are multiple reference sizes associated with the target size, the maximum and minimum values ​​of the reference sizes associated with the target occurrences can also be determined, and then other reference sizes associated with the target occurrences except the maximum and minimum values ​​are determined, and then the average of the other reference sizes or the reference size with the largest number of corresponding occurrences is determined as the target size of the target object, thereby improving the accuracy of determining the current target size of the target object.

[0139] Combine the following Figure 6 , an example is given to illustrate determining the current target size of the target object in the embodiment of the present disclosure, Figure 6 A schematic diagram of determining a target size of a target object provided by an embodiment of the present disclosure.

[0140] Usually, in roadside perception multi-camera fusion technology, due to the influence of complex factors such as traffic at intersections, the target object is often blocked, or the target object is truncated in the image captured by the camera, and the captured target object is incomplete, resulting in a large deviation between the size of the captured target object and its actual size.

[0141] in, Figure 6 In the figure, bounding box 1 may be a bounding box formed by the size of the target object captured by the camera; bounding box 2 may be a bounding box formed by the target size of the target object.

[0142] like Figure 6As shown in FIG. 1 , taking the case where the target object is blocked or truncated in the image captured by the camera as an example, since the target object is blocked by other objects or the target object is not completely captured by the camera, only a part of it is captured by the camera. In the case of truncation, the size of the target object in the image captured by the camera is incomplete and the accuracy is low. At this time, the size of the target object is determined as follows: Figure 6 In order to improve the accuracy of determining the size of the target object, based on the method for determining the size of the monitored object provided in the embodiment of the present disclosure, the target size of the target object is determined based on the reference size of the target object and the number of occurrences of the reference size, and the following can be obtained: Figure 6 The size of the bounding box 2 in the image is adjusted to reduce the deviation between the determined size of the target object and its actual size.

[0143] Depend on Figure 6 It can be seen that the method for determining the size of the monitored object provided in the present disclosure can effectively solve the problem that when the target object is obscured or truncated, the size of the collected target object deviates greatly from its actual size, thereby improving the accuracy of determining the size of the monitored object.

[0144] Combine the following Figure 7 , an example is given to illustrate the effect of the method for determining the size of the monitored object provided in the embodiment of the present disclosure. Figure 7 A schematic diagram of the effect of the method for determining the size of a monitored object provided in an embodiment of the present disclosure.

[0145] like Figure 7 As shown, the length of the object is taken as an example for explanation. Figure 7 a is a schematic diagram showing the effect of not using the method for determining the size of the monitored object provided by the embodiment of the present disclosure, Figure 7 b is a schematic diagram showing the effect of using the method for determining the size of a monitored object provided by an embodiment of the present disclosure. Figure 7 a. Figure 7 b It can be obtained that after using the method for determining the size of the monitored object provided by the embodiment of the present disclosure, by tracking the historical histogram and the 3σ criterion, the monitored object is tracked in the first continuous period before the current moment to obtain a histogram of the reference size interval and the number of occurrences of the monitored object. As the time of tracking the monitored object increases, it can be found that the number of occurrences of the length of the reference size of the monitored object near 5 increases, and the length of the monitored object gradually tends to be stable, such as Figure 7 The length shown in b tends to 5.1.

[0146] It can be concluded that the method for determining the size of a monitored object provided by the present disclosure improves the accuracy and efficiency of determining the size of a monitored object compared to the method for determining the size of a monitored object not provided by the present disclosure.

[0147] In the disclosed embodiment, firstly, an image sequence acquired in a first continuous time period before a current moment is acquired, and the image sequence is identified to determine a target object contained in the image sequence and a reference size corresponding to the target object. In the case of multiple reference sizes, the number of occurrences of each reference size is determined. Then, based on the number of occurrences of each reference size, the total number of occurrences of multiple reference sizes is determined. Based on the total number of occurrences and the number of reference sizes, the mean number of occurrences is determined. Then, based on the mean number of occurrences, the number of occurrences of each reference size, and the number of reference sizes, the standard deviation is determined. Based on the mean number of occurrences and the number of reference sizes, the number of target occurrences is determined. Finally, based on the mean number of occurrences and the standard deviation, the number of target occurrences is determined. Based on the reference size associated with the target number of occurrences, the current target size of the target object is determined. Therefore, the total number of occurrences of multiple reference sizes is determined through the number of occurrences of the target object contained in the image sequence and each of its corresponding reference sizes, and the mean number of occurrences is determined based on the total number of occurrences and the number of reference sizes. Then, based on the mean number of occurrences, the number of occurrences of each reference size and the number of reference sizes, the standard deviation is determined. Based on the standard deviation and the mean number of occurrences, the number of target occurrences is determined. Based on the reference size associated with the target number of occurrences, the current target size of the target object is determined, thereby improving the reliability and accuracy of determining the size of the monitored object.

[0148] In order to implement the above embodiment, the present disclosure also proposes a device for determining the size of a monitored object.

[0149] Figure 8 A schematic diagram of the structure of an apparatus for determining the size of a monitored object provided in an embodiment of the present disclosure.

[0150] like Figure 8 As shown, the device 800 for determining the size of a monitored object includes: an acquisition module 801 , an identification module 802 , and a first determination module 803 .

[0151] An acquisition module 801 is used to acquire an image sequence acquired in a first continuous period before a current moment;

[0152] The recognition module 802 is used to recognize the image sequence, determine the target object contained in the image sequence, the reference size corresponding to the target object, and the number of occurrences of the reference size;

[0153] The first determination module 803 is used to determine the current target size of the target object according to the reference size and the number of occurrences of the reference size.

[0154] In a possible implementation of the present disclosure, the identification module 802 is specifically configured to:

[0155] Performing object recognition on the image sequence to determine the objects contained in the image sequence;

[0156] When the number of occurrences of any object in the image sequence is greater than a number threshold, the object is determined to be a target object.

[0157] In a possible implementation of the present disclosure, it further includes:

[0158] The second determination module (not shown in the figure) is used to determine the number threshold according to the length of the first continuous period and the acquisition frequency of the image acquisition device.

[0159] In a possible implementation of the present disclosure, the identification module 802 is specifically configured to:

[0160] In a case where the image sequence includes a first sequence acquired by the first camera and a second sequence acquired by the second camera, the first sequence and the second sequence are respectively identified to obtain a first monitoring object and first information of the first monitoring object included in the first sequence, and a second monitoring object and second information of the second monitoring object included in the second sequence;

[0161] Determining whether the first monitored object and the second monitored object are the same object according to the first information and the second information;

[0162] In the case that the first monitored object and the second monitored object are the same object, a reference size of the same object in the first sequence and the second sequence and the number of occurrences of the reference size in the first sequence and the second sequence are determined.

[0163] In a possible implementation of the present disclosure, the identification module 802 is further configured to:

[0164] Determine a first probability ellipse associated with the first monitored object according to the type of the first monitored object in the first information, and determine a second probability ellipse associated with the second monitored object according to the type of the second monitored object in the second information;

[0165] Based on the first probability ellipse, the second probability ellipse, the first position in the first information, and the second position in the second information, it is determined whether the first monitored object and the second monitored object are the same object.

[0166] In a possible implementation of the present disclosure, the first determining module 803 is specifically configured to:

[0167] In the case of multiple reference dimensions, determining the total number of occurrences of the multiple reference dimensions;

[0168] Based on the total number of occurrences and the number of reference sizes, determine the mean number of occurrences;

[0169] Determine the standard deviation based on the mean of the number of occurrences and the number of reference sizes;

[0170] Determine the target occurrence frequency based on the mean and standard deviation of the occurrence frequency;

[0171] Determine the current target size of the target object based on the reference size associated with the target occurrence count.

[0172] In a possible implementation of the present disclosure, the first determining module 803 is further configured to:

[0173] The average of the reference sizes associated with the target occurrence counts is determined as the current target size of the target object.

[0174] In a possible implementation of the present disclosure, the first determining module 803 is further configured to:

[0175] Determine the maximum and minimum values ​​of the reference dimensions associated with the target occurrence count;

[0176] Determine other reference dimensions associated with the number of target occurrences, in addition to the maximum and minimum values;

[0177] The average of other reference sizes or the reference size with the largest number of corresponding occurrences is determined as the target size of the target object.

[0178] In a possible implementation of the present disclosure, both the first image data and the second image data are character data for describing the position, type, and occlusion label of the object.

[0179] The functions and specific implementation principles of the above modules in the embodiments of the present disclosure can be referred to the above method embodiments, and will not be repeated here.

[0180] In the disclosed embodiment, firstly, an image sequence collected in the first continuous time period before the current moment is acquired, then the image sequence is identified, the target object contained in the image sequence, the reference size corresponding to the target object and the number of occurrences of the reference size are determined, and finally, the current target size of the target object is determined according to the reference size and the number of occurrences of the reference size. Thus, by identifying the image sequence in the continuous time period before the current moment, the reference size of the target object and the number of occurrences of the reference size are determined, and based on the reference size and the number of occurrences of the reference size, the current target size of the target object is determined, thereby improving the accuracy and efficiency of determining the size of the monitored object.

[0181] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0182] Fig. 9A schematic block diagram of an example electronic device 900 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0183] like Fig. 9 As shown, the device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0184] A number of components in the device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0185] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above, such as a method for determining the size of a monitored object. For example, in some embodiments, the method for determining the size of a monitored object may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the method for determining the size of a monitored object described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform a method for determining the size of a monitored object in any other appropriate manner (e.g., by means of firmware).

[0186] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0187] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other device that is programmable to determine the size of a monitored object, so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0188] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0189] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0190] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0191] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0192] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0193] In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the description of the present disclosure, the words "if" and "if" used can be interpreted as "at the time of" or "when" or "in response to determination" or "under the circumstances of".

[0194] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for determining the size of a monitored object, comprising: Acquire a sequence of images acquired in a first continuous period before the current moment; Identify the image sequence, determine the target object contained in the image sequence, the reference size corresponding to the target object, and the number of occurrences of the reference size; A current target size of the target object is determined according to the reference size and the number of occurrences of the reference size.

2. The method of claim 1, wherein: The step of identifying the image sequence and determining the target object contained in the image sequence includes: Performing object recognition on the image sequence to determine the objects contained in the image sequence; When the number of appearances of any object in the image sequence is greater than a number threshold, the object is determined to be a target object.

3. The method of claim 2, wherein: The method further comprises: The number threshold is determined according to the length of the first continuous period and the acquisition frequency of the image acquisition device.

4. The method of claim 1, wherein: The identifying the image sequence to determine the target object contained in the image sequence, the reference size corresponding to the target object and the number of occurrences of the reference size includes: In a case where the image sequence includes a first sequence acquired by a first camera and a second sequence acquired by a second camera, the first sequence and the second sequence are respectively identified to obtain a first monitoring object included in the first sequence and first information of the first monitoring object, and a second monitoring object included in the second sequence and second information of the second monitoring object; Determining, according to the first information and the second information, whether the first monitored object and the second monitored object are the same object; In the case that the first monitored object and the second monitored object are the same object, a reference size of the same object in the first sequence and the second sequence and the number of occurrences of the reference size in the first sequence and the second sequence are determined.

5. The method of claim 4, wherein: The determining, according to the first information and the second information, whether the first monitored object and the second monitored object are the same object includes: Determine a first probability ellipse associated with the first monitored object according to the type of the first monitored object in the first information, and determine a second probability ellipse associated with the second monitored object according to the type of the second monitored object in the second information; Based on the first probability ellipse, the second probability ellipse, the first position in the first information, and the second position in the second information, it is determined whether the first monitored object and the second monitored object are the same object.

6. The method according to any one of claims 1 to 5, wherein: Determining the current target size of the target object according to the reference size and the number of occurrences of the reference size includes: In case there are multiple reference dimensions, determining the total number of occurrences of the multiple reference dimensions; Determining a mean of the number of occurrences according to the total number of occurrences and the number of reference sizes; Determining a standard deviation based on the mean of the number of occurrences and the number of reference dimensions; Determine the target occurrence number according to the occurrence number mean and standard deviation; The current target size of the target object is determined according to the reference size associated with the target occurrence count.

7. The method of claim 6, wherein: The determining the current target size of the target object according to the reference size associated with the target occurrence count includes: The average of the reference sizes associated with the target occurrence counts is determined as the current target size of the target object.

8. The method of claim 6, wherein: The determining the current target size of the target object according to the reference size associated with the target occurrence count includes: Determine the maximum and minimum values ​​of the reference dimensions associated with the target occurrence counts; Determine other reference dimensions associated with the target occurrence number, except for the maximum value and the minimum value; An average value of the other reference sizes or a reference size with the largest number of corresponding occurrences is determined as the target size of the target object.

9. A device for determining the size of a monitored object, wherein: The device comprises: An acquisition module, used to acquire a sequence of images acquired in a first continuous period before a current moment; an identification module, configured to identify the image sequence, determine a target object contained in the image sequence, a reference size corresponding to the target object, and an occurrence frequency of the reference size; The first determination module is used to determine the current target size of the target object according to the reference size and the number of occurrences of the reference size.

10. An electronic device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that may be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

12. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Height measuring method and device based on body posture identification

    CN102657532A

  • Image processing method and device, electronic equipment and storage medium

    CN113936258A

  • Object size identification method and device, computer equipment and storage medium

    CN114648568A

  • Measuring method for size of object

    JP1986246605A

  • Probability distribution constructing method, probability distribution constructing apparatus, storage medium of probability distribution constructing program, subject detecting method, subject detecting apparatus, and storage medium of subject detecting program

    US20090245579A1