CN113473246A - Media file publishing method and device and electronic equipment - Google Patents

Media file publishing method and device and electronic equipment Download PDF

Info

Publication number
CN113473246A
CN113473246A CN202010238591.1A CN202010238591A CN113473246A CN 113473246 A CN113473246 A CN 113473246A CN 202010238591 A CN202010238591 A CN 202010238591A CN 113473246 A CN113473246 A CN 113473246A
Authority
CN
China
Prior art keywords
media file
shooting
image
category
information
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
CN202010238591.1A
Other languages
Chinese (zh)
Other versions
CN113473246B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010238591.1A priority Critical patent/CN113473246B/en
Publication of CN113473246A publication Critical patent/CN113473246A/en
Application granted granted Critical
Publication of CN113473246B publication Critical patent/CN113473246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • G06T3/04
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4758End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for providing answers, e.g. voting

Abstract

The embodiment of the application discloses a method and a device for publishing a media file and electronic equipment, wherein the method comprises the following steps: after receiving a request for shooting an image media file, starting image acquisition, and identifying a category to which a shooting object belongs from the acquired image; providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information; and after receiving an operation request for publishing the shot media file, submitting the shot media file to a server for publishing. By the embodiment of the application, the quality of the image media file can be improved.

Description

Media file publishing method and device and electronic equipment
Technical Field
The present application relates to the field of media file processing technologies, and in particular, to a method and an apparatus for publishing a media file, and an electronic device.
Background
The short video is short video, is an internet content transmission mode, can be played on various new media platforms, is suitable for watching in a mobile state and a short-time leisure state, and is high-frequency pushed video content with the duration from several seconds to several minutes. Unlike micro-cinema and live broadcast, short video production does not have specific expression form and team configuration requirement like micro-cinema, has the characteristics of simple production flow, low production threshold, strong participation and the like, and has more spreading value than live broadcast. Thus, this short and fast mass-flow content is gaining popularity with large platforms, users, and capital. The information service system including some commodity objects also provides a short video communication platform for users. For example, a platform such as "life" or "community" can be provided for a user in an information service system of a living and fresh commodity object of a certain main business, a plurality of topics can be created in the platform, and the user can participate in interested topics by shooting and publishing a short video. For example, a specific topic may include "share healthy food with the person", and so on. In the process, users often want the short videos released by themselves to obtain higher attention, so that the short videos shot by the users have higher quality, and therefore the attention of more users is attracted. In addition, the platform side often also desires that users upload higher quality short videos to promote user stickiness for the platform as a whole.
However, short video usually means an ultra-short production cycle, and producing high-quality interesting content in a short time poses certain challenges to short-video producer's copy and project work. However, in the foregoing scenario, the producer of the short video is usually a common user, and these users do not have professional knowledge in the production of the short video, so that the quality of the short video is often difficult to guarantee. In addition, in addition to short videos, common users have similar problems in taking other image-like media files such as photographs.
Therefore, how to help users improve the quality of image-like media files becomes a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a media file publishing method, a media file publishing device and electronic equipment, which can improve the quality of image media files.
The application provides the following scheme:
a method of publishing a media file, comprising:
after receiving a request for shooting an image media file, starting image acquisition, and identifying a category to which a shooting object belongs from the acquired image;
providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information;
and after receiving an operation request for publishing the shot media file, submitting the shot media file to a server for publishing.
A method of publishing a media file, comprising:
after receiving an imported media file, identifying a category to which a shooting object belongs from an image of the media file;
providing recommendation information according to the identified category information so as to add additional information to the media file according to the recommendation information;
and after receiving an operation request for publishing the operated media file, submitting the operated media file to a server for publishing.
A media file processing method, comprising:
after receiving a request for shooting an image media file, starting image acquisition, and identifying a category to which a shooting object belongs from the acquired image;
and providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information.
A shooting processing method of a media file comprises the following steps:
after receiving a request for shooting image media files, starting image acquisition;
identifying the category to which the shot object belongs from the acquired image;
and providing a related shooting case according to the identified category information, wherein the shooting case is used for providing recommended shooting mode information so as to shoot the media file according to the shooting mode information provided by the shooting case.
A media file processing method, comprising:
determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
identifying the category to which the shooting object belongs from the image of the media file;
and providing recommended sticker picture information according to the identified category information so as to add a sticker picture to the image frame of the shot media file for combined display.
A shooting processing method of a media file comprises the following steps:
after receiving a request for shooting image media files, starting image acquisition;
identifying the category to which the shot object belongs from the acquired image;
if the shooting object is a fresh or food item and the images of the media files also comprise face images, determining a target sub-category matched with the features of the face images from one or more levels of sub-categories of the fresh or food;
and adding a sticker picture corresponding to the target sub-category in an image acquisition interface according to the position of the face image so as to add the sticker picture to the image frame of the shot media file for combined display.
A media file processing method, comprising:
determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
identifying the category to which the shooting object belongs from the image of the media file;
if the shooting object is a fresh or food item and the images of the media files also comprise face images, determining a target sub-category matched with the features of the face images from one or more levels of sub-categories of the fresh or food;
and adding the paster picture corresponding to the target sub-category into the image frame of the media file for combined display according to the position of the face image in the image of the media file.
An apparatus for publishing media files, comprising:
the first category identification unit is used for starting image acquisition after receiving a request for shooting an image media file and identifying a category to which a shooting object belongs from the acquired image;
the first recommendation information providing unit is used for providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information;
and the first publishing unit is used for submitting the shot media file to a server for publishing after receiving the operation request for publishing the shot media file.
An apparatus for publishing media files, comprising:
the second category identification unit is used for identifying the category to which the shooting object belongs from the image of the media file after receiving the imported media file;
the second recommendation information providing unit is used for providing recommendation information according to the identified category information so as to add additional information to the media file according to the recommendation information;
and the second publishing unit is used for submitting the operated media file to the server for publishing after receiving the operation request for publishing the operated media file.
A media file processing apparatus comprising:
the third category identification unit is used for starting image acquisition after receiving a request for shooting an image media file and identifying the category of a shooting object from the acquired image;
and the fourth recommendation information providing unit is used for providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information.
A shooting processing apparatus of a media file, comprising:
the image acquisition unit is used for starting image acquisition after receiving a request for shooting the image media file;
the category identification unit is used for identifying the category to which the shooting object belongs from the acquired image;
and the shooting case recommending unit is used for providing the associated shooting case according to the identified category information, and the shooting case is used for providing the recommended shooting mode information so as to shoot the media file according to the shooting mode information provided by the shooting case.
A media file processing apparatus comprising:
the file determining unit is used for determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
a category identification unit for identifying a category to which a photographic subject belongs from an image of the media file;
and the sticker picture recommending unit is used for providing recommended sticker picture information according to the identified category information so as to add a sticker picture to the image frame of the shot media file for combined display.
A shooting processing apparatus of a media file, comprising:
the image acquisition unit is used for starting image acquisition after receiving a request for shooting the image media file;
the category identification unit is used for identifying the category to which the shooting object belongs from the acquired image;
the human face image and category matching unit is used for determining a target sub-category matched with the characteristics of the human face image from one or more levels of sub-categories of the fresh or food class if the shooting object is a fresh or food class object and the images of the media files also comprise the human face image;
and the sticker picture recommending unit is used for adding a sticker picture corresponding to the target sub-category in an image acquisition interface according to the position of the face image so as to add the sticker picture to the image frame of the shot media file for combined display.
A media file processing apparatus comprising:
the file determining unit is used for determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
a category identification unit for identifying a category to which a photographic subject belongs from an image of the media file;
the human face image and category matching unit is used for determining a target sub-category matched with the characteristics of the human face image from one or more levels of sub-categories of the fresh or food class if the shooting object is a fresh or food class object and the images of the media files also comprise the human face image;
and the sticker picture recommending unit is used for adding the sticker pictures corresponding to the target sub-categories into the image frames of the media files for combined display according to the positions of the face images in the images of the media files.
According to the specific embodiments provided herein, the present application discloses the following technical effects:
according to the embodiment of the application, recommendation information is provided for the user in the media file shooting process or after the shooting is finished, so that the user can shoot the media files with the help of the system recommendation information or add special effects and other treatments to the media files, and therefore, even some 'small white' users without relevant knowledge storage can be shot to obtain high-quality media files. After the information publishing platform is used for publishing, the attention of the user to the media file can be improved, the quality of the media file in the system can be improved integrally, and the user activity in the system can be improved.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application;
FIG. 2 is a flow chart of a first method provided by an embodiment of the present application;
FIGS. 3-1 through 3-13 are schematic illustrations of interfaces provided by embodiments of the present application;
FIG. 4 is a flow chart of a second method provided by embodiments of the present application;
FIG. 5 is a flow chart of a third method provided by embodiments of the present application;
FIG. 6 is a flow chart of a fourth method provided by embodiments of the present application;
FIG. 7 is a flow chart of a fifth method provided by embodiments of the present application;
FIG. 8 is a flow chart of a sixth method provided by embodiments of the present application;
fig. 9 is a flow chart of a seventh method provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a first apparatus provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of a second apparatus provided by an embodiment of the present application;
FIG. 12 is a schematic diagram of a third apparatus provided by an embodiment of the present application;
FIG. 13 is a schematic diagram of a fourth apparatus provided by an embodiment of the present application;
FIG. 14 is a schematic diagram of a fifth apparatus provided by an embodiment of the present application;
FIG. 15 is a schematic view of a sixth apparatus provided by an embodiment of the present application;
FIG. 16 is a schematic diagram of a seventh apparatus provided by an embodiment of the present application;
fig. 17 is a schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
In the embodiment of the application, in order to improve the quality of image-type media files such as short videos and photos published by a user, the category to which a shooting object belongs can be identified in the process of publishing the media files by the user, and then, relevant recommendation information is provided for the user according to the specifically identified category information, so that the user can shoot the media files according to the recommendation information or add special effect information to the shot media files, and the quality of the media files is improved. In addition, if the user imports the media file which is shot in advance from a local folder such as an album and the like for distribution, the category to which the shot object in the media file belongs can be identified, corresponding recommendation information is provided for beautifying the media file which is shot in advance and the like, and then the media file is distributed, so that the quality of the media file distributed in the system is improved.
The above scheme may be applied to an information publishing platform, which may be an independent platform, or may also be a platform integrated in another system, for example, an information publishing platform provided for a user in a certain commodity object information service system, and the like. Specifically, referring to fig. 1, the information publishing platform may include a client and a server, where the client is mainly used for interacting with a user, providing a related information publishing interface, and providing an entry for shooting or locally selecting a media file in the interface, and starting image capture or opening an album folder according to an operation condition of the user. After image acquisition is started or a certain media file is selected from the photo album, the category to which the shooting object belongs can be identified from the image, and then corresponding recommendation information is provided according to the identification result. In order to implement the identification process, the client may store a specific identification algorithm in advance, and identify the photographic subject locally on the terminal device where the client is located through the specific identification algorithm. Or, in another case, the client may also submit the acquired image information to the server, and the server performs a specific recognition process and returns a recognition result to the client, and so on. After the media file is processed, the client can submit the file to the server for publication.
In practical applications, the information distribution platform may be a comprehensive distribution platform, or, in a more preferable mode, may be a distribution platform that is focused on a certain vertical field, and particularly, in a vertical field in which items such as fresh food and food are taken as an object to be photographed, the advantage of the solution provided in the embodiment of the present application can be further exhibited. For example, a user needs to take a short video related to a fruit, and the recommendation information provided for the user may include a filter applicable to the fruit; or, shooting case information related to shooting the category of fruits, so that the user can shoot according to shooting modes in the case, for example, cutting a part of the fruits, putting the whole fruits and the cut fruits together for shooting, inclining the cut plane at a certain angle relative to the lens, and the like; or, the paster picture related to the fruit can be recommended, the specific paster picture can be different from the expression picture provided in traditional picture beautification, but information such as the advantages of a specific shooting object in the aspects of eating and the like can be expressed through characters and added into the paster picture, so that the specific paster picture not only can play a role in beautifying the image, but also can realize that the information such as the characteristics and the advantages of the shooting object can be more intuitively revealed through the paster picture in a text form. In addition, if the shot scene also comprises the face image, the linkage between the face image and the articles of specific freshness and food categories can be realized, for example, vegetables, fruits and the like with certain similar shapes can be matched by identifying the face shape, the hair style, the skin color and the like of the face, and the face image can be added to the position of the specific face image in the form of a sticker, so that the face following can be realized, and the interestingness of the media file is improved. Furthermore, the recommendation of the title text of the published information, the recommendation of the voting information, the recommendation of partial enlarged display of some special images and the like can be carried out.
The following describes in detail specific implementations provided in embodiments of the present application.
Example one
The first embodiment introduces the media file publishing scheme from the perspective of the client. In the embodiment of the present application, the recommendation information provided for the two scenarios is slightly different, and therefore, the recommendation information is introduced separately because a specific shooting process may be started in an information editing interface and then the shot media file is published, or a locally stored media file that is shot in advance may be directly imported and then published. Specifically, the first embodiment mainly provides a method for publishing a media file for the first case, and referring to fig. 2, the method may specifically include:
s201: after receiving a request for shooting an image media file, starting image acquisition, and identifying a category to which a shooting object belongs from the acquired image;
the specific information publishing platform can provide an editing interface of the information to be published, for example, a function for performing communication and interaction among different users is provided in a certain commodity object information service system, and a plurality of topics can be initiated, so that the user can enter the editing interface of the information to be published provided by the information publishing platform after clicking to participate in the specific topics. The method and the device for acquiring the image media files have the advantages that operation options for shooting the image media files can be provided in the information editing interface, image acquisition can be started after the options are clicked, and at the moment, the scheme provided by the embodiment of the application can be used for identifying the categories of the shot objects in the acquired images. That is, as long as the camera of the terminal device is started, the category identification operation can be performed even before the shooting button in the interface is pressed. In a specific implementation, in the process of recognizing the shooting object, in order to enable the user to perceive the process, as shown in fig. 3-1, a semi-transparent cover layer may be further provided on an upper layer of the image acquisition interface, and the center of the cover layer may indicate that the recognition is in progress through a rotating circle, characters, and the like. And the identified object can be described in the form of words. For example, as shown in fig. 3-1, the category of the photographic subject may be identified as food in a coarse-grained manner, and in addition, specific elements contained in the photographic subject may be identified in a fine-grained manner, for example, orange, grape, dry ice, and the like may be included.
Specifically, when the photographic subject is identified, an identification algorithm may be established in advance in a manner of image feature learning or the like, so that the category to which the photographic subject belongs may be identified in an image identification manner. In addition, in concrete implementation, if the current information distribution platform is associated with a commodity object information service system, the commodity object information associated with the order that the associated user has recently received in the commodity object information service system can be combined to perform more specific identification. For example, a certain shooting object is identified as an apple through an image identification mode, and in combination with information that a certain user has purchased a 'flower cow' apple through a certain commodity object information service system recently, it can be judged that the current shooting object has a high probability of being the flower cow apple, so that the shooting object can be identified with a finer granularity.
As described above, in a specific implementation, the embodiment of the present application may provide corresponding functions in a vertical field of a fresh food or a food, and when a category to which a photographic object belongs is specifically identified, a sub-category to which the photographic object belongs may be identified in a first-level sub-category or a multi-level sub-category of the fresh food or the food. For example, after a certain shooting object is identified as belonging to a fresh class, whether the shooting object is a vegetable, a fruit or a aquatic product can be specifically identified, and if the shooting object is a vegetable, which kind of vegetable can be specifically identified, and the like. The particular granularity of recognition may depend on how fine the recognition algorithm is.
S202: providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information;
after the category information to which the photographic subject belongs is identified, recommendation information can be provided based on the identification result. The specific recommendation information may be various, for example, in one of the manners, a recommended shooting filter may be provided according to the category information to which the shooting object belongs. That is, the colors, brightness, etc. required to be highlighted in the shot picture are different according to the categories to which the shooting objects belong, and a general user may not have sufficient knowledge on how to select the filter, so that the filter suitable for the category to which the current shooting object belongs may be recommended to the user, and the user may use the filter to shoot. Of course, while the recommended filter is provided, other more selectable filters may also be provided so that the user may select other filters.
In another mode, the embodiment of the application can also provide a related shooting case in the image acquisition interface according to the identified category information, and the shooting case can provide recommended shooting mode information for the user, specifically including the placing mode, state, background, shooting angle, shooting time and the like of the shooting object. For example, if the photographic subject is a fresh or food item, since the media file is usually obtained by photographing the cooking or eating process of the photographic subject, the specific photographic case may be a case that can embody the advantages or characteristics of the photographic subject in the cooking or eating process. For example, for a photographic subject of fruits, the fruits may be cut, put with the whole fruits for photographing, or the cut process may be photographed. For the shooting object of the soup-filled bag, shooting can be performed at the moment when the bag is broken and the juice therein flows out, and the like.
The specific shooting cases may be obtained in advance, for example, by screening media files that have been shot by the user, selecting high-quality cases corresponding to various categories from the media files, storing the high-quality cases in the database, and providing the high-quality cases corresponding to the categories after identifying the categories to which the current shooting object belongs. The specific shooting case may be the same type of media file as the currently shot media file, e.g., if a photo is currently shot, the shooting case may be a photo, if a video is currently shot, the shooting case may be multi-video, etc.
There may be several specific ways, in particular when providing associated shooting cases. For example, in one mode, the shooting case may be presented directly after the category to which the subject belongs is identified. Or, in another mode, the associated shooting case may be determined according to the identified category information, and an operation option for displaying the shooting case is provided in the image acquisition interface. For example, as shown at 301 in fig. 3-2, an operation option of "take this" or the like may be provided in the image capture interface, and the user may show a specific shooting case through the operation option. After a display request is received through the operation options, the shooting case can be displayed in the image acquisition interface.
If the currently shot media file is a photo, the operation option for displaying the shooting case can be provided before the shooting operation option in the image acquisition interface is operated, so that a user can view the shooting case before specific shooting, and specific shooting mode information can be obtained. And if the currently shot media file is a video, providing the operation option for displaying the shooting case before and/or after the recording operation option in the image acquisition interface is operated. That is, since the shooting of the video is a continuous action, the user can not only check the shooting case before performing the specific recording, but also check the shooting case during the recording process, so as to adjust the state, shooting angle, and the like of the shooting object at any time.
Specifically, when the shooting case is displayed in the image acquisition interface, as shown at 302 in fig. 3-3, a floating layer may be created in the image acquisition interface, and the shooting case is displayed in the floating layer. In specific implementation, the same shooting object category can be associated with a plurality of shooting cases, so that the floating layer can comprise a plurality of display positions which are respectively used for displaying the plurality of shooting cases, and more shooting cases can be displayed in a left-right sliding mode and the like. For the shooting cases of the video type, after a plurality of shooting cases are displayed in the floating layer, the first or middle shooting case can be set to be in an automatic playing state, and other shooting cases can provide playing operation options to be played under the manual trigger of a user, and the like.
Another way of providing the recommendation information may be to provide an operation option for locally enlarging the captured image during the capturing process, and after receiving a local enlargement request through the operation option, perform image enlargement processing at a selected local position so as to add the enlarged local image to the image frame corresponding to the media file. For example, as shown in fig. 3-4, during the process of shooting video, the image magnification operation can be performed at some special positions through an operation option such as "magnifying glass" to provide close-up images at the positions. It can be seen that by means of the recommendation information, it is possible to add additional information, such as a locally enlarged image, to the image frame of the media file. Of course, an option to perform a delete operation on the enlarged image may also be provided. In addition, an option for setting the enlarged image appearance time may also be provided, whereby the start appearance time and duration of the enlarged image in the video are set.
In addition, as described above, in a specific implementation manner of the embodiment of the present application, the photographic subject may be a fresh or food item, and in this case, the media file may be obtained by photographing a cooking or eating process of the photographic subject; particularly, when the photographic subject is identified, the first target sub-category to which the photographic subject belongs can be determined from one or more levels of sub-categories of the fresh food or the food class. In this case, the specifically collected images may also include a face image, and at this time, the interestingness of the media file image can be improved in a manner of linking the face image with specific articles in the category of fresh or food, so that the interest of viewers can be attracted. Specifically, if the acquired image further includes a face image, a target sub-category matching the features of the face image may be determined from one or more sub-categories of the fresh or food category. The specific facial image features may include facial form, hair style, skin color, and the like of the human face. For example, if the face of a certain user is long, the matched target sub-category can be scallion or long-strip fresh products such as hairtails; if the skin color of a certain user is dark, dark fresh products such as eggplants, potatoes and the like can be matched. In addition, the corresponding sticker pictures can be provided for various sub-categories in advance, for example, the sticker pictures represent the categories of eggplants, potatoes and the like. Therefore, after the sub-categories matched with the characteristics of the face image are determined, the sticker images corresponding to the target sub-categories can be added in the image acquisition interface according to the positions of the face image, so that the sticker images can be used as additional information to be added into the image frames corresponding to the media files for combined display. Specifically, because the position of the face image may change during the shooting process, the sticker image can also realize 'face following', and move along with the position of the face image. In addition, since the matched sub-category is fresh or food, the user may be prompted to perform a specific action, such as opening the mouth, blinking, or the like, during the shooting process in order to further enhance the interest. Meanwhile, the state of the specific sticker picture can be changed, for example, an animation effect such as a process that the article in the specific sticker picture is eaten by the user every bite is presented.
In the above, the recommendation information is provided during the process of shooting the media file, and during the specific implementation, the recommendation information can be continuously provided after the shooting is completed. For example, in one mode, after the shooting of the media file is completed, recommended sticker picture information may be provided according to a category to which the shooting object belongs, so that a sticker picture is added as additional information to an image frame of the media file for combined display. That is, when a process such as beautification is performed on a media file that has been already captured, a sticker image is often added to an image to particularly emphasize some partial images. In the embodiment of the application, the sticker picture can be recommended according to the category to which the specific shooting object belongs, so that the used sticker picture better conforms to the characteristics of the shooting object.
In addition, the sticker picture recommended in the embodiment of the application is not only a picture of an expression class, but also information related to the class can be provided in the sticker picture according to the class to which the specific shooting object belongs. For example, the text information may be used to embody the characteristics or advantages of the shooting object. For example, if the shooting object is a fresh food or food class object, the media file is obtained by shooting the cooking or eating process of the shooting object, and a first target sub-category to which the shooting object belongs is determined from one or more sub-categories of the fresh food or food class; the sticker picture may include text information describing advantages of the photographed object in eating, or a pattern for enhancing or supplementing the image photographed during the cooking or eating. For example, as shown in fig. 3-5, assuming that the current photographic subject is orange, various alternative sticker pictures may be recommended in the interface, where the text may include "organic planting", "fresh and sweet juicy", and so forth. From which the user may select a desired sticker picture to add to the image of the media file. For example, after the first sticker picture recommended is selected, the effect of adding the first sticker picture to the image can be shown in fig. 3-6, and it can be seen that the image is beautified by the sticker picture, and at the same time, the advantage of the shooting object in terms of organic planting can be embodied by the text information in the sticker picture. In addition, the text information in the sticker picture can be in an editable state. If the text recommended in the sticker picture is not satisfied, as shown in fig. 3-7, the editing operation on the text can be triggered by the "edit" selection therein, and as shown in fig. 3-8, the user can re-input the text content displayed in the sticker picture, for example, modify "organic planting" to "good-looking and delicious fruit", and so on, thereby implementing the modification on the text information.
Another type of information that may be provided in the sticker picture regarding the category to which the subject belongs may be graphics used to enhance or supplement the image in the media file. For example, as shown in fig. 3 to 9, for a fresh or food-like subject, the specific graphics may include graphics for enhancing or supplementing the state of the subject during cooking or eating, including flames, water drops, hot air, smoke, and the like. The beautification of the image in the media file is realized through the graphics, for example, the effect after the sticker pictures of the various graphics are added into the image can be shown in figures 3-10, the scene of the fire and heat of the shooting object in the cooking process can be more highlighted, or the freshness of fruits can be highlighted, and the like.
In addition, since the specifically shot media file can be published to the information publishing platform for other users to view, the voting information can be inserted into the image frame of the media file as additional information of the media file, so that the viewer user can vote in the viewing process, for example, if the media file shows a rice dumpling, the voting information can ask the user whether to like sweet taste or salty taste, and the like. Specifically, in the embodiment of the present application, after the shooting of the media file is completed, an operation option for adding voting information to the media file may be provided; after receiving the request for adding the voting information through the operation options, a voting information editing interface is provided, for example, as shown in fig. 3-11 and 3-12, the voting content, the position where the voting information appears and/or the duration information can be edited.
Furthermore, when providing recommendation information according to the identified category information, the recommended title file information may also be provided according to the category to which the photographic subject belongs. That is, since the shot media file is mainly used for publishing in the information publishing platform, it is usually necessary to provide a striking title for the published file, and in the embodiment of the present application, the title file can be recommended according to the category to which the specific shot object belongs. For example, as shown in fig. 3-13, one of the recommended texts may be provided in a title editing area, for example, "nice deliciousness, quick look around", on which the user can edit or modify. In addition, during the specific implementation, a plurality of optional title texts can be recommended, information such as description angles of various title texts can be provided in an editing interface, for example, taste, price, package and the like, and a user can view more recommended title texts by clicking corresponding options.
In short, through the recommendation information provided by the embodiment of the application, shooting mode information, additional information and the like which are more suitable for the category to which the current shooting object belongs can be obtained, so that guidance on specific shooting modes, additional information adding modes and the like is achieved, and the purpose of improving the quality of the media file to be published is finally achieved. It should be noted that, when the additional information is specifically presented in combination with the image frame of the media file, there may be a plurality of specific implementations, for example, in one of the implementations, the combination presentation may be implemented by using an image rendering technology. The embodiment of the present application will not be specifically described with respect to the rendering technique itself.
S203: and after receiving an operation request for publishing the shot media file, submitting the shot media file to a server for publishing.
After the operations such as shooting and related beautification are completed on the media file, a publishing request can be initiated through the operation options such as 'publishing' in the editing interface, and at this time, the client can submit the media file obtained by shooting to the server for publishing.
In summary, according to the embodiment of the present application, recommendation information is provided to a user during or after shooting of a media file is completed, so that the user can shoot the media file with the help of system recommendation information, or perform processing such as adding special effects to the media file, and therefore, even for some "small white" users without relevant knowledge reserve, a high-quality media file can be shot. After the information publishing platform is used for publishing, the attention of the user to the media file can be improved, the quality of the media file in the system can be improved integrally, and the user activity in the system can be improved.
Example two
In the first embodiment, a manner of providing recommendation information for a user is introduced in a scene where shooting of a media file is started in an editing interface of information to be published. In another scenario, the user may select a locally stored media file for distribution, and at this time, since the shooting of the media file is completed, it may not be necessary to provide recommendation information before and during the specific shooting or recording. Specifically, an embodiment of the present application further provides another method for publishing a media file, which, referring to fig. 4, may specifically include:
s401: after receiving an imported image media file, identifying a category to which a shooting object belongs from an image of the media file;
s402: providing recommendation information according to the identified category information so as to add additional information to the media file according to the recommendation information;
the specific recommendation information is similar to the recommendation information provided after the shooting of the media file is completed in the first embodiment, and for example, the specific recommendation information may specifically include a sticker picture including information corresponding to a category to which the specific shooting object belongs, or voting information, title text information, and the like.
S403: and after receiving an operation request for publishing the operated media file, submitting the operated media file to a server for publishing.
EXAMPLE III
In the foregoing first embodiment and second embodiment, the description is provided for the application in the media file publishing platform, but in practical application, the scheme provided in the embodiment of the present application may also be applied to other scenarios. For example, it may be implemented in a dedicated image-like media file capture or beautification tool, and so on. Therefore, an embodiment of the present application further provides a shooting processing method for a media file, and referring to fig. 5, the method may specifically include:
s501: after receiving a request for shooting an image media file, starting image acquisition, and identifying a category to which a shooting object belongs from the acquired image;
s502: and providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information.
During specific implementation, related shooting cases can be provided in the image acquisition interface according to the identified category information, and the shooting cases are used for providing recommended shooting mode information.
Or after the media file is shot, providing recommended sticker picture information according to the category to which the shot object belongs.
The sticker picture may include text information describing the advantages of the photographic subject, or a pattern for enhancing or supplementing the photographed image.
Specifically, the shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object; at this time, the sticker picture may include text information describing advantages of the photographed object in eating, or a pattern for enhancing or supplementing an image photographed during the cooking or eating.
In addition, when the shooting object is a fresh or food object and the media file is obtained by shooting the cooking or eating process of the shooting object, if the collected image also comprises a face image, a target sub-category matched with the characteristics of the face image can be determined from one or more levels of sub-categories of the fresh or food; recommendation information for a sticker picture corresponding to the target sub-category is then provided to add the sticker picture to an image frame corresponding to the media file.
In specific implementation, after the additional information to be added is determined according to the recommendation information, the target shooting object in the media file image frame and the additional information can be displayed in a combined manner.
In a specific implementation, the target shooting object in the image frame of the media file and the additional information may be displayed in combination by using an image rendering technology.
EXAMPLE III
The third embodiment is to individually protect a scheme for recommending a shooting case, and specifically, the third embodiment provides a shooting processing method for a media file, which may specifically include:
s601: after receiving a request for shooting image media files, starting image acquisition;
s602: identifying the category to which the shot object belongs from the acquired image;
s603: and providing a related shooting case according to the identified category information, wherein the shooting case is used for providing recommended shooting mode information so as to shoot the media file according to the shooting mode information provided by the shooting case.
EXAMPLE five
Similar to the scenario in the fourth embodiment, another media file processing method is separately provided for the scheme of recommending the sticker picture, and referring to fig. 7, the method may specifically include:
s701: determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
s702: identifying the category to which the shooting object belongs from the image of the media file;
s703: and providing recommended sticker picture information according to the identified category information so as to add a sticker picture to the image frame of the shot media file for combined display.
The shooting object can be fresh or food, and the media file is generated by shooting in the process of cooking or eating the shooting object; particularly, when the category to which the photographic subject belongs is identified from the image of the media file, the first target sub-category to which the photographic subject belongs may be determined from one or more sub-categories of the fresh food or food category. The specific sticker picture comprises text information used for describing the advantages of the shooting object in eating, or a pattern used for enhancing or supplementing the image shot in the cooking or eating process.
In addition, if the images of the media files further comprise a human face image, a second target sub-category matched with the characteristics of the human face image can be further determined from one or more levels of sub-categories of the fresh or food class; and determining the paster picture corresponding to the second target sub-category, and adding the paster picture corresponding to the second target sub-category in an image acquisition interface according to the position of the face image.
EXAMPLE six
The sixth embodiment is similar to the fourth and fifth embodiments in scenes, and provides another shooting processing method for media files separately for a scheme of linkage with a face image, and with reference to fig. 8, the method may specifically include:
s801: after receiving a request for shooting image media files, starting image acquisition;
s802: identifying the category to which the shot object belongs from the acquired image;
s803: if the shooting object is a fresh or food item and the images of the media files also comprise face images, determining a target sub-category matched with the features of the face images from one or more levels of sub-categories of the fresh or food;
s804: and adding a sticker picture corresponding to the target sub-category in an image acquisition interface according to the position of the face image so as to add the sticker picture to the image frame of the shot media file for combined display.
EXAMPLE seven
In the sixth embodiment, in the process of shooting the media file, the interestingness of the image can be improved in a mode that the face image is linked with articles such as fresh food and food, and in the seventh embodiment, the interestingness information can be added to the media file which is shot in advance. Specifically, referring to fig. 9, a sixth embodiment provides another shooting processing method for a media file, where the method may specifically include:
s901: determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
s902: identifying the category to which the shooting object belongs from the image of the media file;
s903: if the shooting object is a fresh or food item and the images of the media files also comprise face images, determining a target sub-category matched with the features of the face images from one or more levels of sub-categories of the fresh or food;
s904: and adding the paster picture corresponding to the target sub-category into the image frame of the media file for combined display according to the position of the face image in the image of the media file.
For the parts of the second to seventh embodiments that are not described in detail, reference may be made to the description of the first embodiment, which is not repeated herein.
It should be noted that, in the embodiments of the present application, the user data may be used, and in practical applications, the user-specific personal data may be used in the scheme described herein within the scope permitted by the applicable law, under the condition of meeting the requirements of the applicable law and regulations in the country (for example, the user explicitly agrees, the user is informed, etc.).
Corresponding to the first embodiment, an embodiment of the present application further provides a device for publishing a media file, and referring to fig. 10, the device may specifically include:
a first category identifying unit 1001 configured to start image acquisition after receiving a request for shooting an image-like media file, and identify a category to which a shooting object belongs from an acquired image;
a first recommendation information providing unit 1002, configured to provide recommendation information according to the identified category information, so as to perform shooting of the media file according to the recommendation information or add additional information to the media file;
the first publishing unit 1003 is configured to submit the media file obtained by shooting to a server for publishing after receiving an operation request for publishing the shot media file.
In a specific implementation, the first recommendation information providing unit may specifically be configured to:
and providing a recommended shooting filter according to the category information of the shooting object.
Or, the first recommendation information providing unit may specifically be configured to:
and providing a relevant shooting case in the image acquisition interface according to the identified category information, wherein the shooting case is used for providing recommended shooting mode information.
Specifically, the first recommendation information providing unit may include:
the shooting case option providing subunit is used for determining the associated shooting case according to the identified category information and providing an operation option for displaying the shooting case in the image acquisition interface;
and the case display subunit is used for displaying the shooting case in the image acquisition interface after receiving a display request through the operation options.
Wherein the media file comprises a photograph;
the shooting case option providing subunit may be specifically configured to: before the shooting operation option in the image acquisition interface is operated, providing the operation option for displaying the shooting case.
Alternatively, the media file comprises a video;
the shooting case option providing subunit may be specifically configured to: and providing the operation options for displaying the shooting case before and/or after the recording operation options in the image acquisition interface are operated.
In addition, the case presentation subunit may be specifically configured to:
and creating a floating layer in an image acquisition interface, and displaying the shooting case in the floating layer.
Wherein the shooting case is a media file of the same type as the currently shot media file so as to recommend one or more of the following in the shooting process: the arrangement mode, state, background, shooting angle and shooting time of the shot object.
In another mode, the first recommendation information providing unit may specifically be configured to:
providing an operation option for locally amplifying a shot image; and after receiving a local amplification request through the operation option, acquiring an amplified image at a selected local position so as to add the amplified image to an image frame corresponding to the media file.
The shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object;
the category identification unit may be specifically configured to:
determining a first target sub-category to which the photographic subject belongs from one or more levels of sub-categories of the fresh or food class;
the apparatus may further include:
the second category identification unit is used for determining a second target sub-category matched with the characteristics of the face image from the one-level or multi-level sub-categories of the fresh food or the food if the acquired images also comprise the face image;
and the sticker picture adding unit is used for adding a sticker picture corresponding to the second target sub-category in an image acquisition interface according to the position of the face image so as to be added to the image frame corresponding to the media file.
Wherein the media file comprises a video;
the apparatus may further include:
and the action prompting unit is used for prompting a user to make a specified action in an image acquisition interface so as to provide a corresponding animation effect by combining the sticker picture.
In addition, the apparatus may further include:
and the sticker picture recommending unit is used for providing recommended sticker picture information according to the category of the shooting object after the media file is shot.
Wherein the sticker picture includes text information for describing advantages of the photographic subject, or a pattern for enhancing or supplementing the photographed image.
Specifically, the shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object;
at this time, the sticker picture includes text information describing the advantages of the photographed object in eating, or a pattern for enhancing or supplementing the image photographed in the cooking or eating process.
In addition, the text information in the sticker picture is in an editable state.
Furthermore, the apparatus may further include:
the voting option providing unit is used for providing operation options for adding voting information into the media files after the media files are shot;
and the voting information editing unit is used for providing a voting information editing interface after receiving the request of adding the voting information through the operation options so as to edit the voting content, the position where the voting information appears and/or the duration information.
In addition, the first recommendation information providing unit may be further configured to:
and providing recommended title file information according to the category to which the shooting object belongs.
The recommended title file information can be a plurality of pieces, and the shooting objects are described from different angles respectively;
specifically, the first recommendation information providing unit may be configured to:
and displaying one piece of recommended title file information in the editing area of the title file, and prompting the description angle information of other title files.
Corresponding to the second embodiment, an embodiment of the present application further provides a device for publishing a media file, and referring to fig. 11, the device may specifically include:
a second category identifying unit 1101, configured to receive an imported media file, and identify a category to which a photographic subject belongs from an image of the media file;
a second recommendation information providing unit 1102, configured to provide recommendation information according to the identified category information, so as to add additional information to the media file according to the recommendation information;
the second publishing unit 1103 is configured to, after receiving an operation request for publishing the operated media file, submit the operated media file to the server for publishing.
Corresponding to the embodiment, the embodiment of the present application further provides a media file processing apparatus, and referring to fig. 12, the apparatus may specifically include:
a third category identifying unit 1201, configured to start image acquisition after receiving a request for shooting an image-like media file, and identify a category to which a shooting object belongs from an acquired image;
a third recommendation information providing unit 1202, configured to provide recommendation information according to the identified category information, so as to perform shooting of the media file according to the recommendation information or add additional information to the media file.
Specifically, the third recommendation information providing unit may specifically be configured to:
and providing a relevant shooting case in the image acquisition interface according to the identified category information, wherein the shooting case is used for providing recommended shooting mode information.
Or, the third recommendation information providing unit may be specifically configured to:
and after the media file is shot, providing recommended sticker picture information according to the category to which the shot object belongs.
Wherein the sticker picture includes text information for describing advantages of the photographic subject, or a pattern for enhancing or supplementing the photographed image.
Specifically, the shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object;
the sticker picture comprises text information used for describing the advantages of the shooting object in eating, or a pattern used for enhancing or supplementing the image shot in the cooking or eating process.
If the shooting object is a fresh or food object, the media file is obtained by shooting the cooking or eating process of the shooting object; the third recommendation information providing unit may be further specifically configured to:
if the acquired images also comprise a face image, determining a target sub-category matched with the characteristics of the face image from one or more levels of sub-categories of the fresh or food; providing recommendation information for a sticker picture corresponding to the target sub-category for adding the sticker picture to an image frame corresponding to the media file.
In addition, when specifically implemented, the apparatus may further include:
and the combination display unit is used for combining and displaying the target shooting object in the media file image frame and the additional information after the additional information to be added is determined according to the recommendation information.
Specifically, the combined display unit may combine the target photographic object in the media file image frame with the additional information for display by using an image rendering technology.
Corresponding to the fourth embodiment, an embodiment of the present application further provides a media file processing apparatus, and referring to fig. 13, the apparatus may specifically include:
the image acquisition unit 1301 is configured to start image acquisition after receiving a request for shooting an image-like media file;
a category identifying unit 1302, configured to identify a category to which a photographic subject belongs from the acquired image;
and the shooting case recommending unit 1303 is configured to provide a relevant shooting case according to the identified category information, where the shooting case is used to provide recommended shooting mode information, so as to shoot the media file according to the shooting mode information provided by the shooting case.
Corresponding to the fifth embodiment, an embodiment of the present application further provides a media file processing apparatus, and referring to fig. 14, the apparatus may specifically include:
a file determining unit 1401 for determining an image-like media file to be processed, the media file being obtained by photographing a subject;
a category identifying unit 1402 for identifying a category to which a photographic subject belongs from an image of the media file;
a sticker picture recommending unit 1403, configured to provide recommended sticker picture information according to the identified category information, so as to add a sticker picture to the image frame of the captured media file for combined display.
The shooting object is a fresh or food object, and the media file is generated by shooting in the process of cooking or eating the shooting object;
the category identification unit may be specifically configured to:
determining a first target sub-category to which the photographic subject belongs from one or more levels of sub-categories of the fresh or food class;
the sticker picture comprises text information used for describing the advantages of the shooting object in eating, or a pattern used for enhancing or supplementing the image shot in the cooking or eating process.
In addition, the apparatus may further include:
a second category identification unit, configured to determine, if a human face image is further included in the images of the media files, a second target sub-category that matches features of the human face image from one or more sub-categories of the fresh or food category;
the sticker picture determining unit is used for determining a sticker picture corresponding to the second target sub-category;
and the sticker picture adding unit is used for adding a sticker picture corresponding to the second target sub-category in an image acquisition interface according to the position of the face image.
Corresponding to the sixth embodiment, an embodiment of the present application further provides a shooting processing apparatus for a media file, and referring to fig. 15, the apparatus may specifically include:
the image acquisition unit 1501 is configured to start image acquisition after receiving a request for shooting an image-like media file;
a category identifying unit 1502 configured to identify a category to which a photographic subject belongs from the acquired image;
a face image and category matching unit 1503, configured to determine, if the photographic subject is a fresh or food item and the image of the media file further includes a face image, a target sub-category that matches features of the face image from one or more sub-categories of the fresh or food item;
and the sticker picture recommending unit 1504 is used for adding a sticker picture corresponding to the target sub-category in an image acquisition interface according to the position of the face image so as to add the sticker picture to the image frame of the shot media file for combined display.
Corresponding to the seventh embodiment, an embodiment of the present application further provides a media file processing apparatus, and referring to fig. 16, the apparatus may specifically include:
a file determining unit 1601 configured to determine an image-like media file to be processed, the media file being obtained by shooting a subject;
a category identifying unit 1602, configured to identify a category to which a photographic subject belongs from an image of the media file;
a human face image and category matching unit 1603, configured to determine a target sub-category matched with features of the human face image from one or more sub-categories of the fresh or food category if the shooting object is a fresh or food category and the image of the media file further includes the human face image;
and a sticker picture recommending unit 1604, configured to add a sticker picture corresponding to the target sub-category to an image frame of the media file for combined display according to a position of the face image in the image of the media file.
In addition, the present application also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is characterized in that, when being executed by a processor, the computer program implements the steps of the method in any one of the foregoing method embodiments.
And an electronic device comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of the preceding method embodiments.
Where fig. 17 illustratively shows the architecture of an electronic device, for example, device 1700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an aircraft, or the like.
Referring to fig. 17, device 1700 may include one or more of the following components: processing component 1702, memory 1704, power component 1706, multimedia component 1708, audio component 1710, input/output (I/O) interface 1712, sensor component 1714, and communications component 1716.
The processing component 1702 generally controls the overall operation of the device 1700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing elements 1702 may include one or more processors 1720 to execute instructions to perform all or a portion of the steps of a method provided by the disclosed subject matter. Further, processing component 1702 may include one or more modules that facilitate interaction between processing component 1702 and other components. For example, the processing component 1702 may include a multimedia module to facilitate interaction between the multimedia component 1708 and the processing component 1702.
The memory 1704 is configured to store various types of data to support operations at the device 1700. Examples of such data include instructions for any application or method operating on device 1700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1706 provides power to the various components of the device 1700. The power components 1706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1700.
The multimedia components 1708 include a screen that provides an output interface between the device 1700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1708 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1710 is configured to output and/or input audio signals. For example, audio component 1710 includes a Microphone (MIC) configured to receive external audio signals when device 1700 is in an operational mode, such as a call mode, a record mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1704 or transmitted via the communication component 1716. In some embodiments, audio component 1710 also includes a speaker for outputting audio signals.
The I/O interface 1712 provides an interface between the processing component 1702 and peripheral interface modules, such as a keyboard, click wheel, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1714 includes one or more sensors for providing status assessment of various aspects of device 1700. For example, sensor assembly 1714 may detect the open/closed state of device 1700, the relative positioning of components, such as a display and keypad of device 1700, the change in position of device 1700 or a component of device 1700, the presence or absence of user contact with device 1700, the orientation or acceleration/deceleration of device 1700, and the change in temperature of device 1700. The sensor assembly 1714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1716 is configured to facilitate communications between the device 1700 and other devices in a wired or wireless manner. The device 1700 may access a wireless network based on a communication standard, such as WiFi, or a mobile communication network such as 2G, 3G, 4G/LTE, 5G, etc. In an exemplary embodiment, the communication component 1716 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1704 comprising instructions, executable by the processor 1720 of the device 1700 to perform the methods provided by the disclosed aspects is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The method, the device and the electronic device for publishing the media file provided by the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific embodiments and the application range may be changed. In view of the above, the description should not be taken as limiting the application.

