Search

CN-116168326-B - Object determination method and device, storage medium and electronic device

CN116168326BCN 116168326 BCN116168326 BCN 116168326BCN-116168326-B

Abstract

The embodiment of the invention provides an object determining method, an object determining device, a storage medium and an electronic device, wherein the method comprises the steps of detecting an object on a current image frame to obtain a current detection result, determining whether a target file of a first object is included in a target platform or not when the current detection result comprises first information of the first object, wherein the target file is obtained by performing file focusing operation on the information of the first object within a preset time period in the past, the target file stores a first information set of the first object acquired within the preset time period, and when the target file is included in the target platform, the first information is stored in the target file to obtain an updated file, the updated file comprises a second information set of the first object, and determining whether the first object is an object of a specified type according to the updated file. The embodiment of the invention solves the problem of low determination efficiency of the object of the specified type in the related technology.

Inventors

  • ZHAO ANNING
  • CHEN MINGZHU
  • SHEN JIAN
  • ZHENG XIAOXUAN

Assignees

  • 浙江大华技术股份有限公司

Dates

Publication Date
20260505
Application Date
20230213

Claims (9)

  1. 1. A method of determining an object, comprising: Object detection is carried out on the current image frame to obtain a current detection result; Determining whether a target file of a first object is included in a target platform or not under the condition that the current detection result comprises first information of the first object detected in the current image frame, wherein the first object is an object of a preset age range, the target file is obtained by performing file focusing operation on the information of the first object in a preset time period in the past, and a first information set of the first object acquired in the preset time period is stored in the target file; Storing the first information into the target archive to obtain an updated archive, wherein the updated archive comprises a second information set of the first object, and the second information set comprises the first information set and the first information; determining whether the first object is an object of a specified type according to the updated archive; Determining whether the first object is an object of a specified type according to the updated archive, wherein the determining whether the first object is an object of a specified type according to the updated archive comprises determining a first time length of the first object in a target area according to the updated archive, wherein the first information set is information of the first object obtained by object detection on a group of image frames, the group of image frames are image frames obtained by shooting the target area by target image shooting equipment before the current image frame; the method comprises the steps of obtaining a group of monitored objects associated with a first object, wherein the group of monitored objects are objects which are detected in the group of image frames and the current image frame and have a preset contact mode with the first object, obtaining family member information of each monitored object in the group of monitored objects to obtain a group of family member information, and determining whether the first object is the object of the specified type according to the group of family member information.
  2. 2. The method of claim 1, wherein determining a first time period for the first object to appear in the target area based on the updated profile comprises: And determining a difference between a first time and a second time as the first duration, wherein the first time is a shooting time of the current image frame, the second time is a shooting time of a target image frame in the group of image frames, the target image frame is an earliest shot image frame in the group of image frames, the updated archive stores the first time corresponding to the first information and the second time corresponding to target information, and the target information is information of the first object obtained by performing object detection on the target image frame.
  3. 3. The method of claim 1, wherein the determining whether the first object is a specified type of object comprises: Comparing the second information set of the first object with information of a group of objects included in a target comparison library acquired in advance to obtain a comparison result, wherein the group of objects included in the target comparison library are all objects of the appointed type; And determining that the first object is the object of the appointed type under the condition that the comparison result indicates that the similarity between the second information of the second object in the information of the group of objects and part or all of the information in the second information set is greater than or equal to a preset similarity threshold value.
  4. 4. The method of claim 1, wherein the obtaining family member information for each subject in the set of subjects comprises: Searching files corresponding to each of the objects in the group of objects in the existing file set on the target platform to obtain a group of files, wherein each file in the existing file set stores family member information of the corresponding object, or The method comprises the steps of sending an information query request to target equipment, wherein the information query request carries information of a group of objects, the information query request is used for requesting to acquire family member information of each object in the group of objects, the information of the group of objects is obtained by carrying out object detection on a second group of image frames, the second group of image frames are image frames, detected by the current image frame, of the group of image frames, acquiring family member information of each object in the group of objects, sent by the target equipment, and the target equipment is used for searching the family member information of each object in the group of objects, which is matched with the information of the group of objects.
  5. 5. The method of claim 1, wherein said determining whether the first object is the specified type of object based on the set of family member information comprises: In the case that none of the family member information includes the object of the predetermined age group, determining the first object as the object of the specified type, or And determining that the first object is the object of the specified type under the condition that the group of family member information comprises the object of the preset age range but does not comprise the first object.
  6. 6. The method according to any one of claims 1 to 5, further comprising: And sending out an early warning notice under the condition that the first object is determined to be the object of the appointed type, wherein the early warning notice is used for prompting the first object to be the object of the appointed type.
  7. 7. An object determining apparatus, comprising: The detection module is used for carrying out object detection on the current image frame to obtain a current detection result; A first determining module, configured to determine, if the current detection result includes first information of a first object detected in the current image frame, whether a target file of the first object is included in a target platform, where the first object is an object of a predetermined age group, the target file is a file obtained by performing a file focusing operation on information of the first object in a predetermined time period in the past, and the target file stores a first information set of the first object acquired in the predetermined time period; The obtaining module is used for storing the first information into the target archive to obtain an updated archive when the target archive is included in the target platform, wherein the updated archive comprises a second information set of the first object, and the second information set comprises the first information set and the first information; The second determining module is used for determining whether the first object is an object of a specified type according to the updated archive; The second determining module comprises a first determining submodule, a second determining submodule and a first determining submodule, wherein the first determining submodule is used for determining a first duration of the first object in a target area according to the updated archive, the first information set is information of the first object obtained by object detection on a group of image frames, and the group of image frames are image frames obtained by shooting the target area by target image shooting equipment before the current image frame; The second determining submodule comprises a first obtaining unit, a second obtaining unit and a third determining unit, wherein the first obtaining unit is used for obtaining a group of monitored objects associated with the first object, the group of monitored objects are objects which are detected in the group of image frames and the current image frame and have a preset contact mode with the first object, the second obtaining unit is used for obtaining family member information of each monitored object in the group of monitored objects to obtain a group of family member information, and the third determining unit is used for determining whether the first object is the object of the specified type according to the group of family member information.
  8. 8. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 6.
  9. 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 6 when the computer program is executed.

