Method and device for labeling objects in a video

By object recognition and annotation of video frame images, it solves the problem of users having difficulty remembering multiple objects in the video, improves the viewing experience and saves costs, and realizes the automation of intelligent annotation.

CN112307823BActive Publication Date: 2024-09-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910694727.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-30
Publication Date
2024-09-06
Estimated Expiration
2039-07-30

AI Technical Summary

Technical Problem

It is difficult for users to distinguish and remember multiple objects in the video when watching the video. It is especially difficult to remember the names due to cultural and language differences, which affects the understanding of the plot.

Method used

By acquiring video frame images, the trained object recognition model is used to identify the object and annotate relevant information in the image. It uses crawler technology to crawl the image training set and object information, and annotates according to preset conditions and time intervals.

Benefits of technology

It improves the user's understanding speed and viewing experience of the video plot, saves the cost of labeling video objects, and realizes the automation of intelligent labeling solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112307823B
    Figure CN112307823B
Patent Text Reader

Abstract

The present invention describes a method and device for annotating objects in a video. The method comprises: acquiring at least one frame of image from the video; for each of the at least one frame of image acquired, using a trained object recognition model to recognize an object in the frame of image, and obtaining object information related to the object; annotating the object information at a position associated with the object in the frame of image; wherein the object recognition model is trained by taking a sample image in an image training set as an input of the object recognition model and taking the object information related to the object in the sample image as an output of the object recognition model, so as to obtain the trained object recognition model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of multimedia technology, and in particular to a method and device for labeling objects in a video. Background Art

[0002] At present, when watching videos, users often encounter situations where it is difficult to distinguish the various objects that appear in the video. For example, since people's short-term memory is generally very short, when watching videos, they often cannot remember the names of the characters in the video because there are many characters in the video content, the names are complicated, and the frequency of characters appears is low. Especially when watching foreign films, due to cultural and language differences, it is even more difficult for people to remember the names of the characters. When a character who rarely appears suddenly appears in a subsequent episode, people can't remember who this character is or what the plot has been, which will cause difficulties for people to understand the plot. For example, when people watch military-themed films, a large number of weapons, fighter jets, and various military weapons will appear in the film. People are usually unfamiliar with these items and don't know what these weapons are. Summary of the invention

[0003] In view of this, the present disclosure provides a method and device for labeling objects in a video, which is expected to overcome some or all of the above-mentioned deficiencies and other possible deficiencies.

[0004] According to one aspect of the present disclosure, a method for annotating objects in a video is provided. The method comprises: acquiring at least one frame of image from the video; for each of the at least one frame of image acquired, using a trained object recognition model to recognize the object in the frame of image, and obtaining object information related to the object; and annotating the object information at a position associated with the object in the frame of image; wherein the object recognition model is trained by taking a sample image in an image training set as input of the object recognition model and taking the object information related to the object in the sample image as output of the object recognition model, so as to obtain the trained object recognition model.

[0005] In some embodiments, the object information includes object properties for characterizing the object.

[0006] In some embodiments, the method further includes: crawling the image training set and object information related to the object in the sample image from the network using crawler technology.

[0007] In some embodiments, acquiring at least one frame of image from the video may include: acquiring multiple frames of image from the video at predetermined time intervals.

[0008] In some embodiments, marking the object information at a position associated with the object in the frame image includes: if the object information meets a preset condition, marking the object information at a position associated with the object in the frame image. As an example, the method includes: if the object information is obtained by recognition for the first time in the video, marking the object information at a position associated with the object in the frame image. As another example, the method also includes: if the object information is not obtained by recognition for the first time in the video, calculating the time interval between the frame image and another frame image in which the object information was last recognized; and if the calculated time interval is greater than a preset time interval, marking the object information at a position associated with the object in the frame image. As another example, if the length of the character string for the object information is greater than a preset length threshold, marking the object information at a position associated with the object in the frame image.