Claims (42)

1. A method for publishing a media file, comprising:
after receiving a request for shooting an image media file, starting image acquisition, and identifying a category to which a shooting object belongs from the acquired image;
providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information;
and after receiving an operation request for publishing the shot media file, submitting the shot media file to a server for publishing.
2. The method of claim 1,
the providing of recommendation information according to the identified category information includes:
and providing a recommended shooting filter according to the category information of the shooting object.
3. The method of claim 1,
the providing of recommendation information according to the identified category information includes:
and providing a relevant shooting case in the image acquisition interface according to the identified category information, wherein the shooting case is used for providing recommended shooting mode information.
4. The method of claim 3,
the providing of the associated shooting case according to the identified category information includes:
determining a related shooting case according to the identified category information, and providing an operation option for displaying the shooting case in the image acquisition interface;
and after receiving a display request through the operation options, displaying the shooting case in the image acquisition interface.
5. The method of claim 4,
the media file comprises a photograph;
the providing of operation options for displaying the shooting case in the image acquisition interface includes:
before the shooting operation option in the image acquisition interface is operated, providing the operation option for displaying the shooting case.
6. The method of claim 4,
the media file comprises a video;
the providing of operation options for displaying the shooting case in the image acquisition interface includes:
and providing the operation options for displaying the shooting case before and/or after the recording operation options in the image acquisition interface are operated.
7. The method of claim 4,
the displaying the shooting case in the image acquisition interface comprises:
and creating a floating layer in an image acquisition interface, and displaying the shooting case in the floating layer.
8. The method of claim 3,
the shooting case is a media file of the same type as the currently shot media file so as to recommend one or more of the following during shooting: the arrangement mode, state, background, shooting angle and shooting time of the shot object.
9. The method of claim 1,
the providing of recommendation information according to the identified category information includes:
providing an operation option for locally amplifying a shot image;
and after receiving a local amplification request through the operation option, acquiring an amplified image at a selected local position so as to add the amplified image to an image frame corresponding to the media file.
10. The method of claim 1,
the shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object;
the identifying the category to which the shooting object belongs from the image of the media file comprises the following steps:
determining a first target sub-category to which the photographic subject belongs from one or more levels of sub-categories of the fresh or food class;
the method further comprises the following steps:
if the acquired images also comprise a face image, determining a second target sub-category matched with the characteristics of the face image from one or more levels of sub-categories of the fresh or food;
and adding a sticker picture corresponding to the second target sub-category in an image acquisition interface according to the position of the face image so as to be added to an image frame corresponding to the media file.
11. The method of claim 10,
the media file comprises a video;
the method further comprises the following steps:
and prompting a user to make a specified action in an image acquisition interface so as to provide a corresponding animation effect in combination with the sticker picture.
12. The method of claim 1, further comprising:
and after the media file is shot, providing recommended sticker picture information according to the category to which the shot object belongs.
13. The method of claim 12,
the sticker picture comprises text information for describing the advantages of the shooting object, or a pattern for enhancing or supplementing the shot image.
14. The method of claim 13,
the shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object;
the sticker picture comprises text information used for describing the advantages of the shooting object in eating, or a pattern used for enhancing or supplementing the image shot in the cooking or eating process.
15. The method of claim 13,
the text information in the sticker picture is in an editable state.
16. The method of claim 1, further comprising:
after the media file is shot, providing an operation option for adding voting information into the media file;
and after receiving a request for adding the voting information through the operation options, providing a voting information editing interface for editing the voting content, the position where the voting information appears and/or the duration information.
17. The method of claim 1,
the providing of recommendation information according to the identified category information includes:
and providing recommended title file information according to the category to which the shooting object belongs.
18. The method of claim 17,
the recommended title file information is multiple, and the shooting objects are described from different angles respectively;
the providing of the recommended title file information according to the category to which the shooting object belongs includes:
and displaying one piece of recommended title file information in the editing area of the title file, and prompting the description angle information of other title files.
19. A method for publishing a media file, comprising:
after receiving an imported media file, identifying a category to which a shooting object belongs from an image of the media file;
providing recommendation information according to the identified category information so as to add additional information to the media file according to the recommendation information;
and after receiving an operation request for publishing the operated media file, submitting the operated media file to a server for publishing.
20. A media file processing method, comprising:
after receiving a request for shooting an image media file, starting image acquisition, and identifying a category to which a shooting object belongs from the acquired image;
and providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information.
21. The method of claim 20,
the providing of recommendation information according to the identified category information includes:
and providing a relevant shooting case in the image acquisition interface according to the identified category information, wherein the shooting case is used for providing recommended shooting mode information.
22. The method of claim 20,
the providing of recommendation information according to the identified category information includes:
and after the media file is shot, providing recommended sticker picture information according to the category to which the shot object belongs.
23. The method of claim 22,
the sticker picture comprises text information for describing the advantages of the shooting object, or a pattern for enhancing or supplementing the shot image.
24. The method of claim 23,
the shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object;
the sticker picture comprises text information used for describing the advantages of the shooting object in eating, or a pattern used for enhancing or supplementing the image shot in the cooking or eating process.
25. The method of claim 22,
the shooting object is a fresh or food object, and the media file is obtained by shooting the cooking or eating process of the shooting object;
the providing of recommendation information according to the identified category information includes:
if the acquired images also comprise a face image, determining a target sub-category matched with the characteristics of the face image from one or more levels of sub-categories of the fresh or food;
providing recommendation information for a sticker picture corresponding to the target sub-category for adding the sticker picture to an image frame corresponding to the media file.
26. The method of any one of claims 20 to 25, further comprising:
and after determining additional information to be added according to the recommendation information, combining and displaying the target shooting object in the media file image frame and the additional information.
27. The method of claim 26,
the displaying the target shooting object in the media file image frame and the additional information in a combined manner comprises:
and displaying the target shooting object in the image frame of the media file and the additional information in a combined manner by utilizing an image rendering technology.
28. A shooting processing method of a media file is characterized by comprising the following steps:
after receiving a request for shooting image media files, starting image acquisition;
identifying the category to which the shot object belongs from the acquired image;
and providing a related shooting case according to the identified category information, wherein the shooting case is used for providing recommended shooting mode information so as to shoot the media file according to the shooting mode information provided by the shooting case.
29. A media file processing method, comprising:
determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
identifying the category to which the shooting object belongs from the image of the media file;
and providing recommended sticker picture information according to the identified category information so as to add a sticker picture to the image frame of the shot media file for combined display.
30. The method of claim 29,
the shooting object is fresh or food, and the media file is generated by shooting in the process of cooking or eating the shooting object;
the identifying the category to which the shooting object belongs from the image of the media file comprises the following steps:
determining a first target sub-category to which the photographic subject belongs from one or more levels of sub-categories of the fresh or food class;
the sticker picture comprises text information used for describing the advantages of the shooting object in eating, or a pattern used for enhancing or supplementing the image shot in the cooking or eating process.
31. The method of claim 29, further comprising:
if the images of the media files further comprise a face image, determining a second target sub-category matched with the characteristics of the face image from one or more levels of sub-categories of the fresh or food class;
determining a sticker picture corresponding to the second target sub-category;
and adding a sticker picture corresponding to the second target sub-category in an image acquisition interface according to the position of the face image.
32. A shooting processing method of a media file is characterized by comprising the following steps:
after receiving a request for shooting image media files, starting image acquisition;
identifying the category to which the shot object belongs from the acquired image;
if the shooting object is a fresh or food item and the images of the media files also comprise face images, determining a target sub-category matched with the features of the face images from one or more levels of sub-categories of the fresh or food;
and adding a sticker picture corresponding to the target sub-category in an image acquisition interface according to the position of the face image so as to add the sticker picture to the image frame of the shot media file for combined display.
33. A media file processing method, comprising:
determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
identifying the category to which the shooting object belongs from the image of the media file;
if the shooting object is a fresh or food item and the images of the media files also comprise face images, determining a target sub-category matched with the features of the face images from one or more levels of sub-categories of the fresh or food;
and adding the paster picture corresponding to the target sub-category into the image frame of the media file for combined display according to the position of the face image in the image of the media file.
34. An apparatus for publishing media files, comprising:
the first category identification unit is used for starting image acquisition after receiving a request for shooting an image media file and identifying a category to which a shooting object belongs from the acquired image;
the first recommendation information providing unit is used for providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information;
and the first publishing unit is used for submitting the shot media file to a server for publishing after receiving the operation request for publishing the shot media file.
35. An apparatus for publishing media files, comprising:
the second category identification unit is used for identifying the category to which the shooting object belongs from the image of the media file after receiving the imported media file;
the second recommendation information providing unit is used for providing recommendation information according to the identified category information so as to add additional information to the media file according to the recommendation information;
and the second publishing unit is used for submitting the operated media file to the server for publishing after receiving the operation request for publishing the operated media file.
36. A media file processing apparatus, comprising:
the third category identification unit is used for starting image acquisition after receiving a request for shooting an image media file and identifying the category of a shooting object from the acquired image;
and the fourth recommendation information providing unit is used for providing recommendation information according to the identified category information so as to shoot the media file or add additional information to the media file according to the recommendation information.
37. A shooting processing apparatus for a media file, comprising:
the image acquisition unit is used for starting image acquisition after receiving a request for shooting the image media file;
the category identification unit is used for identifying the category to which the shooting object belongs from the acquired image;
and the shooting case recommending unit is used for providing the associated shooting case according to the identified category information, and the shooting case is used for providing the recommended shooting mode information so as to shoot the media file according to the shooting mode information provided by the shooting case.
38. A media file processing apparatus, comprising:
the file determining unit is used for determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
a category identification unit for identifying a category to which a photographic subject belongs from an image of the media file;
and the sticker picture recommending unit is used for providing recommended sticker picture information according to the identified category information so as to add a sticker picture to the image frame of the shot media file for combined display.
39. A shooting processing apparatus for a media file, comprising:
the image acquisition unit is used for starting image acquisition after receiving a request for shooting the image media file;
the category identification unit is used for identifying the category to which the shooting object belongs from the acquired image;
the human face image and category matching unit is used for determining a target sub-category matched with the characteristics of the human face image from one or more levels of sub-categories of the fresh or food class if the shooting object is a fresh or food class object and the images of the media files also comprise the human face image;
and the sticker picture recommending unit is used for adding a sticker picture corresponding to the target sub-category in an image acquisition interface according to the position of the face image so as to add the sticker picture to the image frame of the shot media file for combined display.
40. A media file processing apparatus, comprising:
the file determining unit is used for determining an image media file to be processed, wherein the media file is obtained by shooting a shooting object;
a category identification unit for identifying a category to which a photographic subject belongs from an image of the media file;
the human face image and category matching unit is used for determining a target sub-category matched with the characteristics of the human face image from one or more levels of sub-categories of the fresh or food class if the shooting object is a fresh or food class object and the images of the media files also comprise the human face image;
and the sticker picture recommending unit is used for adding the sticker pictures corresponding to the target sub-categories into the image frames of the media files for combined display according to the positions of the face images in the images of the media files.
41. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 33.
42. An electronic device, comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of claims 1 to 33.
CN202010238591.1A 2020-03-30 2020-03-30 Method and device for publishing media file and electronic equipment Active CN113473246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010238591.1A CN113473246B (en) 2020-03-30 2020-03-30 Method and device for publishing media file and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010238591.1A CN113473246B (en) 2020-03-30 2020-03-30 Method and device for publishing media file and electronic equipment