Description

Object determination method and device, storage medium and electronic device Technical Field The embodiment of the invention relates to the technical field of video monitoring, in particular to a method and a device for determining an object, a storage medium and an electronic device. Background Video monitoring technology has been widely used in many fields, for example, it can be used to monitor vehicles, personnel or alert areas, and video or image resources obtained by monitoring can be used to determine whether a vehicle is a problem vehicle causing an accident, or can be used to determine whether a child is a missing or a walking child reported by a parent, that is, can be used to determine whether a target object is an object of a specified type, and in the following description, it is determined whether a child is a walking child, and most towns currently have larger-scale video monitoring coverage, but the child is missing or is left endangered by the walking event. After the child is walked, the typical crutch seller will transfer the child to a different place at the fastest speed. If transferred successfully, it is difficult to find it out from the sea at the very large area. In the related technology, the photo of the missing child and related identity information are uploaded to a remote management center, the mobile client displays the photo of the missing child to a user in real time, the user can shoot a clue photo of the child suspected to be missing or being taken by the user through the mobile client, the photo is uploaded to the remote management center for matching, and after the matching is successful, the matching result is uploaded to a management system of a related department. As can be seen, the solution in the related art requires the user to actively upload the photograph of the suspected missing or the children being walked, and the management system is passive when determining whether a certain child is the children being walked, that is, passive when determining whether a certain object is an object of the target specified type, and cannot autonomously analyze whether the certain object is the object of the target specified type, so that the method for determining whether the object is the object of the specified type in the related art has a problem of low efficiency. For the problem of low determination efficiency of the object of the specified type existing in the related art, no effective solution has been proposed at present. Disclosure of Invention The embodiment of the invention provides a method and a device for determining an object, a storage medium and an electronic device, which are used for at least solving the problem that the determining efficiency of an object of a specified type in the related technology is low. According to one embodiment of the invention, an object determining method is provided, and the method comprises the steps of performing object detection on a current image frame to obtain a current detection result, determining whether a target file of a first object is included in a target platform or not under the condition that the current detection result comprises first information of the first object detected in the current image frame, wherein the first object is an object of a preset age range, the target file is a file obtained by performing file aggregation operation on information of the first object within a preset time period in the past, a first information set of the first object acquired within the preset time period is stored in the target file, and storing the first information into the target file under the condition that the target file is included in the target platform to obtain an updated file, wherein the updated file comprises a second information set of the first object, the second information set comprises the first information set and the first information, and whether the first object is a specified type of object is determined according to the updated file. In one exemplary embodiment, the determining whether the first object is an object of a specified type according to the updated archive includes determining a first duration of occurrence of the first object in a target area according to the updated archive, wherein the first information set is information of the first object obtained by object detection on a set of image frames, the set of image frames are image frames obtained by shooting the target area by a target image capturing device before the current image frame, and determining whether the first object is an object of a specified type if the first duration is greater than or equal to a predetermined duration threshold. In an exemplary embodiment, the determining the first time length when the first object appears in the target area according to the updated archive includes determining a difference between a first time and a second time as the first time length, where the first time is a shooting time of the