[0009] In some embodiments, marking the object information at a position associated with the object in the frame image includes: associating the object information to the position associated with the object in the frame image in the video.

[0010] In some embodiments, marking the object information at a position associated with the object in the frame image includes: synthesizing the object information into the position associated with the object in the frame image in the video.

[0011] According to another aspect of the present disclosure, a device for annotating objects in a video is provided, comprising: an acquisition module configured to acquire at least one frame of image from the video; an identification module configured to: for each frame of the at least one frame of image acquired, use a trained object recognition model to identify the object in the frame image to obtain object information related to the object; and an annotation module configured to annotate the object information at a position associated with the object in the frame image; a training module configured to: use a sample image in an image training set as an input of the object recognition model, and use the object information related to the object in the sample image as an output of the object recognition model to train the object recognition model to obtain the trained object recognition model.

[0012] In some embodiments, the object information includes object properties for characterizing the object.

[0013] In some embodiments, the device further includes: an information crawling module configured to crawl the image training set and object information related to the object in the sample image from the network using crawler technology.

[0014] In some embodiments, the acquisition module is configured to acquire a plurality of frames of images from the video at predetermined time intervals.

[0015] According to another aspect of the present disclosure, a computing device is provided, including a processor; and a memory configured to store computer executable instructions thereon, and when the computer executable instructions are executed by the processor, any method as described above is executed.

[0016] According to another aspect of the present disclosure, a computer-readable storage medium is provided, which stores computer-executable instructions. When the computer-executable instructions are executed, any of the methods described above is executed.

[0017] Through the method and device for annotating objects in a video claimed in the present disclosure, an intelligent annotation scheme for annotating objects in a video is provided. In the intelligent annotation scheme, a trained object recognition model is used to identify the object in the frame image to obtain object information related to the object, and the object information is annotated at a position associated with the object, so that the user can understand the plot more quickly when watching the video, thereby improving the viewing experience. Moreover, for the video provider, online or offline annotation of objects in the video can be achieved, so that the object information is automatically annotated in the video at the appropriate time and location, thereby saving a lot of costs.

[0018] These and other advantages of the disclosure will be apparent from and elucidated with reference to the embodiments described hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Embodiments of the present disclosure will now be described in more detail and with reference to the accompanying drawings, in which:

[0020] Figure 1 A schematic scene diagram is illustrated in which a method for labeling objects in a video according to an embodiment of the present disclosure may be implemented;

[0021] Figure 2 A flowchart of a method for labeling an object in a video according to an embodiment of the present disclosure is illustrated;

[0022] Figure 3A The figure illustrates a schematic effect diagram when a video is played on a video client according to an embodiment of the present disclosure;

[0023] Figure 3B Another schematic effect diagram when playing a video on a video client according to an embodiment of the present disclosure is illustrated;

[0024] Figure 3CAnother schematic effect diagram when playing a video on a video client according to an embodiment of the present disclosure is illustrated;

[0025] Figure 4 An exemplary structural block diagram of a device for labeling an object in a video according to an embodiment of the present disclosure is illustrated;

[0026] Figure 5 An example system is illustrated that includes an example computing device that represents one or more systems and / or devices that may implement the various techniques described herein. DETAILED DESCRIPTION

[0027] The following description provides specific details for fully understanding and implementing various embodiments of the present disclosure. It should be understood by those skilled in the art that the technical solutions of the present disclosure can be implemented without some of these details. In some cases, some well-known structures and functions are not shown or described in detail to avoid unnecessarily obscuring the description of the embodiments of the present disclosure. The terms used in the present disclosure are understood in their broadest reasonable manner, even if they are used in conjunction with specific embodiments of the present disclosure.

[0028] Figure 1 FIG. 1 illustrates a schematic scene diagram in which a method for labeling objects in a video according to an embodiment of the present disclosure may be implemented. Figure 1 As shown, the scenario includes a terminal device 101 and a server 102, and a client 103, such as a video client, may be installed on the terminal device 101. It should be noted that the method for marking objects in a video according to an embodiment of the present disclosure may be implemented on the terminal device 101, on the server 102, or even on different third-party entities.