Publications (2)

Publication Number Publication Date
CN113473246A true CN113473246A (en) 2021-10-01
CN113473246B CN113473246B (en) 2023-09-01

Family

ID=77865046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010238591.1A Active CN113473246B (en) 2020-03-30 2020-03-30 Method and device for publishing media file and electronic equipment

Country Status (1)

Country Link
CN (1) CN113473246B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024046360A1 (en) * 2022-08-30 2024-03-07 北京字跳网络技术有限公司 Media content processing method and apparatus, device, readable storage medium, and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347559A (en) * 2018-01-05 2018-07-31 深圳市金立通信设备有限公司 A kind of image pickup method, terminal and computer readable storage medium
US20180217995A1 (en) * 2015-12-08 2018-08-02 Tencent Technology (Shenzhen) Company Limited Media file processing method and device, and media file sharing method and device in social media application
CN108805095A (en) * 2018-06-19 2018-11-13 Oppo广东移动通信有限公司 image processing method, device, mobile terminal and computer readable storage medium
CN109068056A (en) * 2018-08-17 2018-12-21 Oppo广东移动通信有限公司 A kind of electronic equipment and its filter processing method of shooting image, storage medium
CN109147007A (en) * 2018-08-01 2019-01-04 Oppo(重庆)智能科技有限公司 Paster loading method, device, terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180217995A1 (en) * 2015-12-08 2018-08-02 Tencent Technology (Shenzhen) Company Limited Media file processing method and device, and media file sharing method and device in social media application
CN108347559A (en) * 2018-01-05 2018-07-31 深圳市金立通信设备有限公司 A kind of image pickup method, terminal and computer readable storage medium
CN108805095A (en) * 2018-06-19 2018-11-13 Oppo广东移动通信有限公司 image processing method, device, mobile terminal and computer readable storage medium
CN109147007A (en) * 2018-08-01 2019-01-04 Oppo(重庆)智能科技有限公司 Paster loading method, device, terminal and computer readable storage medium
CN109068056A (en) * 2018-08-17 2018-12-21 Oppo广东移动通信有限公司 A kind of electronic equipment and its filter processing method of shooting image, storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024046360A1 (en) * 2022-08-30 2024-03-07 北京字跳网络技术有限公司 Media content processing method and apparatus, device, readable storage medium, and product

