Target image acquisition method and system and related equipment

Through frame screening and position information matching of target objects in the video, images that meet the requirements of the schematic diagram are automatically determined, which solves the user's troubles when shooting specified images and improves the success rate of image acquisition and the simplification of the process.

CN118823618APending Publication Date: 2024-10-22BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310420871.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

When required to upload prescribed images, it is difficult for users to accurately follow the example pictures due to vision problems caused by age or long-term driving, resulting in unclear pictures or uploading the wrong pictures. As the number of operations increases, the probability of problems increases.

Method used

By obtaining the video collected by the user, the candidate frames of the target object in the video are determined, and based on the matching conditions of the target object's position information in the frame and the schematic diagram, target images that meet the requirements are automatically filtered out, including if there is no matching image in the candidate frame. Expand the search range, delete images with a high degree of blur, and retain the images that occupy the largest storage space.

Benefits of technology

It simplifies user operations, improves the success rate of obtaining images that meet the requirements, and overall improves the process efficiency of target image acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118823618A_ABST
    Figure CN118823618A_ABST
Patent Text Reader

Abstract

The invention discloses a target image acquisition method and system and related equipment, and relates to the field of image processing and intelligent logistics. The target image acquisition method comprises the following steps: acquiring a video acquired by a user, wherein the video comprises candidate frames of a target object; determining position information of the target object in the candidate frame; and for each candidate frame, under the condition that the position information of the target object in the candidate frame meets the matching condition of the schematic diagram, determining the candidate frame as a target image matched with the schematic diagram. According to the embodiment of the invention, the image meeting the schematic diagram requirement can be automatically screened from the video, the user operation is simplified while the acquisition success rate of the image meeting the requirement is improved, and the target image acquisition process is improved on the whole.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing, and in particular to a target image acquisition method, system and related equipment. Background Art

[0002] Some applications require users to take and upload images according to the sample images. For example, some freight management applications require drivers to upload relevant pictures at important nodes such as starting a task, sending the vehicle to the vehicle, and ending the task, such as unloading photos, photos of people, vehicles, and goods, photos of people and vehicles, and photos of vehicles and receipts. Currently, users are usually asked to select photos from the album or take photos directly according to the sample images, and then upload the photos. After uploading a photo, users will be prompted to upload the next photo. Summary of the invention

[0003] After analysis, the inventor found that although each uploaded picture has an example picture, the mobile phone screen is limited, and some users, due to their age or long-term driving, have requirements to take pictures completely according to the example pictures and take different pictures at different nodes, which may cause some troubles for some users, resulting in unclear pictures, wrong picture locations being uploaded, etc. Moreover, as the number of operations increases, the probability of problems will also increase.

[0004] A technical problem to be solved by the embodiments of the present invention is: how to simplify user operations when a specified image is required to be uploaded.

[0005] According to a first aspect of some embodiments of the present invention, a target image acquisition method is provided, comprising: acquiring a video captured by a user, and candidate frames including a target object in the video; determining position information of the target object in the candidate frame; and for each candidate frame, if the position information of the target object in the candidate frame satisfies a matching condition of the schematic diagram, determining the candidate frame as a target image matching the schematic diagram.

[0006] In some embodiments, the target image acquisition method also includes: when there is no matching image in the candidate frame, determining a new candidate frame based on frames within a preset neighborhood range of the candidate frame; for each new candidate frame, when the position information of the target object in the candidate frame meets the matching conditions of the schematic diagram, determining the candidate frame as a target image that matches the schematic diagram.

[0007] In some embodiments, when the position information of the target object in the candidate frame satisfies the matching conditions of the schematic diagram, determining the candidate frame as a target image that matches the schematic diagram includes: when the target images that match the schematic diagram include multiple ones, determining the degree of blur of the image based on the degree of pixel change in each sub-region of each image; and deleting, from the target image, images whose degree of blur is greater than a preset degree.