[0029] As an example, the server 102 may store a video file, and the terminal device 101 and the server 102 may be connected via a network. The client 103 may request the video file from the server 102 via the terminal device 101, and receive the video file returned by the server 102 in response to the request so as to play it thereon. As another example, the terminal device 101 may store the video file locally (e.g., on a local storage), and the client 103 may obtain the locally stored video file for playing.

[0030] By annotating objects in a video using the method for annotating objects in a video described in an embodiment of the present disclosure, when a video file is played on the client 103, object information about the object (e.g., the name of the person, etc.) can be displayed at a position associated with the object in the displayed video image (e.g., the person in the image).

[0031] Figure 2 The flowchart of a method 200 for marking an object in a video according to an embodiment of the present disclosure is illustrated. The method 200 may be implemented on a terminal device installed with the client and / or on a video server for providing the video, or may even be implemented on an entity different from the terminal device and the video server, which is not restrictive. Figure 2 As shown, the method includes the steps described below.

[0032] In step 201, at least one frame of image is obtained from the video. As an example, the video may be decoded by a decoder, and then at least one frame of image is obtained from the decoded video data for identification. In some embodiments, multiple frames of image may be obtained from the video at predetermined time intervals for identification. For example, a frame of image may be obtained from the video every few seconds for identification, which can improve the efficiency of identifying video images. Because it is not necessary to identify each frame of image in the video, it is possible to save resources of the system used to perform the identification.

[0033] In step 202, for each of the at least one frame of images, the trained object recognition model is used to recognize the object in the frame of image, thereby obtaining object information related to the object. The object recognition model may be, for example, a deep learning model, such as various common convolutional neural network models. The trained object recognition model may be used to directly obtain object information related to the object, without first recognizing the object in the image and then searching or searching for object information for the object.

[0034] In some embodiments, the object may be, for example, one or more of any identifiable objects such as people, objects, animals, plants, etc. in the frame image. The object information may be, for example, an object attribute used to characterize the object. As an example, when the object is a person in the frame image, the object information may be one or more of the name of the actor of the person, the name of the film in which the person is located, the name of the role of the person in the video or film, or the relationship between the person and the person in the video or film. When the object is an object, animal, plant, etc. in the frame image, the object information may be one or more of the name or introduction of the corresponding object, animal, plant, etc.

[0035] In some embodiments, the object recognition model can be trained by using sample images in an image training set as input to the object recognition model, and object information related to the objects in the sample images as output of the object recognition model to obtain the trained object recognition model. As an example, the image training set and object information related to the objects in the sample images can be crawled from a network (e.g., the Internet) using crawler technology. Of course, the image training set and object information related to the objects in the sample images can also be obtained in other ways. For example, the image training set and object information related to the objects in the sample images in the training set can be manually edited as input and output of the object recognition model to train the object recognition model.

[0036] In step 203, the object information is annotated at a position associated with the object in the frame image. The term "position" here may refer to one or more sub-areas in the image area of ​​the frame image. The position associated with the object may be any position that allows a viewer to associate the position with the object. Annotating the object information at a position associated with the object in the frame image may enable a user to more quickly understand the plot when watching a video, thereby improving the viewing experience.

[0037] In some embodiments, associating the position with the object may refer to visually associating the position with the object. As an example, the position may be any position in an object region that frames the object in the image region, such as the upper left corner, the upper right corner, a position to the right or left of the object in the object region, etc. The object region may, for example, be specified as a square region, a rectangular region, etc. that frames (i.e., surrounds) the object. Optionally, the position does not overlap with any object in the image.