Also Published As

Publication number Publication date
CN113473246B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN104796781B (en) Video clip extracting method and device
CN104010220B (en) Content service provides method and apparatus
WO2018209094A1 (en) Method for identifying, ordering, and presenting images according to expressions
WO2022037111A1 (en) Image processing method and apparatus, interactive display apparatus, and electronic device
CN113115099B (en) Video recording method and device, electronic equipment and storage medium
WO2021063096A1 (en) Video synthesis method, apparatus, electronic device, and storage medium
WO2022198934A1 (en) Method and apparatus for generating video synchronized to beat of music
WO2022037307A1 (en) Information recommendation method and apparatus, and electronic device
CN109660873B (en) Video-based interaction method, interaction device and computer-readable storage medium
CN111787395A (en) Video generation method and device, electronic equipment and storage medium
WO2020093798A1 (en) Method and apparatus for displaying target image, terminal, and storage medium
WO2016202024A1 (en) 3d animation presentation method and device
US20220312080A1 (en) Method for video processing, device, server, and storage medium
US20230007189A1 (en) Applying video effects within a video communication session
CN109074679A (en) The Instant Ads based on scene strengthened with augmented reality
CN114025189A (en) Virtual object generation method, device, equipment and storage medium
CN114245154B (en) Method and device for displaying virtual articles in game live broadcast room and electronic equipment
CN110019897B (en) Method and device for displaying picture
CN113473246B (en) Method and device for publishing media file and electronic equipment
CN113157972A (en) Recommendation method and device for video cover documents, electronic equipment and storage medium
CN107666572A (en) Shooting method, shooting device, electronic equipment and storage medium
CN105635573B (en) Camera visual angle regulating method and device
CN110381372A (en) A kind of method and device carrying out video playing based on selection result
CN110662103B (en) Multimedia object reconstruction method and device, electronic equipment and readable storage medium
CN110730382B (en) Video interaction method, device, terminal 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