[0008] In some embodiments, when the position information of the target object in the candidate frame meets the matching conditions of the schematic diagram, determining the candidate frame as a target image matching the schematic diagram includes: when the target images matching the schematic diagram include multiple ones, among the targets, retaining the image that occupies the largest storage space.

[0009] In some embodiments, obtaining a video captured by a user and a candidate frame including a target object in the video includes: receiving a video captured by a user; and extracting a frame including the target object from the video captured by the user as a candidate frame.

[0010] In some embodiments, obtaining a video captured by a user and a candidate frame including a target object in the video includes: receiving a video captured by a user and an identifier of a candidate frame including a target object in the video sent by other devices; and determining the candidate frame in the video based on the identifier of the candidate frame.

[0011] In some embodiments, the received video is a losslessly compressed video.

[0012] In some embodiments, the resolution of the video is lower than a preset resolution, and / or the frame rate of the video is lower than a preset frame rate.

[0013] According to a second aspect of some embodiments of the present invention, there is provided a target image acquisition device, comprising: an acquisition module, configured to acquire a video captured by a user, and a candidate frame including a target object in the video; a position determination module, configured to determine position information of the target object in the candidate frame; and a matching module, configured to, for each candidate frame, determine the candidate frame as a target image matching the schematic diagram if the position information of the target object in the candidate frame satisfies the matching condition of the schematic diagram.

[0014] In some embodiments, the target image acquisition device also includes: an expansion module, which is configured to determine a new candidate frame based on frames within a preset neighborhood range of the candidate frame when there is no matching image in the candidate frame; wherein the matching module is further configured to, for each new candidate frame, determine the candidate frame as a target image that matches the schematic diagram when the position information of the target object in the candidate frame meets the matching conditions of the schematic diagram.

[0015] In some embodiments, the target image acquisition device also includes: a screening module, which is configured to: when the target image matched by the schematic diagram includes multiple, determine the degree of blur of the image according to the degree of pixel change in each sub-region of each image; and, from the target image, delete images with a degree of blur greater than a preset degree; or, when the target image matched by the schematic diagram includes multiple, retain the image that occupies the largest storage space in the target.

[0016] According to a third aspect of some embodiments of the present invention, there is provided a target image acquisition system, comprising: any one of the aforementioned target image acquisition devices; and a terminal, configured to determine frames including target objects in a video captured by a user as candidate frames; and send the video and the candidate frames to a server.

[0017] In some embodiments, the terminal is further configured to send the video or frames in the video, and the location of the candidate frames to the server, and record information about the data that has been sent during the sending process; if the sending process is interrupted, the terminal attempts to continue sending based on the information about the data that has been sent.

[0018] According to a fourth aspect of some embodiments of the present invention, there is provided a target image acquisition device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any one of the aforementioned target image acquisition methods based on instructions stored in the memory.

[0019] According to a fifth aspect of some embodiments of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements any one of the aforementioned target image acquisition methods.

[0020] Some embodiments of the above invention have the following advantages or beneficial effects. Through the embodiments of the present invention, the user only needs to provide a video that may include images that meet the requirements, and which frames in the video are the images required by the schematic diagram can be automatically determined. Therefore, the embodiments of the present invention can automatically filter images that meet the requirements of the schematic diagram from the video, while improving the success rate of obtaining images that meet the requirements, simplifying user operations, and improving the process of obtaining target images as a whole.

[0021] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0023] Figure 1 A schematic diagram of a process of acquiring a target image according to some embodiments of the present invention is shown.

[0024] Figure 2A The legend of the schematic diagram is shown exemplarily.

[0025] Figure 2B and 2C Two frames of images in a video captured by a user are shown as an example.

[0026] Figure 3 A schematic flow chart of a target image acquisition method according to some other embodiments of the present invention is shown.

[0027] Figure 4 A schematic flow chart of a matching image screening method according to some embodiments of the present invention is shown.