[0038] As an example, Figure 3A The schematic diagram of the effect of playing a video on a video client 301 in this case is shown. The video client 301 may be, for example, Figure 1 The client 103 described. Figure 3A As shown in , the movie "A Chinese Odyssey" is played on the video client. When it plays to the following Figure 3A When the picture (ie, image) shown in FIG. 1 is viewed, the object information 303 marked therein is displayed in the picture. Figure 3A In the figure 302 on the right side of the image, the object information related to the figure 302 on the right side of the image is obtained, that is, the character name of the figure "Fairy Zixia". Figure 3AIn the example, the character name "Fairy Zixia" is annotated as object information 303 to the rectangular area (i.e., the object area) that frames (i.e., surrounds) the character. Figure 3A In this example, the rectangular area may not be shown.

[0039] In some embodiments, associating the position with the object may also refer to associating the position with the object through an indicator. The indicator may be, for example, an arrow, an arrow box, a connecting line, etc. As an example, the position may be any position in the image, and the position may be associated with the object in the image through an arrow, and the arrow may point from the object to the position or from the position to the object. Optionally, the position does not overlap with any object in the image.

[0040] As an example, Figure 3B FIG. 3 shows a schematic effect diagram of playing a video on the video client 301 in this case. Figure 3A Similarly, the person in the picture is identified and object information related to the person 302 on the right side of the image is obtained, that is, the character name of the person "Zixia Fairy". Figure 3B In the figure, the character's role name "Fairy Zixia" is marked as object information 303 in the upper right corner of the image area (i.e., the area in the entire image), and an arrow box 305 points to the character 302, so that the position where the object information is marked is associated with the object as described above.

[0041] It should be noted that in the above example, the names of the characters in the film are used as the object information for description, but this is not restrictive. Any object attribute used to characterize an object can be annotated as object information at the position associated with the object in the frame image. Figure 3C As shown, instead of Figure 3A The character name of the character in the game is "Fairy Zixia", and the name of the actress who plays Fairy Zixia, "Athena Chu", can be annotated as object information to Figure 3A At the position shown in Figure 3A The dotted box area in Figure 3C Not shown in FIG.

[0042] In some embodiments, if the obtained object information related to the object meets a preset rule, the object information is marked at a position associated with the object in the frame image.

[0043] As an example, if the object information is obtained by recognition for the first time in the video, the object information is marked at the position associated with the object in the frame image. If the object information is not obtained for the first time in the video, the time interval between the frame image and another frame image from which the object information was last recognized is calculated; and if the calculated time interval is greater than a preset time interval, the object information is marked at the position associated with the object in the frame image. When an object appears in a video for the first time or appears again after a long interval, the user may not know or forget the object, and such marking can significantly improve the user's viewing experience.

[0044] As an example, in Figure 3A and 3B In the video, although the character names "Supreme Treasure" and "Fairy Zixia" of the left character in the image are not recognized for the first time in the video, since the character "Supreme Treasure" on the left has just appeared in the previous few seconds (and therefore has been recognized), while the character on the right has not appeared in the previous few minutes (and therefore has not been recognized), only the character name "Fairy Zixia" of the right character is marked at the position associated with the character on the right in the frame image.

[0045] As another example, if the length of the character string for the object information is greater than a preset length threshold, the object information is marked at a position associated with the object in the frame image. Generally, if the length of the character string for the object information is relatively long, it is difficult for the audience to remember the object information for a long time, so this technical means can be used to timely and repeatedly remind the audience of the information that is difficult to remember.

[0046] In some embodiments, the object information can be associated with the position associated with the object in the frame image in the video, so that the object information is marked at the position associated with the object in the frame image. In this way, the object information can be stored separately from the video file. In this case, when the object information is obtained at step 202, the playback position of the video (for example, the playback position at the nth second of the current video) can be recorded at the same time, and then the object information can be associated with the position associated with the object in the frame image in the video by means of the playback position. When the video is played to the playback position on the video client, the associated object information can be automatically read so that the object information is displayed at the position associated with the object in the frame image in the video. The effect of marking the object information in the video can be achieved without modifying the video file, saving a lot of resources and costs.

