CN111597984A - Sticker testing method, device, electronic equipment and computer readable storage medium - Google Patents

Sticker testing method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111597984A
CN111597984A CN202010410729.1A CN202010410729A CN111597984A CN 111597984 A CN111597984 A CN 111597984A CN 202010410729 A CN202010410729 A CN 202010410729A CN 111597984 A CN111597984 A CN 111597984A
Authority
CN
China
Prior art keywords
target
sticker
video
tested
target video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010410729.1A
Other languages
Chinese (zh)
Other versions
CN111597984B (en
Inventor
李光
王伟
周晓敏
李航伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010410729.1A priority Critical patent/CN111597984B/en
Publication of CN111597984A publication Critical patent/CN111597984A/en
Application granted granted Critical
Publication of CN111597984B publication Critical patent/CN111597984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a sticker testing method and device, electronic equipment and a computer-readable storage medium, and relates to the technical field of computer vision. The specific implementation scheme is as follows: acquiring a target sticker and a target video matched with the target sticker, and generating a video to be tested based on the target sticker and the target video; extracting a target video frame in the video to be tested; detecting whether the target video frame comprises the target paster or not; and/or detecting whether the target paster in the target video frame is matched with a preset special effect. The method and the device can automatically complete the sticker test on the video to be tested, reduce the time cost for testing personnel to participate in the test, and improve the efficiency of the sticker test.

Description

Sticker testing method, device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer vision technologies in image processing technologies, and in particular, to a method and an apparatus for testing a sticker, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of internet technology, various video applications have come into play, and various stickers, such as character stickers, expression stickers, picture stickers, etc., can be added into videos to increase the entertainment of the videos. Before the sticker is on line, the sticker needs to be tested on testing machines of different manufacturers and different models, and the test of the sticker usually needs to consume more test time of a tester, and even needs the cooperation of a plurality of testers to complete the test. Therefore, the test mode of the video paster in the related technology is complicated.
Disclosure of Invention
The application provides a method and a device for testing stickers, electronic equipment and a computer readable storage medium, which are used for solving the problem that the existing video sticker testing mode is complicated.
In a first aspect, the present application provides a sticker testing method, including:
acquiring a target sticker and a target video matched with the target sticker, and generating a video to be tested based on the target sticker and the target video;
extracting a target video frame in the video to be tested;
detecting whether the target video frame comprises the target paster or not;
and/or the presence of a gas in the gas,
and detecting whether the target paster in the target video frame is matched with a preset special effect.
In a second aspect, the present application provides a sticker testing device, comprising:
the generating module is used for acquiring a target sticker and a target video matched with the target sticker, and generating a video to be tested based on the target sticker and the target video;
the extraction module is used for extracting a target video frame in the video to be tested;
the test module is used for detecting whether the target video frame comprises the target paster or not;
and/or the presence of a gas in the gas,
the method is used for detecting whether the target paster in the target video frame is matched with a preset special effect.
In a third aspect, the present application provides an electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method described in the first aspect.
The application generates the to-be-tested video based on the target sticker and the target video matched with the target sticker, automatically completes sticker testing on the to-be-tested video, does not need multiple testers to cooperate, reduces the time cost for the testers to participate in testing, and improves the efficiency of sticker testing.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flow chart of a method for testing decals provided by the present application;
FIG. 1a is a schematic diagram of a system for implementing the decal test method provided herein;
FIG. 2 is a flow chart of another method for testing decals provided by the present application;
FIG. 3 is a block diagram of a decal test apparatus provided herein;
fig. 4 is a block diagram of an electronic device implementing a sticker testing method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The application provides a method for testing stickers, which can be applied to electronic equipment such as mobile phones, notebook computers, tablet computers and computers.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for testing a sticker according to an embodiment of the present application. As shown in fig. 1, the sticker testing method includes the following steps:
step S101: the method comprises the steps of obtaining a target sticker and a target video matched with the target sticker, and generating a video to be tested based on the target sticker and the target video.
It should be noted that the target sticker may be a corresponding relation with at least one target video. One target sticker can be corresponding to a plurality of target videos, that is, one target sticker can be applied to a plurality of target videos, for example, a text type target sticker can be applied to a landscape video or a character video. In addition, one target video may have a corresponding relationship with a plurality of different target stickers, for example, a character type target sticker may be applied to a character type video, and an animation type target sticker may be applied.
The sticker testing method provided by the embodiment of the application is applied to electronic equipment, when the electronic equipment obtains a target sticker, for example, when a user selects the sticker A in a testing program, the electronic equipment is considered to obtain the target sticker, and the sticker A is also the target sticker; the electronic device obtains a target video that matches the target sticker.
Alternatively, the electronic device may select the target video to match based on the type of target sticker. The electronic device may classify all the stickers in advance, for example, the stickers may be classified into text stickers, cartoon stickers, expression stickers, landscape stickers, etc. according to the types of the stickers; or the sticker can be divided into a natural video sticker, a character video sticker, a natural weather video sticker and the like according to the application scene of the sticker. For example, if the type of the target sticker is an emoticon, the target video matched with the emoticon is a character video.
In the step, after the electronic equipment acquires the target sticker and the target video matched with the target sticker, the video to be tested is generated based on the target sticker and the target video. The video to be tested is used for carrying out sticker testing on the target sticker.
Step S102: and extracting a target video frame in the video to be tested.
It can be understood that the video to be tested includes a certain number of video frames, and in this embodiment, the target video frame in the video to be tested is extracted. Optionally, the target video frame may refer to video frames arranged in a preset sequence in the video to be tested, or may also refer to a video frame that should include a target sticker in the video to be tested.
Step S103: detecting whether the target video frame comprises the target paster or not; and/or detecting whether the target paster in the target video frame is matched with a preset special effect.
In an implementation manner of the embodiment of the application, the sticker test on the video to be tested refers to detecting whether the target sticker is included in the target video frame.
The electronic device may pre-store key data when the target sticker is applied to the target video, for example, the key data may refer to a special effect of the target sticker, which frames of video in the target video the target sticker appears, and the like; wherein the video frame in which the target sticker appears is also the target video frame. After the electronic equipment generates a video to be tested based on the target sticker and the target video, the video to be tested comprises the target sticker, but the target sticker may not appear in a target video frame.
In this embodiment, the electronic device may detect whether the target video frame includes the target sticker based on the pre-stored key data, that is, detect whether the target sticker appears in the preset video frame.
It can be understood that if the target video frame does not include the target sticker, it indicates that the target sticker does not achieve the expected effect, and it can be considered that the application of the target sticker in the target video has a problem, and the electronic device records the result, so as to facilitate the subsequent analysis and improvement of the target sticker; if the target video frame comprises the target paster, the target paster can be successfully applied in the target video, and the electronic equipment also records the result so as to facilitate the successful online of the target paster.
Optionally, in another implementation manner of the embodiment of the present application, the performing the sticker test on the video to be tested may further include: and detecting whether the target paster in the target video frame is matched with a preset special effect.
In this embodiment, the electronic device prestores preset special effects of the target sticker applied to the target video, such as parameters of a special effect duration, a special effect display color, a special effect dynamic frequency, and the like of the preset special effect. After generating a video to be tested based on the target sticker and the target video, the electronic equipment extracts a target video frame in the video to be tested and detects whether the target sticker in the target video frame is matched with a preset special effect. If the matching result is matched with the target paster, the target paster can achieve the expected special effect in the target video, and the electronic equipment records the result so as to facilitate the smooth online of the target paster; if the target paster in the target video frame is not matched with the preset special effect, the application of the target paster in the target video can be considered to be in a problem, and the electronic equipment records the result so as to be convenient for analyzing and improving the target paster subsequently.
Or, in another implementation manner of the embodiment of the application, after extracting a target video frame in a video to be tested, the electronic device first detects whether the target video frame includes a target sticker, and if so, further detects whether the target sticker in the target video frame matches a preset special effect. This embodiment is a combination of the two embodiments, and specific implementation details may refer to the above description, which is not described herein again.
In the embodiment of the application, whether the target paster is included in the target video frame or not is detected, and/or whether the target paster is matched with a preset special effect or not is detected in the target video frame, so that the paster test on the target paster is completed. Like this, electronic equipment can accomplish the sticker test to the target sticker automatically, need not the tester and carries out manual operation, has saved tester's operating time for it is more nimble and convenient to the test of sticker.
According to the technical scheme, the electronic equipment can generate the video to be tested based on the target sticker and the target video matched with the target sticker, sticker testing is automatically completed on the video to be tested, multiple testers are not needed to cooperate, the selection of stickers and the replacement of a testing machine by the testers are not needed, the time cost of the testers participating in the testing is reduced, and the sticker testing is simpler and more convenient; and can utilize the test machine idle time or night's non-operating time to carry out automatic testing, promote the utilization ratio of test machine, also make sticker test more nimble in time.
Optionally, in this embodiment of the application, before the step S101, the following step may be further included:
acquiring a target video and a to-be-tested sticker matched with the target video;
and storing the corresponding relation between the target video and the to-be-tested paster and target data when the target video applies the to-be-tested paster.
It should be noted that the target video may be a specific video for performing the sticker test, and as shown in fig. 1a, the target video may be downloaded from a specific test video sample library. It should be noted that there is a corresponding relationship between the target video and the to-be-tested stickers, that is, not all of the to-be-tested stickers can be applied to all of the target video, nor can the target video be applied to all of the to-be-tested stickers.
The electronic device may obtain the sticker to be tested by means of data transmission, and as shown in fig. 1a, may download and store the sticker to be tested from a specific sample library of test stickers. When the electronic device acquires the target video, the matched sticker to be tested can be acquired based on the type of the target video. For example, when the type of the target video is a character type video, the to-be-tested stickers matched with the target video comprise expression stickers, character type stickers, cartoon type stickers and the like.
Further, the electronic equipment stores the corresponding relation between the target video and the to-be-tested sticker matched with the target video, and target data when the target video applies the to-be-tested sticker. The target data comprises at least one of preset special effects, video frame numbers of the stickers, sticker display parameters and sticker display duration. For example, the target data may refer to which one or more video frames of the target video the to-be-tested sticker appears, a display time of the to-be-tested sticker in the target video, a preset special effect of the to-be-tested sticker, and the like. Like this, also make electronic equipment can accomplish the download to the sticker that awaits measuring and target video automatically yet to can save the corresponding relation between target video and the sticker that awaits measuring, need not tester and carry out manual selection and pair, effectively saved tester's operating time, just also can promote the efficiency of software testing of sticker.
In this embodiment, the step S101 may include:
acquiring a target paster, wherein the target paster is any one of the pasters to be tested;
and acquiring a target video matched with the target sticker based on the corresponding relation, and generating a video to be tested based on the target sticker and the target video.
Understandably, the electronic device pre-stores a sticker to be tested. When the paster test is needed to be carried out on the pasters to be tested, one of the pasters to be tested can be selected as a target paster. For example, the target sticker may be determined based on a selection operation of a user, or the target sticker may be determined automatically by the electronic device, for example, the stickers to be tested are arranged in a preset sequence in advance, and when the sticker testing program is started by the electronic device, the stickers to be tested that are selected are sequentially selected in the preset sequence. Therefore, the automatic acquisition of the target paster can be completed without manual selection of testers, the participation of the testers in the paster test is reduced, and the paster test is more flexible in time.
After the electronic equipment determines the target sticker, the target video corresponding to the target sticker can be determined based on the corresponding relation between the pre-stored target video and the sticker to be tested, and then the video to be tested is generated based on the target sticker and the target video, namely the target sticker is applied to the target video to generate the video to be tested, so that the electronic equipment can carry out sticker testing based on the video to be tested.
Further, in this embodiment, the step S102 may be:
and extracting a target video frame in the video to be tested according to the target data.
The electronic equipment stores target data of the target video when the to-be-tested sticker is applied, the target data comprise a video frame number of the sticker and the display duration of the sticker, the target sticker is any one of the to-be-tested stickers, when the target sticker is applied to the target video and the to-be-tested video is generated, which frames of the to-be-tested video the target sticker appears in can be known according to the stored target data, and then the target video frames of the to-be-tested video can be extracted according to the target data. Therefore, all video frames of the video to be tested do not need to be extracted, the video frames corresponding to the target stickers can be extracted in a targeted mode to carry out sticker testing, the whole process time of the sticker testing is saved, and the sticker testing efficiency is improved.
In the embodiment of the present application, whether the target sticker is included in the target video frame or not may be detection of whether the target data is included in the target video frame or not, that is, whether the target sticker appears in the target video frame of the target video and/or whether the target sticker appears in the target video for a preset duration and/or whether the target sticker exhibits a preset special effect or not may be detected. Judging whether the sticker test of the target sticker achieves the expected effect by judging whether the target video frame comprises the target data, for example, if the target video frame comprises the target data, judging that the target sticker achieves the expected effect, and the target sticker can be used online; if the target video frame does not include the target data, the target sticker is judged not to achieve the expected effect, and then the target sticker needs to be analyzed and improved by a tester.
Therefore, the electronic equipment can automatically complete the sticker test of the target sticker based on the target data when generating the to-be-tested video by pre-storing the target data when the target video applies the to-be-tested sticker, the tester is not required to perform manual test, the time of the tester is greatly saved, and the test efficiency of the sticker is improved by automatic test of the electronic equipment.
Referring to fig. 1a, the automatic test controller, the video memory, the video processor and the sticker effect confirmation platform shown in fig. 1a are all internal functional modules of the electronic device for implementing the sticker test, for example, the internal functional modules may be integrated on a processor of the electronic device. Understandably, the automatic test controller acquires the to-be-tested stickers from the test sticker sample library, acquires the target videos from the test video sample library, and the video memory stores the to-be-tested stickers and the target videos; the video processor acquires a target video from the sticker to be tested, generates a video to be tested based on the corresponding relation between the target sticker and the target video, and performs sticker testing on the video to be tested; the sticker effect confirmation platform confirms the sticker test result to judge whether the target sticker achieves the expected effect.
In order to better understand the solution provided by the present application, the following description will be given by way of a specific example. Referring to fig. 2, fig. 2 is a flowchart of another method for testing a sticker provided by the present application, including the following steps:
step S201: and acquiring the target paster.
It should be noted that, before executing step S201, the electronic device needs to complete automation of the sticker test program (APP) to start the sticker test program. The target sticker may be obtained by downloading, by the electronic device, the target sticker from a specific test sticker sample library, which may specifically refer to the description in the embodiment of fig. 1, and details are not described here.
Step S202: and matching the target video.
In the present application, the target sticker may be a target sticker corresponding to at least one target video. One target sticker may be a target sticker corresponding to a plurality of target videos. When the target sticker is obtained, the target video matched with the target sticker can be obtained based on the established corresponding relation.
Step S203: and generating a video to be tested.
In this step, the target sticker is applied to the target video to generate a video to be tested.
Step S204: and storing the video to be tested.
Step S205: and acquiring a target video frame of the video to be tested.
The target video frame may refer to a video frame in the video to be tested, which should include a target sticker. The electronic device may pre-store key data when the target sticker is applied to the target video, for example, the key data may refer to a special effect of the target sticker, which frames of video of the target sticker appear in the target video, and the like; wherein the video frame in which the target sticker appears is also the target video frame. After the electronic equipment generates a video to be tested based on the target sticker and the target video, the video to be tested comprises the target sticker, but the target sticker may not appear in a target video frame.
Step S206: and confirming the effect of the video paster to be tested.
In this step, the electronic device may detect whether the target video frame includes the target sticker based on the pre-stored key data, that is, detect whether the target sticker appears in the preset video frame, so as to confirm the sticker effect of the video to be tested.
If the target video frame does not include the target paster, the target paster does not reach the expected effect, the problem of the application of the target paster in the target video can be considered, and the electronic equipment records the result so as to facilitate the subsequent analysis and improvement of the target paster; if the target video frame comprises the target paster, the target paster can be successfully applied in the target video, and the electronic equipment also records the result so as to facilitate the successful online of the target paster.
Step S207: and pasting the test result.
It is understood that the electronic device stores and records the sticker test result, i.e., whether the target sticker described in step 206 achieves the desired effect, so that the electronic device can perform the subsequent processing on the target sticker according to the sticker test result.
The embodiment generates the to-be-tested video based on the target sticker and the target video matched with the target sticker, automatically completes sticker testing on the to-be-tested video, does not need multiple testers to cooperate, reduces the time cost for the testers to participate in testing, and improves the efficiency of sticker testing.
Referring to fig. 3, an embodiment of the present application further provides a sticker testing apparatus. As shown in fig. 3, the sticker testing apparatus 300 includes:
a generating module 301, configured to obtain a target sticker and a target video matched with the target sticker, and generate a video to be tested based on the target sticker and the target video;
an extracting module 302, configured to extract a target video frame in the video to be tested;
a test module 303, configured to detect whether the target video frame includes the target sticker; and/or detecting whether the target paster in the target video frame is matched with a preset special effect.
Optionally, the sticker testing apparatus 300 further includes:
the acquisition module is used for acquiring a target video and a to-be-tested sticker matched with the target video;
and the storage module is used for storing the corresponding relation between the target video and the to-be-tested sticker and target data when the target video applies the to-be-tested sticker.
Optionally, the generating module 301 is further configured to:
acquiring a target paster, wherein the target paster is any one of the pasters to be tested;
and acquiring a target video matched with the target sticker based on the corresponding relation, and generating a video to be tested based on the target sticker and the target video.
Optionally, the extracting module 302 is further configured to:
and extracting a target video frame in the video to be tested according to the target data.
Optionally, the target data includes at least one of a preset special effect, a video frame number where the sticker appears, a sticker display parameter, and a sticker display duration.
The sticker testing apparatus 300 provided in this embodiment can implement all technical solutions of the above sticker testing method embodiments, so that at least all technical effects can be achieved, and details are not described here.
According to an embodiment of the present application, an electronic device and a computer-readable storage medium are also provided.
Fig. 4 is a block diagram of an electronic device according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 4, the electronic apparatus includes: one or more processors 401, memory 402, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 4, one processor 401 is taken as an example.
Memory 402 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the decal testing methods provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the sticker testing method provided herein.
The memory 402, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the generation module 301, the extraction module 302, and the test module 303 shown in fig. 3) corresponding to the sticker testing method in the embodiments of the present application. The processor 401 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 402, that is, implements the sticker testing method in the above-described method embodiments.
The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the electronic device under the sticker test, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 402 may optionally include memory located remotely from the processor 401, which may be connected to the decal test electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the sticker testing method may further include: an input device 403 and an output device 404. The processor 401, the memory 402, the input device 403 and the output device 404 may be connected by a bus or other means, and fig. 4 illustrates an example of a connection by a bus.
The input device 403 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the sticker testing electronics, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 404 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of this application embodiment, through target sticker and rather than the target video generation video that matches to await measuring to accomplish the sticker test to the video that awaits measuring automatically, need not a plurality of testers and cooperate, reduce the time cost that the tester participated in the test, promoted the efficiency of sticker test.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A sticker testing method is characterized by comprising the following steps:
acquiring a target sticker and a target video matched with the target sticker, and generating a video to be tested based on the target sticker and the target video;
extracting a target video frame in the video to be tested;
detecting whether the target video frame comprises the target paster or not;
and/or the presence of a gas in the gas,
and detecting whether the target paster in the target video frame is matched with a preset special effect.
2. The method of claim 1, wherein before obtaining the target sticker and the target video matching the target sticker and generating the video to be tested based on the target sticker and the target video, the method further comprises:
acquiring a target video and a to-be-tested sticker matched with the target video;
and storing the corresponding relation between the target video and the to-be-tested paster and target data when the target video applies the to-be-tested paster.
3. The method of claim 2, wherein the obtaining a target sticker and a target video matching the target sticker and generating a video to be tested based on the target sticker and the target video comprises:
acquiring a target paster, wherein the target paster is any one of the pasters to be tested;
and acquiring a target video matched with the target sticker based on the corresponding relation, and generating a video to be tested based on the target sticker and the target video.
4. The method of claim 2, wherein said extracting a target video frame in said video to be tested comprises:
and extracting a target video frame in the video to be tested according to the target data.
5. The method according to any of claims 2-4, wherein the target data comprises at least one of a preset special effect, a video frame number of a sticker occurrence, a sticker display parameter, a sticker display duration.
6. A sticker testing device, comprising:
the generating module is used for acquiring a target sticker and a target video matched with the target sticker, and generating a video to be tested based on the target sticker and the target video;
the extraction module is used for extracting a target video frame in the video to be tested;
the test module is used for detecting whether the target video frame comprises the target paster or not;
and/or the presence of a gas in the gas,
the method is used for detecting whether the target paster in the target video frame is matched with a preset special effect.
7. The apparatus of claim 6, further comprising:
the acquisition module is used for acquiring a target video and a to-be-tested sticker matched with the target video;
and the storage module is used for storing the corresponding relation between the target video and the to-be-tested sticker and target data when the target video applies the to-be-tested sticker.
8. The apparatus of claim 7, wherein the generating module is further configured to:
acquiring a target paster, wherein the target paster is any one of the pasters to be tested;
and acquiring a target video matched with the target sticker based on the corresponding relation, and generating a video to be tested based on the target sticker and the target video.
9. The apparatus of claim 7, wherein the extraction module is further configured to:
and extracting a target video frame in the video to be tested according to the target data.
10. The apparatus according to any of claims 7-9, wherein the target data comprises at least one of a preset special effect, a video frame number of a sticker appearing, a sticker display parameter, a sticker display duration.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202010410729.1A 2020-05-15 2020-05-15 Label paper testing method, device, electronic equipment and computer readable storage medium Active CN111597984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010410729.1A CN111597984B (en) 2020-05-15 2020-05-15 Label paper testing method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010410729.1A CN111597984B (en) 2020-05-15 2020-05-15 Label paper testing method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111597984A true CN111597984A (en) 2020-08-28
CN111597984B CN111597984B (en) 2023-09-26