[0028] Figure 5 A schematic flow chart of a target image acquisition method according to some further embodiments of the present invention is shown.

[0029] Figure 6 A schematic structural diagram of a target image acquisition device according to some embodiments of the present invention is shown.

[0030] Figure 7 A schematic structural diagram of a target image acquisition system according to some embodiments of the present invention is shown.

[0031] Figure 8 A schematic structural diagram of a target image acquisition device according to some other embodiments of the present invention is shown.

[0032] Fig. 9 A schematic structural diagram of a target image acquisition device according to some further embodiments of the present invention is shown. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] The relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0035] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0036] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0037] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0038] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0039] Figure 1 FIG. 2 shows a schematic diagram of a process of acquiring a target image according to some embodiments of the present invention. Figure 1 As shown, the target image acquisition of this embodiment includes steps S102 to S106.

[0040] In step S102, a video captured by a user and candidate frames including a target object in the video are obtained.

[0041] For example, if a user is required to upload a photo of himself and a truck, the target objects include people and trains. Through the object recognition algorithm, it can be determined which frames include the target objects.

[0042] When the user is shooting a video, shooting prompts can be sent to the user, for example: "Shoot the video around yourself, and finally point the camera towards yourself."

[0043] In some embodiments, a video sent by another device and a candidate frame in the video are received.

[0044] In some embodiments, videos sent by other devices may also be received, and candidate frames including the target object may be extracted from the videos.

[0045] In step S104, the position information of the target object in the candidate frame is determined.

[0046] The location information includes, for example, the coordinates of the target object, its coverage, its proportion in the image, and so on.

[0047] In step S106 , for each candidate frame, if the position information of the target object in the candidate frame satisfies the matching condition of the schematic diagram, the candidate frame is determined as a target image matching the schematic diagram.

[0048] Figure 2A The legend of the schematic diagram is shown exemplarily, Figure 2B and 2C Two frames of images in a video captured by a user are shown as an example. Figure 2A In , the truck is behind the driver and occupies a larger proportion of the image. Figure 2B In , the truck is also behind the driver and occupies a larger proportion of the image. Figure 2C In the example, the truck is located far behind the driver and therefore occupies a smaller proportion of the image. Figure 2B Determine the target image.

[0049] For the same target image acquisition target, the schematic diagram can include multiple ones. For example, an application wants users to upload a photo of the user and a truck, but does not care about the left and right positions of the user and the truck. The schematic diagram can be as follows: Figure 2A As shown, the driver is located on the right side of the image, or a similar structure diagram in which the driver is located on the left side of the image. As long as the image in the candidate frame can meet the matching conditions of any schematic diagram, it can be determined to be the target image.

[0050] In some embodiments, the actual schematic diagram may not be used in the matching process, that is, the matching condition of the schematic diagram may not include the image itself, but include relevant information of the target object in the schematic diagram, such as the position range of the center coordinates of the target object in the image coordinates, the proportion of the target object in the image, etc.

[0051] Through the above embodiment, the user only needs to provide a video that may include images that meet the requirements, and which frames in the video are the images required by the schematic diagram can be automatically determined. Therefore, the embodiment of the present invention can automatically filter images that meet the requirements of the schematic diagram from the video, while improving the success rate of obtaining images that meet the requirements, simplifying user operations, and improving the process of obtaining target images as a whole.

[0052] In order to avoid the situation where a matching image cannot be obtained due to missed detection in the target object recognition stage, the candidate frames can also be expanded.

[0053] Figure 3 FIG. 2 shows a flow chart of a target image acquisition method according to some other embodiments of the present invention. Figure 3 As shown, the target image acquisition method of this embodiment includes steps S302 to S310.

[0054] In step S302, frames including the target object in the video captured by the user are determined as candidate frames.

[0055] In step S304, the position information of the target object in the candidate frame is determined.

[0056] In step S306, according to the matching condition of the schematic diagram, it is determined one by one whether the candidate frames are target images matching the schematic diagram.

[0057] In step S308, when there is no matching image in the candidate frame, a new candidate frame is determined based on frames within a preset neighborhood range of the candidate frame.

[0058] In step S310, according to the matching condition of the schematic diagram, it is determined one by one whether the new candidate frames are target images matching the schematic diagram.

[0059] Through the above embodiments, when no matching candidate frame is found, the search range can be further expanded, thereby improving the success rate of image acquisition.

[0060] In some embodiments, when there are multiple matching images, the images can be further screened. Figure 4 Embodiments of matching image screening methods according to some embodiments of the present invention are described.

[0061] Figure 4 FIG. 2 shows a flow chart of a matching image screening method according to some embodiments of the present invention. Figure 4 As shown, the matching image screening method of this embodiment includes steps S402 to S404.

[0062] In step S402, when the target image for schematic diagram matching includes multiple images, the blur degree of the image is determined according to the degree of pixel change in each sub-region of each image.

[0063] The pixel change degree is, for example, statistical information such as the variance value of the pixel value.

[0064] In step S404, images with blur levels greater than a preset level are deleted from the target images.

[0065] The blurrier an image is, the greater the deviation between similar pixels. By removing blurry images from the matching candidate frames, higher quality images can be retained, facilitating subsequent review and processing.

[0066] In some embodiments, step S406 may also be included.

[0067] In step S406, when the target images to be matched with the schematic diagram include multiple ones, the image occupying the largest storage space is retained among the target images.

[0068] Generally, an image that occupies a larger storage space has more detailed information and a higher image quality, thereby improving the usability of the image.

[0069] Step S406 may be executed after steps S402 to S404 or may be executed separately, and will not be described in detail here.

[0070] The steps in the above embodiments can be executed on a single device or distributed to multiple devices. For example, when a user uploads a captured video through a terminal, the terminal can perform some processing in advance. Figure 5 An embodiment of the cooperative processing between a server and a terminal of the present invention is described.

[0071] Figure 5 FIG. 2 shows a flow chart of a target image acquisition method according to some other embodiments of the present invention. Figure 5 As shown, the target image acquisition method of this embodiment includes steps S502 to S508.

[0072] In step S502, the terminal determines the frames including the target object in the video captured by the user as candidate frames.

[0073] In some embodiments, the resolution of the video is lower than the preset resolution to reduce the size of the video while ensuring the clarity of the video. In some scenarios, the recognized object is a large object and does not require very fine image quality. As needed, the resolution of the captured video can be reduced when the user captures the video to increase the rate of subsequent processing.

[0074] In some embodiments, the frame rate of the video is less than the preset frame rate. In the present invention, the purpose of recording the video is to simplify the user operation while providing an image to be referenced, so there is no high requirement for the flow level of the video.

[0075] By reducing the resolution or frame rate of the video, the space occupied by the video can be reduced, saving network transmission resources and computing resources.

[0076] In step S504, the terminal sends the video or the frames in the video and the positions of the candidate frames to the server. For example, the video and the sequence numbers of the 6th to 8th candidate frames are sent to the server.

[0077] In some embodiments, the video sent by the terminal to the server is a losslessly compressed video. The lossless compression method is, for example, temporal redundancy compression: between consecutive images in the video, the changed pixels account for a very small proportion of the pixels of the entire image. In this case, one frame can be used to represent the adjacent frames to reduce bandwidth consumption.

[0078] Thus, the amount of data transmitted over the network can be reduced and the transmission rate can be increased.

[0079] In some embodiments, the terminal can use the breakpoint resume function. For example, the terminal sends the video or the frame in the video and the position of the candidate frame to the server, and records the information of the sent data during the sending process; if the sending process is interrupted, the terminal tries to continue the sending according to the information of the sent data.

[0080] In step S506 , the server determines the position information of the target object in the candidate frame.

[0081] In step S508 , for each candidate frame, if the position information of the target object in the candidate frame meets the matching condition of the schematic diagram, the server determines the candidate frame as a target image matching the schematic diagram.

[0082] Through the above embodiment, the terminal can preliminarily screen the candidate frames, and then the server side can perform further matching processing, thereby reducing the processing pressure on the server side and improving the overall target image acquisition efficiency.

[0083] Figure 6 FIG. 2 shows a schematic diagram of the structure of a target image acquisition device according to some embodiments of the present invention. Figure 6 As shown, the target image acquisition device 600 of this embodiment includes: an acquisition module 6100, configured to acquire a video collected by a user, and a candidate frame including a target object in the video; a position determination module 6200, configured to determine the position information of the target object in the candidate frame; and a matching module 6300, configured to, for each candidate frame, determine the candidate frame as a target image matching the schematic diagram when the position information of the target object in the candidate frame meets the matching condition of the schematic diagram.

[0084] In some embodiments, the target image acquisition device 60 also includes: an expansion module 6400, which is configured to determine a new candidate frame based on frames within a preset neighborhood range of the candidate frame when there is no matching image in the candidate frame; wherein the matching module is further configured to, for each new candidate frame, determine the candidate frame as a target image that matches the schematic diagram when the position information of the target object in the candidate frame meets the matching conditions of the schematic diagram.

[0085] In some embodiments, the target image acquisition device 60 also includes: a screening module 6500, which is configured to: when the target image matched by the schematic diagram includes multiple, determine the blurriness of the image according to the degree of pixel change in each sub-region of each image; and, from the target image, delete images with a blurriness greater than a preset degree; or, when the target image matched by the schematic diagram includes multiple, retain the image that occupies the largest storage space in the target.

[0086] Figure 7 FIG. 2 shows a schematic diagram of the structure of a target image acquisition system according to some embodiments of the present invention. Figure 7 As shown, the target image acquisition system 70 of this embodiment includes: a target image acquisition device 710, whose specific implementation method can refer to the target image acquisition device 60; and a terminal 720, which is configured to determine the frames including the target object in the video collected by the user as candidate frames; and send the video and the candidate frames to the server.

[0087] In some embodiments, the terminal 720 is further configured to send the video or frames in the video, and the location of the candidate frames to the server, and record the information of the data sent during the sending process; if the sending process is interrupted, the terminal attempts to continue sending based on the information of the data sent.

[0088] Figure 8 FIG. 2 shows a schematic diagram of the structure of a target image acquisition device according to some other embodiments of the present invention. Figure 8 As shown, the target image acquisition device 80 of this embodiment includes: a memory 810 and a processor 820 coupled to the memory 810 , and the processor 820 is configured to execute the target image acquisition method in any one of the aforementioned embodiments based on the instructions stored in the memory 810 .

[0089] The memory 810 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0090] Fig. 9 FIG. 2 shows a schematic diagram of the structure of a target image acquisition device according to some other embodiments of the present invention. Fig. 9 As shown, the target image acquisition device 90 of this embodiment includes: a memory 910 and a processor 920, and may also include an input / output interface 930, a network interface 940, a storage interface 950, etc. These interfaces 930, 940, 950 and the memory 910 and the processor 920 may be connected, for example, via a bus 960. Among them, the input / output interface 930 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 940 provides a connection interface for various networked devices. The storage interface 950 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0091] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements any of the aforementioned target image acquisition methods when executed by a processor.

[0092] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for acquiring a target image, comprising: Acquire a video captured by a user and a candidate frame including a target object in the video; Determining position information of the target object in the candidate frame; and For each candidate frame, when the position information of the target object in the candidate frame satisfies the matching condition of the schematic diagram, the candidate frame is determined as a target image matching the schematic diagram.