[0047] In some embodiments, the object information can be synthesized into the position associated with the object in the frame image in the video, so that the object information is marked at the position associated with the object in the frame image. In this way, the object information is stored as part of the video file. In this case, when the video is played on the video client, the object information can be directly displayed at the position associated with the object without the need to store the object information additionally.

[0048] It should be noted that the method 200 can be performed in real time. In this case, at step 202, for each of the at least one frame of images, the trained object recognition model can be used in real time to identify the object in the frame image to obtain object information related to the object. As an example, when a frame of image is acquired, the trained object recognition model is immediately used to identify the object in the frame image to obtain object information related to the object, and the object information is annotated at a position associated with the object in the frame image. This is particularly advantageous when the video is played online in real time, and the objects involved in the video can be automatically annotated at the first time.

[0049] Figure 4 FIG. 4 is a block diagram of an exemplary structure of a device 400 for labeling objects in a video according to an embodiment of the present disclosure. Figure 4 As shown, the device 400 includes an acquisition module 401, an identification module 402, a labeling module 403, a training module 404 and an information crawling module 405.

[0050] The acquisition module 401 is configured to acquire at least one frame of image from the video. In some embodiments, the acquisition module 401 may be configured to acquire multiple frames of image from the video at predetermined time intervals for identification.

[0051] The recognition module 402 is configured to: for each frame of the at least one frame of images, use a trained object recognition model to recognize the object in the frame of images to obtain object information related to the object. The object recognition model can be, for example, a deep learning model, such as various common neural network models. As described above, the object can be, for example, one or more of any identifiable objects such as people, objects, animals, plants, etc. in the frame of images. The object information can be, for example, an object attribute used to characterize the object.

[0052] The annotation module 403 is configured to annotate the object information at a position associated with the object in the frame image. In some embodiments, the annotation module 403 may be configured to annotate the object information at a position associated with the object in the frame image if the obtained object information related to the object meets a preset rule. For example, the annotation module 403 is configured to annotate the object information at a position associated with the object in the frame image if the object information is obtained for the first time in the video. The annotation module 403 may also be configured to calculate the time interval between the frame image and another frame image from which the object information was last identified if the object information is not obtained for the first time in the video; and if the time interval is greater than a preset time interval, annotate the object information at a position associated with the object in the frame image.

[0053] In some embodiments, the annotation module 403 may be configured to associate the object information with a position associated with the object in the frame image in the video. Alternatively, the annotation module 403 may be configured to synthesize the object information into a position associated with the object in the frame image in the video.

[0054] The training module 404 may be configured to use the sample images in the image training set as inputs of the object recognition model, and use the object information related to the objects in the sample images as outputs of the object recognition model to train the object recognition model, so as to obtain the trained object recognition model. As described above, the object recognition model may be, for example, a deep learning model, such as various common neural network models.

[0055] The information crawling module 405 may be configured to crawl the image training set and object information related to the object in the sample image from the network using crawler technology. For example, the information crawling module 405 may be configured to crawl the image training set and object information related to the object in the sample image from the Internet.