Family

ID=72191047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010410729.1A Active CN111597984B (en) 2020-05-15 2020-05-15 Label paper testing method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111597984B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210545A (en) * 2016-08-22 2016-12-07 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN108322802A (en) * 2017-12-29 2018-07-24 广州市百果园信息技术有限公司 Stick picture disposing method, computer readable storage medium and the terminal of video image
US20180249200A1 (en) * 2016-03-14 2018-08-30 Tencent Technology (Shenzhen) Company Limited Information processing method and terminal
CN108920368A (en) * 2018-06-29 2018-11-30 北京微播视界科技有限公司 The method, apparatus and electronic equipment of data test
CN109451248A (en) * 2018-11-23 2019-03-08 广州酷狗计算机科技有限公司 Processing method, device, terminal and the storage medium of video data
CN110414322A (en) * 2019-06-14 2019-11-05 平安科技(深圳)有限公司 Extract method, apparatus, equipment and the storage medium of picture
CN110490828A (en) * 2019-09-10 2019-11-22 广州华多网络科技有限公司 Image processing method and system in net cast
CN110602550A (en) * 2019-08-09 2019-12-20 咪咕动漫有限公司 Video processing method, electronic equipment and storage medium
CN110675310A (en) * 2019-07-02 2020-01-10 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN110913205A (en) * 2019-11-27 2020-03-24 腾讯科技(深圳)有限公司 Video special effect verification method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180249200A1 (en) * 2016-03-14 2018-08-30 Tencent Technology (Shenzhen) Company Limited Information processing method and terminal
CN106210545A (en) * 2016-08-22 2016-12-07 北京金山安全软件有限公司 Video shooting method and device and electronic equipment
CN108322802A (en) * 2017-12-29 2018-07-24 广州市百果园信息技术有限公司 Stick picture disposing method, computer readable storage medium and the terminal of video image
CN108920368A (en) * 2018-06-29 2018-11-30 北京微播视界科技有限公司 The method, apparatus and electronic equipment of data test
CN109451248A (en) * 2018-11-23 2019-03-08 广州酷狗计算机科技有限公司 Processing method, device, terminal and the storage medium of video data
CN110414322A (en) * 2019-06-14 2019-11-05 平安科技(深圳)有限公司 Extract method, apparatus, equipment and the storage medium of picture
CN110675310A (en) * 2019-07-02 2020-01-10 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN110602550A (en) * 2019-08-09 2019-12-20 咪咕动漫有限公司 Video processing method, electronic equipment and storage medium
CN110490828A (en) * 2019-09-10 2019-11-22 广州华多网络科技有限公司 Image processing method and system in net cast
CN110913205A (en) * 2019-11-27 2020-03-24 腾讯科技(深圳)有限公司 Video special effect verification method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHAO YUBIN 等: "Wireless protection switching for vedio service in wireless-optical broadband access network", pages 760 - 764 *
李诗宁: "基于图像的二维人物建模和动画生成技术研究", pages 138 - 315 *