2. The target image acquisition method according to claim 1, further comprising: In the case that there is no matching image in the candidate frame, determining a new candidate frame according to frames within a preset neighborhood range of the candidate frame; For each new candidate frame, when the position information of the target object in the candidate frame satisfies the matching condition of the schematic diagram, the candidate frame is determined as a target image matching the schematic diagram.

3. The target image acquisition method according to claim 1, wherein: In a case where the position information of the target object in the candidate frame satisfies the matching condition of the schematic diagram, determining the candidate frame as a target image matching the schematic diagram includes: In the case where the target image to be matched by the schematic diagram includes multiple ones, determining the blur degree of the image according to the degree of pixel change in each sub-region of each image; and From the target image, images with blur levels greater than a preset level are deleted.

4. The target image acquisition method according to claim 1 or 3, wherein: In a case where the position information of the target object in the candidate frame satisfies the matching condition of the schematic diagram, determining the candidate frame as a target image matching the schematic diagram includes: In the case that the target images matched by the schematic diagram include multiple ones, among the targets, the image occupying the largest storage space is retained.

5. The target image acquisition method according to claim 1, wherein: The step of acquiring a video captured by a user and a candidate frame including a target object in the video includes: Receive videos collected by users; Frames including the target object are extracted from the video captured by the user as candidate frames.

6. The target image acquisition method according to claim 1, wherein: The step of acquiring a video captured by a user and a candidate frame including a target object in the video includes: Receiving a video captured by a user and an identification of a candidate frame including a target object in the video sent by other devices; According to the identifier of the candidate frame, a candidate frame in the video is determined.

7. The target image acquisition method according to any one of claims 1 to 6, wherein: The received video is losslessly compressed.

8. The target image acquisition method according to any one of claims 1 to 6, wherein: The resolution of the video is lower than a preset resolution, and / or the frame rate of the video is lower than a preset frame rate.

9. A target image acquisition device, comprising: An acquisition module is configured to acquire a video captured by a user and a candidate frame including a target object in the video; A position determination module, configured to determine position information of the target object in the candidate frame; and The matching module is configured to, for each candidate frame, determine the candidate frame as a target image matching the schematic diagram if the position information of the target object in the candidate frame meets the matching condition of the schematic diagram.

10. The target image acquisition device according to claim 9, further comprising: an expansion module, configured to determine a new candidate frame based on frames within a preset neighborhood range of the candidate frame when there is no matching image in the candidate frame; The matching module is further configured to, for each new candidate frame, determine the candidate frame as a target image matching the schematic diagram if the position information of the target object in the candidate frame satisfies the matching condition of the schematic diagram.

11. The target image acquisition device according to claim 9, further comprising: The filter module is configured as follows: In the case where the target image to be matched by the schematic diagram includes multiple ones, determining the blur degree of the image according to the degree of pixel change in each sub-region of each image; And, deleting images with blur levels greater than a preset level from the target image; or, In the case that the target images matched by the schematic diagram include multiple ones, among the targets, the image occupying the largest storage space is retained.

12. A target image acquisition system, comprising: The target image acquisition device according to any one of claims 9 to 11; as well as The terminal is configured to determine a frame including a target object in a video captured by a user as a candidate frame; and send the video and the candidate frame to the server.

13. The target image acquisition method according to claim 12, wherein: The terminal is further configured to send the video or the frame in the video, and the position of the candidate frame to the server, and record the information of the sent data during the sending process; if the sending process is interrupted, the terminal attempts to continue sending based on the information of the sent data.

14. A target image acquisition device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the target image acquisition method according to any one of claims 1 to 8 based on instructions stored in the memory.

15. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the target image acquisition method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Video screenshot method and video screenshot device

    CN104540004A

  • Weak moving target tracking loss reinspection method based on NCC match frame difference

    CN106875419A

  • Automatic auditing method for identification photo based on deep learning

    CN110874577A

  • Face positioning method and device, equipment and medium

    CN114463820A