[0056] Figure 5 An example system 500 is illustrated, which includes an example computing device 510 that represents one or more systems and / or devices that can implement the various techniques described herein. Computing device 510 can be, for example, a server of a video service provider (e.g., Figure 1 , a server 102 in the video client, a device associated with the video client (e.g., Figure 1 terminal device 101 in, system on chip, and / or any other suitable computing device or computing system. Figure 4The depicted apparatus 400 for labeling objects in a video may take the form of a computing device 510. Alternatively, the apparatus 400 for labeling objects in a video may be implemented as a computer program in the form of a video object labeling application 516.

[0057] The example computing device 510 as shown includes a processing system 511, one or more computer-readable media 512, and one or more I / O interfaces 513 that are communicatively coupled to each other. Although not shown, the computing device 510 may also include a system bus or other data and command transmission system that couples the various components to each other. The system bus may include any one or combination of different bus structures, such as a memory bus or memory controller, a peripheral bus, a universal serial bus, and / or a processor or local bus utilizing any of a variety of bus architectures. Various other examples are also contemplated, such as control and data lines.

[0058] Processing system 511 represents the functionality of performing one or more operations using hardware. Thus, processing system 511 is illustrated as including hardware elements 514 that may be configured as processors, functional blocks, etc. This may include other logic devices implemented in hardware as application specific integrated circuits or formed using one or more semiconductors. Hardware elements 514 are not limited by the materials from which they are formed or the processing mechanisms employed therein. For example, a processor may be composed of (multiple) semiconductors and / or transistors (e.g., electronic integrated circuits (ICs)). In such a context, processor executable instructions may be electronic executable instructions.

[0059] Computer-readable media 512 is illustrated as including memory / storage 515. Memory / storage 515 represents memory / storage capacity associated with one or more computer-readable media. Memory / storage 515 may include volatile media (such as random access memory (RAM)) and / or non-volatile media (such as read-only memory (ROM), flash memory, optical disks, magnetic disks, etc.). Memory / storage 515 may include fixed media (e.g., RAM, ROM, fixed hard drives, etc.) and removable media (e.g., flash memory, removable hard drives, optical disks, etc.). Computer-readable media 512 may be configured in various other ways as further described below.

[0060] One or more I / O interfaces 513 represent functionality that allows commands and information to be entered into the computing device 510 and, optionally, also allows information to be presented to a user and / or other components or devices using various input / output devices. Examples of input devices include a keyboard, a cursor control device (e.g., a mouse), a microphone (e.g., for voice input), a scanner, touch functionality (e.g., a capacitive or other sensor configured to detect physical touch), a camera (e.g., which can employ visible or invisible wavelengths (such as infrared frequencies) to detect motion that does not involve touch as gestures), and the like. Examples of output devices include a display device (e.g., a monitor or projector), a speaker, a printer, a network card, a tactile response device, and the like. Thus, the computing device 510 can be configured in various ways, as further described below, to support user interaction.

[0061] The computing device 510 also includes a video object annotation application 516. The video object annotation application 516 may be, for example, Figure 4 The software example of the device 400 for labeling objects in a video is described, and in combination with other elements in the computing device 510, the techniques described herein are implemented.

[0062] Various techniques may be described herein in the general context of software hardware elements or program modules. Generally, these modules include routines, programs, objects, elements, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The terms "module", "function" and "component" as used herein generally represent software, firmware, hardware or a combination thereof. The features of the techniques described herein are platform-independent, meaning that these techniques can be implemented on a variety of computing platforms with a variety of processors.

[0063] An implementation of the described modules and techniques may be stored on or transmitted across some form of computer-readable media. Computer-readable media may include various media accessible by computing device 510. By way of example and not limitation, computer-readable media may include “computer-readable storage media” and “computer-readable signal media.”

[0064] As opposed to a simple signal transmission, carrier wave, or signal itself, "computer-readable storage medium" refers to a medium and / or device capable of persistently storing information, and / or a tangible storage device. Therefore, computer-readable storage media refers to non-signal-bearing media. Computer-readable storage media include hardware such as volatile and non-volatile, removable and non-removable media and / or storage devices implemented in a method or technology suitable for storing information (such as computer-readable instructions, data structures, program modules, logic elements / circuits, or other data). Examples of computer-readable storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage device, hard disk, cassette, magnetic tape, magnetic disk storage device or other magnetic storage device, or other storage device, tangible medium, or article of manufacture suitable for storing the desired information and accessible by a computer.

[0065] "Computer-readable signal media" refers to signal-bearing media that is configured to send instructions to the hardware of the computing device 510, such as via a network. Signal media typically can embody computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave, data signal, or other transport mechanism. Signal media also include any information delivery media. The term "modulated data signal" refers to a signal that encodes the information in the signal in such a manner to set or change one or more of its characteristics. By way of example and not limitation, communication media include wired media such as a wired network or direct connection and wireless media such as acoustic, RF, infrared and other wireless media.

[0066] As previously described, hardware elements 514 and computer-readable media 512 represent instructions, modules, programmable device logic, and / or fixed device logic implemented in hardware form, which in some embodiments can be used to implement at least some aspects of the technology described herein. Hardware elements can include integrated circuits or systems on chips, application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), complex programmable logic devices (CPLDs), and other implementations in silicon or components of other hardware devices. In this context, hardware elements can be used as processing devices that perform program tasks defined by instructions, modules, and / or logic embodied by hardware elements, as well as hardware devices for storing instructions for execution, such as the computer-readable storage media described previously.

[0067] The foregoing combinations may also be used to implement the various techniques and modules described herein. Thus, software, hardware or program modules and other program modules may be implemented as one or more instructions and / or logic embodied on some form of computer-readable storage medium and / or by one or more hardware elements 514. The computing device 510 may be configured to implement specific instructions and / or functions corresponding to the software and / or hardware modules. Thus, for example, by using a computer-readable storage medium and / or hardware element 514 of a processing system, a module may be implemented at least partially in hardware as a module executable by the computing device 510 as software. Instructions and / or functions may be executable / operable by one or more articles (e.g., one or more computing devices 510 and / or processing systems 511) to implement the techniques, modules and examples described herein.

[0068] In various embodiments, computing device 510 can be implemented in various configurations. For example, computing device 510 can be implemented as a computer-type device including a personal computer, a desktop computer, a multi-screen computer, a laptop computer, a netbook, etc. Computing device 510 can also be implemented as a mobile device-type device including mobile devices such as mobile phones, portable music players, portable game devices, tablet computers, multi-screen computers, etc. Computing device 510 can also be implemented as a television-type device, which includes a device with or connected to a generally larger screen in a casual viewing environment. These devices include televisions, set-top boxes, game consoles, etc.

[0069] The techniques described herein may be supported by these various configurations of computing device 510 and are not limited to the specific examples of the techniques described herein. Functionality may also be implemented in whole or in part on the "cloud" 520 by using a distributed system, such as through platform 522 as described below.

[0070] Cloud 520 includes and / or represents a platform 522 for resources 524. Platform 522 abstracts the underlying functionality of the hardware (e.g., servers) and software resources of cloud 520. Resources 524 may include applications and / or data that may be used when executing computer processing on a server remote from computing device 510. Resources 524 may also include services provided over the Internet and / or over a subscriber network such as a cellular or Wi-Fi network.

[0071] The platform 522 can abstract resources and functionality to connect the computing device 510 with other computing devices. The platform 522 can also be used to abstract the hierarchy of resources to provide a hierarchy of corresponding levels of demand encountered for resources 524 implemented via the platform 522. Therefore, in an interconnected device embodiment, the implementation of the functionality described herein can be distributed throughout the system 500. For example, the functionality can be implemented in part on the computing device 510 and through the platform 522 that abstracts the functionality of the cloud 520.

[0072] It should be understood that, for the sake of clarity, embodiments of the present disclosure are described with reference to different functional modules. However, it will be apparent that, without departing from the present disclosure, the functionality of each functional module can be implemented in a single module, in multiple modules, or as a part of other functional modules. For example, functionality that is described as being performed by a single module can be performed by multiple different modules. Therefore, reference to a specific functional module is only considered as a reference to a suitable module for providing the described functionality, rather than indicating a strict logical or physical structure or organization. Therefore, the present disclosure can be implemented in a single module, or can be physically and functionally distributed between different modules and circuits.

[0073] It will be understood that although the first, second, third, etc. terms may be used to describe various devices, elements, or parts in this article, these devices, elements, or parts should not be limited by these terms. These terms are only used to distinguish one device, element, or part from another device, element, or part.

[0074] Although the present disclosure has been described in conjunction with some embodiments, it is not intended to be limited to the specific form set forth herein. On the contrary, the scope of the present disclosure is limited only by the appended claims. Additionally, although individual features may be included in different claims, these may possibly be advantageously combined, and inclusion in different claims does not imply that the combination of features is not feasible and / or advantageous. The order of features in the claims does not imply any specific order in which the features must work. In addition, in the claims, the word "comprising" does not exclude other elements, and the indefinite article "a" or "an" does not exclude a plurality. The figure marks in the claims are provided only as clear examples and should not be interpreted as limiting the scope of the claims in any way.

Claims

1. A method for labeling an object in a video, comprising: Acquire at least one frame of image from the video; For each frame of the at least one frame of images acquired, using a trained object recognition model to recognize an object in the frame of images, and obtaining object information related to the object; Marking the object information at a position associated with the object in the frame image; The object recognition model is trained by taking a sample image in an image training set as an input of the object recognition model and taking object information related to the object in the sample image as an output of the object recognition model to obtain the trained object recognition model; The step of marking the object information at a position associated with the object in the frame image includes: If the object information is not obtained by recognition for the first time in the video, then calculating the time interval between the frame image and another frame image in which the object information was recognized last time; and If the calculated time interval is greater than a preset time interval, the object information is marked at a position associated with the object in the frame image.

2. The method according to claim 1, wherein: The object information includes object attributes for characterizing the object.

3. The method according to claim 1 or 2, further comprising: The image training set and object information related to the objects in the sample images are crawled from the network using crawler technology.

4. The method according to claim 1 or 2, wherein: Acquiring at least one frame of image from the video includes: A plurality of frames of images are acquired from the video at predetermined time intervals.

5. The method according to claim 1 or 2, wherein: Marking the object information at a position associated with the object in the frame image includes: If the length of the character string for the object information is greater than a preset length threshold, the object information is marked at a position associated with the object in the frame image.

6. The method according to claim 1 or 2, wherein: Marking the object information at a position associated with the object in the frame image includes: If the object information is obtained through recognition for the first time in the video, the object information is marked at a position associated with the object in the frame image.

7. The method according to claim 1 or 2, wherein: Marking the object information at a position associated with the object in the frame image includes: The object information is associated with a position associated with the object in the frame image in the video.

8. The method according to claim 1 or 2, wherein: Marking the object information at a position associated with the object in the frame image includes: The object information is synthesized into a position associated with the object in the frame image in the video.

9. A device for labeling an object in a video, comprising: An acquisition module, configured to acquire at least one frame of image from the video; The recognition module is configured to: for each frame of at least one acquired image, use the trained object recognition model to recognize the object in the frame to obtain object information related to the object; A marking module, configured to mark the object information at a position associated with the object in the frame image; A training module is configured to: use a sample image in an image training set as an input of an object recognition model, and use object information related to an object in the sample image as an output of the object recognition model to train the object recognition model, so as to obtain the trained object recognition model; Among them, the annotation module is also configured as follows: If the object information is not obtained by recognition for the first time in the video, then calculating the time interval between the frame image and another frame image in which the object information was recognized last time; as well as If the calculated time interval is greater than a preset time interval, the object information is marked at a position associated with the object in the frame image.

10. The device according to claim 9, wherein: The object information includes object attributes for characterizing the object.

11. The apparatus according to claim 9, further comprising: The information crawling module is configured to crawl the image training set and object information related to the object in the sample image from the network using crawler technology.

12. The device according to claim 9, wherein: The acquisition module is configured to acquire a plurality of frames of images from the video at predetermined time intervals.

13. A computing device comprising Processor; and A memory configured to store computer executable instructions thereon, and when the computer executable instructions are executed by a processor, the method according to any one of claims 1 to 8 is performed.

14. A computer-readable storage medium storing computer-executable instructions, wherein when the computer-executable instructions are executed, the method according to any one of claims 1 to 8 is executed.