Also Published As

Publication number Publication date
CN111597984B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN111984476B (en) Test method and device
CN107943683B (en) Test script generation method and device, electronic equipment and storage medium
CN111752843B (en) Method, apparatus, electronic device and readable storage medium for determining influence surface
CN111753701B (en) Method, device, equipment and readable storage medium for detecting violation of application program
US11206393B2 (en) Display latency measurement system using available hardware
CN111582453A (en) Method and device for generating neural network model
CN105700911B (en) Application installation method and device and electronic equipment
CN111967304A (en) Method and device for acquiring article information based on edge calculation and settlement table
CN113329087A (en) Method and device for acquiring information
CN111615171B (en) Access method and device of wireless local area network
CN112382292A (en) Voice-based control method and device
CN111597984B (en) Label paper testing method, device, electronic equipment and computer readable storage medium
CN111352685B (en) Display method, device, equipment and storage medium of input method keyboard
US20220328076A1 (en) Method and apparatus of playing video, electronic device, and storage medium
CN111708674A (en) Method, device, equipment and storage medium for determining key learning content
CN111510376B (en) Image processing method and device and electronic equipment
CN114221923A (en) Message processing method and device and electronic equipment
CN113542802A (en) Video transition method and device
CN113419915A (en) Cloud terminal desktop stillness determination method and device
CN111767170A (en) Operation restoration method and device for equipment, equipment and storage medium
CN111651229A (en) Font changing method, device and equipment
CN110618944A (en) Device simulation method, device, electronic device and storage medium
CN110851362A (en) Communication module testing method, system, equipment and storage medium
CN112418940B (en) Method, apparatus, device, storage medium and system for realizing interactive advertisement
CN111709922B (en) Image quality comparison method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant