WO2019100925A1 - Image data output - Google Patents
Image data output Download PDFInfo
- Publication number
- WO2019100925A1 WO2019100925A1 PCT/CN2018/113567 CN2018113567W WO2019100925A1 WO 2019100925 A1 WO2019100925 A1 WO 2019100925A1 CN 2018113567 W CN2018113567 W CN 2018113567W WO 2019100925 A1 WO2019100925 A1 WO 2019100925A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image data
- target
- event
- matching condition
- target image
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9032—Query formulation
- G06F16/90324—Query formulation using system suggestions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0282—Rating or review of business operators or products
Definitions
- the present application relates to the field of Internet application technologies, and in particular, to an image data output method, apparatus, and electronic device.
- the sharing review service As an example, the user can send the sharing review information for the target merchant to the service platform that provides the sharing review service through the client.
- the sharing review information may include image data (eg, photos, videos, etc.) taken by the user when the target merchant consumes.
- image data eg, photos, videos, etc.
- the user needs to manually search for the image data captured when the target merchant performs consumption from the historical data of the album, thereby affecting the usability and efficiency of the client.
- the present application provides an image data output method and apparatus, and an electronic device.
- an image data output method including:
- the target image data is output on a preset area corresponding to the target object on the user interface.
- obtaining, by the pre-stored image data, the target image data that matches the target event including:
- the target image data is acquired from the pre-stored image data based on the event information and the matching condition.
- the acquiring the target image data from the pre-stored image data based on the event information and the matching condition includes:
- the target image data is selected from the candidate image data.
- the event information includes: a target time corresponding to the target event.
- the matching condition includes: a deviation between a creation time of the target image data and the target time is less than a first threshold.
- the event information includes: a target location corresponding to the target event.
- the matching condition includes: a deviation between a creation location of the target image data and the target location is less than a second threshold.
- selecting the target image data from the candidate image data includes:
- Image data of some or all of the face features is not selected from the candidate image data as the target image data.
- selecting the target image data from the candidate image data includes:
- Image data of which part or all of the image quality satisfying the preset index is selected from the candidate image data as the target image data.
- the method further includes:
- Part or all of the target image data is uploaded in response to a preset operation by the user.
- an image data output apparatus including:
- a determination module for determining a target event for the target object
- An acquiring module configured to acquire target image data that matches the target event from pre-stored image data
- an output module configured to output the target image data in a preset area corresponding to the target object on the user interface.
- a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the image of any of the above first aspects Data output method.
- an electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the first The image data output method according to any one of the aspects.
- An image data output method and apparatus acquires target image data matching target events from pre-stored image data by determining a target event for a target object, and presets corresponding to the target object on the user interface The area outputs target image data.
- the target image data matching the target event is automatically recommended to the user, and the user does not need to manually search the target image data from the pre-stored image data, thereby improving the usability and use efficiency of the client.
- FIG. 1 is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied;
- FIG. 2 is a flowchart of an image data output method according to an exemplary embodiment of the present application
- FIG. 3 is a flowchart of another image data output method according to an exemplary embodiment of the present application.
- FIG. 4 is a flowchart of another image data output method according to an exemplary embodiment of the present application.
- FIG. 5 is a block diagram of an image data output apparatus according to an exemplary embodiment of the present application.
- FIG. 6 is a block diagram of another image data output apparatus according to an exemplary embodiment of the present application.
- FIG. 7 is a block diagram of another image data output apparatus according to an exemplary embodiment of the present application.
- FIG. 8 is a block diagram of another image data output apparatus according to an exemplary embodiment of the present application.
- FIG. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
- first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as the second information without departing from the scope of the present application.
- second information may also be referred to as the first information.
- word "if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
- FIG. 1 it is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied:
- system architecture 100 can include terminal devices 101, 102, network 103, and server 104. It should be understood that the number or type of terminal devices 101, 102, network 103, and server 104 in Figure 1 are merely illustrative. Any number or type of terminal devices 101, 102, network 103, and server 104 may be provided as needed for implementation.
- the network 103 is used to provide a communication link between the terminal devices 101, 102 and the server 104.
- Network 103 may include various types of connections, such as wired or wireless communication links, and the like.
- the terminal devices 101, 102 can interact with the server 104 via the network 103 to receive or transmit requests or information and the like.
- the terminal devices 101, 102 can be various electronic devices including, but not limited to, smartphones, tablets, smart wearable devices, personal digital assistants, and the like.
- Server 104 can provide a share review service.
- the server 104 may perform processing such as storing, analyzing, and the like on the received data, and may also transmit a control command or request to the terminal device or other server.
- Server 104 can provide services in response to a user's service request. It will be appreciated that one server 104 may provide one or more services, and the same service may also be provided by multiple servers 104.
- FIG. 2 is a flowchart of an image data output method according to an exemplary embodiment.
- the method may be applied to a client, where the client may be a share review installed on the terminal device.
- Third party application for the service can include, but is not limited to, a mobile terminal device such as a smart phone, a smart wearable device, a tablet computer, a personal digital assistant, and the like.
- the method includes the following steps:
- step 201 a target event for the target object is determined.
- the target object may be a target merchant
- the target event for the target object may be an event that the user performs on-site consumption at the target merchant, and the incident of the live consumption is a consumption event capable of displaying an image to other users.
- the target event may be a consumer event in which the user eats at the restaurant, and the user may present images of the dishes and the dining environment to other users.
- the target event may also be a consumption event to KTV singing, and the user may display images of devices and environments between the KTV packages to other users.
- the target event may also be a consumption event to the playground, and the user may display the activity of the playground and the image of the play scene to other users.
- the server corresponding to the client may determine that the user has consumed the target merchant, and Record the incident of consumption. If the user does not use the client to make a payment after the target merchant consumes, and does not perform the consumer check-in through the client, the user frequently enters the browsing page of the target merchant through the client, or interacts through the client (such as the target business has been reviewed, or upload business information, etc.). The server can also determine that the user has consumed the target merchant and recorded the event of the purchase.
- the server may determine, according to the type of the target merchant (eg, catering, entertainment, ticketing, etc.) and any other reasonable information, whether the consumption of the user in the target merchant belongs to the consumption of displaying images to other users.
- the event if so, can determine the consumer event as a target event for the target merchant.
- the server may generate the to-be-review list information of the user according to the consumption situation of the user, and return the information to the client.
- the client can prompt the user to be reviewed according to the information to be reviewed on the user interface, and the user can comment on the target merchant through the client or share information with other users.
- the information to be reviewed may include information about a target event of the target merchant.
- the client may obtain information about the target event of the target merchant from the to-be-reviewed list information to determine a target event for the target merchant.
- server execution step 201 is taken as an example to describe how to determine the target event, those skilled in the art should understand that the target event can also be directly determined by the client itself.
- step 202 target image data matching the target event is acquired from the pre-stored image data.
- the image data may be a picture, a video, or a dynamic image.
- the specific form of the image data is not limited in this application.
- the pre-stored image data may be a picture or video or the like stored in a photo album of the terminal device.
- the terminal device may be used to capture the consumed scene (eg, taking a picture or taking a video, etc.), and the terminal device may take the captured image data and related information at the time of shooting ( For example, shooting time, or shooting location, etc., for associative storage.
- the client may acquire the captured image data from the pre-stored image data (ie, with the target event) Matching image data) as target image data.
- step 203 target image data is outputted in a preset area corresponding to the target object on the user interface.
- the preset area corresponding to the target object may be an information display area corresponding to the target merchant on the user interface of the client, and the preset area may be any form of display area.
- the preset area may be a guiding area corresponding to the target merchant, or may be a pop-up window after triggering the trigger area corresponding to the target merchant, or may be a floating bubble corresponding to the target merchant, or may be a triggering area corresponding to the target merchant. After entering the review page area. It can be understood that the preset area may also have other forms, and the specific form of the preset area is not limited in the present application.
- the user can comment on the target merchant through the user interface of the client, or share information with other users. Therefore, the target image data can be outputted in the preset area corresponding to the target merchant on the user interface of the client, and the target image data is pushed to the user for selection, thereby prompting the user to upload the matched image data.
- an application scenario may be that when the user eats at the restaurant A, a plurality of photos are taken, including photos of the dishes and photos of the restaurant environment. After the meal is finished, the user makes a payment using the client.
- the server can add the meal consumption to the list to be reviewed and return it to the client.
- the client can display the comment guiding area corresponding to the restaurant A, and the client can take out the photo taken by the user in the restaurant A from the album, and display the corresponding comment in the restaurant A.
- Boot area when the user clicks on the review guide area corresponding to the restaurant A, a pop-up window is displayed in which the above-mentioned photograph taken by the user at the restaurant A is displayed. Users can select photos to upload and upload them.
- the image data output method provided by the above embodiment of the present application acquires target image data matching target events from pre-stored image data by determining target events for the target object, and preset regions corresponding to the target objects on the user interface. Output target image data. Thereby, the target image data matching the target event is automatically recommended to the user, and the user does not need to manually search the target image data from the pre-stored image data, thereby improving the usability and use efficiency of the client.
- FIG. 3 is a flowchart of another image data output method according to an exemplary embodiment.
- This embodiment describes a process of acquiring target image data matching target events from pre-stored image data, the method being applicable to the client, comprising the following steps:
- step 301 a target event for the target object is determined.
- step 302 event information of the target event and a preset matching condition are acquired.
- the event information of the target event may be related information consumed by the user at the target merchant, and may include a target time corresponding to the target event (ie, the time the user consumes at the target merchant), and may further include the target event.
- the corresponding target location ie the location of the target merchant. It can be understood that the event information may also be any other reasonable information.
- the specific content of the event information is not limited in this application.
- the server corresponding to the client can record the user's consumption behavior information.
- the consumer behavior information may include time information of consumption and location information of the consumption (ie, location information of the target merchant).
- the event information of the target event may include the consumption behavior information. Therefore, the event information of the target event is recorded in the server, and the client can obtain event information of the target event from the server.
- the event information may include a target time corresponding to the target event.
- the matching condition may be image data in which the deviation of the creation time of the target image data from the target time is less than the first threshold.
- the event information may include a target location corresponding to the target event.
- the matching condition may be that the deviation of the creation location of the target image data from the target location is less than a second threshold.
- the matching condition may be stored by the server, or the matching condition may be stored by the client. Therefore, the client may obtain the matching condition from the server, or obtain the matching condition from the locally stored data. . It can be understood that the present application does not limit the specific acquisition manner of the matching condition.
- step 303 target image data is acquired from the pre-stored image data based on the event information and the matching condition.
- the target image data may be acquired from the pre-stored image data based on the event information and the matching condition.
- all the image data satisfying the matching condition may be directly selected from the pre-stored image data as the target image data based on the event information.
- image data that satisfies the matching condition in the pre-stored image data may be determined as candidate image data based on the event information, and then filtered from the candidate image data to obtain target image data.
- the screening condition may be a specific feature recognized by the image, such as a dish, an indoor scene, or may not include a specific feature, such as a face. This application does not limit this.
- target image data can also be obtained by any other reasonable manner, which is not limited in this application.
- step 304 target image data is outputted in a preset area corresponding to the target object on the user interface.
- the image data output method provided by the above embodiment of the present application obtains event information of a target event and a preset matching condition by determining a target event for the target object, and acquires the pre-stored image data based on the event information and the matching condition.
- FIG. 4 is a flowchart of another image data recommendation method according to an exemplary embodiment.
- the embodiment describes in detail a process of acquiring target image data, which may be applied to a client, including The following steps:
- step 401 a target event for the target object is determined.
- step 402 event information of the target event and a preset matching condition are acquired.
- step 403 candidate image data satisfying the matching condition among the pre-stored image data is determined based on the event information.
- the event information may include a target time corresponding to the target event.
- the candidate image data that satisfies the matching condition may be image data in which the deviation between the corresponding creation time and the target time is less than the first threshold. It is possible to traverse each piece of image data in the local album, acquire the creation time of each piece of image data, and determine candidate image data that satisfies the matching condition based on the creation time of each piece of image data.
- the event information may include a target location corresponding to the target event.
- the candidate image data that satisfies the matching condition may be that the deviation between the corresponding creation location and the target location is less than a second threshold.
- Each image data in the local album may be traversed, the creation location of each image data may be acquired, and candidate image data satisfying the matching condition may be determined according to the creation location of each image data.
- the event information may include a target time and a target location corresponding to the target event.
- the candidate image data that satisfies the matching condition in this way is that the deviation between the corresponding creation time and the target time is less than the first threshold, and the deviation between the corresponding creation location and the target location is less than the second threshold.
- the candidate image data is determined based on the two matching conditions.
- step 404 target image data is selected from the candidate image data.
- partial image data may be selected from the candidate image data as the target image data.
- some or all of the image data that does not include the face feature may be selected from the candidate image data as the target image data.
- the image of each frame of each piece of image data may be subjected to recognition analysis to determine whether or not the face feature is included, the image data including the face feature is discarded, and the target image data is selected only from the image data not including the face feature.
- image data of a part or all of the image quality satisfying the preset index may also be selected from the candidate image data as the target image data.
- the evaluation criteria of the image quality may include, but are not limited to, the sharpness of the image, the brightness of the image, the saturation of the image, and the like.
- Image analysis can be performed on each frame of each image data to obtain an index of the corresponding image quality, such as obtaining the sharpness value of the image, or obtaining the brightness value of the image, or obtaining the saturation value of the image.
- the image quality of the corresponding image satisfies the preset index, and the image data that does not satisfy the preset index is discarded, and only the target image data is selected from the image data that satisfies the preset index.
- image data in which some or all of the candidate image data does not include the face feature and the image quality satisfies the preset index may also be selected as the target image data. It can be understood that the target image data can be selected from the candidate image data by any other manner. The specific manner of selecting the target image data is not limited in this application.
- step 405 target image data is outputted in a preset area corresponding to the target object on the user interface.
- the image data output method determines the event information of the target event and the preset matching condition by determining the target event for the target object, and determines, according to the event information, the preparation that satisfies the matching condition in the pre-stored image data.
- the image data is selected, the target image data is selected from the candidate image data, and the target image data is outputted in a preset area corresponding to the target object on the user interface. Since the embodiment obtains candidate image data from the pre-stored image data based on the event information of the target event and the preset matching condition, and selects the target image data to be pushed from the candidate image data in different manners, so that the image data is made.
- the push accuracy is further improved, and the client's ease of use and use efficiency are further improved.
- the above method may further include: uploading part or all of the target image data in response to a preset operation of the user.
- the user's preset operation can be an operation for the user to upload image data through the user interface.
- the user can upload all the recommended image data directly, or select part of the image data to upload from the recommended image data.
- the preset operation of the user may be any reasonable operation.
- the preset operation of the user may be an operation of clicking a preset area on the user interface, a sliding operation on the user interface, or clicking a physical button. Operation and the like, it can be understood that the present application does not limit the specific form of the user's preset operation.
- the present application also provides an embodiment of an image data output device.
- FIG. 5 is a block diagram of an image data output device according to an exemplary embodiment of the present application.
- the device may include: a determining module 501, an obtaining module 502, and an output module 503.
- the determining module 501 is configured to determine a target event for the target object.
- the obtaining module 502 is configured to acquire target image data that matches the target event from the pre-stored image data.
- the output module 503 is configured to output target image data in a preset area corresponding to the target object on the user interface.
- FIG. 6 is a block diagram of another image data output device according to an exemplary embodiment of the present application.
- the obtaining module 502 may include: An acquisition submodule 601 and a second acquisition submodule 602.
- the first obtaining sub-module 601 is configured to acquire event information of the target event and a preset matching condition.
- the second obtaining sub-module 602 is configured to acquire target image data from the pre-stored image data based on the event information and the matching condition.
- FIG. 7 is a block diagram of another image data output device according to an exemplary embodiment of the present application.
- the second obtaining submodule 602 may be The method includes: determining a sub-module 701 and selecting a sub-module 702.
- the determining sub-module 701 is configured to determine candidate image data that satisfies the matching condition among the pre-stored image data based on the event information.
- the sub-module 702 is selected for selecting target image data from the candidate image data.
- the event information includes: a target time corresponding to the target event.
- the matching condition includes: a deviation between a creation time of the target image data and the target time is less than a first threshold.
- the event information includes: a target location corresponding to the target event.
- the matching condition includes: a deviation between a creation location of the target image data and the target location is less than a second threshold.
- the selection sub-module 702 is configured to: select some or all of the image data that does not include the facial features from the candidate image data as the target image data.
- the selection sub-module 702 is configured to: select, from the candidate image data, image data of a part or all of the image quality that satisfies the preset index as the target image data.
- FIG. 8 is a block diagram of another image data output device according to an exemplary embodiment of the present application.
- the device may further include: Upload module 504.
- the uploading module 504 is configured to upload part or all of the target image data in response to a preset operation of the user.
- the above device may be preset in the terminal device, or may be loaded into the terminal device by downloading or the like.
- the corresponding module in the above device can cooperate with the module in the terminal device to implement an image data pushing scheme.
- the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.
- the embodiment of the present application further provides a computer readable storage medium, where the storage medium stores a computer program, and the computer program can be used to execute the image data output method provided by any of the foregoing embodiments of FIG. 2 to FIG.
- the embodiment of the present application further provides a schematic structural diagram of the electronic device according to an exemplary embodiment of the present application shown in FIG. 9 .
- the electronic device includes a processor 910, an internal bus 930, a network interface 940, a memory 920, and a non-volatile memory 921, and of course may also include hardware required for other services.
- the processor 910 reads the corresponding computer program from the non-volatile memory 921 into the memory 920 and then operates to form the image data output device 950 on a logical level.
- the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- Game Theory and Decision Science (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
相关申请的交叉引用Cross-reference to related applications
本专利申请要求于2017年11月23日提交的、申请号为2017111825406、发明名称为“图像数据推荐方法、装置及电子设备”的中国专利申请的优先权,该申请的全文以引用的方式并入本文中。The present application claims the priority of the Chinese patent application filed on November 23, 2017, the application number of which is the same as Into this article.
本申请涉及互联网应用技术领域,特别涉及一种图像数据输出方法、装置及电子设备。The present application relates to the field of Internet application technologies, and in particular, to an image data output method, apparatus, and electronic device.
随着互联网技术的不断发展,很多基于互联网的服务平台应运而生。以共享点评服务为例,用户可以通过客户端向提供共享点评服务的服务平台发送针对目标商家的共享点评信息。其中,共享点评信息可以包括用户在目标商家进行消费时拍摄的图像数据(如,照片,或视频等)。但是,一般来说,用户在上传图像数据时,需要手动从相册的历史数据中查找在目标商家进行消费时拍摄的图像数据,从而影响了客户端的易用性和使用效率。With the continuous development of Internet technology, many Internet-based service platforms have emerged. Taking the sharing review service as an example, the user can send the sharing review information for the target merchant to the service platform that provides the sharing review service through the client. The sharing review information may include image data (eg, photos, videos, etc.) taken by the user when the target merchant consumes. However, in general, when uploading image data, the user needs to manually search for the image data captured when the target merchant performs consumption from the historical data of the album, thereby affecting the usability and efficiency of the client.
发明内容Summary of the invention
为了解决上述技术问题之一,本申请提供一种图像数据输出方法及装置、电子设备。In order to solve one of the above technical problems, the present application provides an image data output method and apparatus, and an electronic device.
根据本申请实施例的第一方面,提供一种图像数据输出方法,包括:According to a first aspect of the embodiments of the present application, an image data output method is provided, including:
确定针对目标对象的目标事件;Identify target events for the target object;
从预存的图像数据中获取与所述目标事件匹配的目标图像数据;Obtaining target image data that matches the target event from pre-stored image data;
在用户界面上所述目标对象对应的预设区域输出所述目标图像数据。The target image data is output on a preset area corresponding to the target object on the user interface.
可选的,从所述预存的图像数据中获取与所述目标事件匹配的所述目标图像数据,包括:Optionally, obtaining, by the pre-stored image data, the target image data that matches the target event, including:
获取所述目标事件的事件信息及预设的匹配条件;Obtaining event information of the target event and a preset matching condition;
基于所述事件信息及所述匹配条件从所述预存的图像数据中获取所述目标图像数据。The target image data is acquired from the pre-stored image data based on the event information and the matching condition.
可选的,基于所述事件信息及所述匹配条件从所述预存的图像数据中获取所述目标图像数据,包括:Optionally, the acquiring the target image data from the pre-stored image data based on the event information and the matching condition includes:
基于所述事件信息确定所述预存的图像数据中满足所述匹配条件的备选图像数据;Determining candidate image data of the pre-stored image data that satisfies the matching condition based on the event information;
从所述备选图像数据中选取所述目标图像数据。The target image data is selected from the candidate image data.
可选的,所述事件信息包括:所述目标事件对应的目标时间。Optionally, the event information includes: a target time corresponding to the target event.
可选的,所述匹配条件包括:所述目标图像数据的创建时间与所述目标时间的偏差小于第一阈值。Optionally, the matching condition includes: a deviation between a creation time of the target image data and the target time is less than a first threshold.
可选的,所述事件信息包括:所述目标事件对应的目标位置。Optionally, the event information includes: a target location corresponding to the target event.
可选的,所述匹配条件包括:所述目标图像数据的创建地点与所述目标位置的偏差小于第二阈值。Optionally, the matching condition includes: a deviation between a creation location of the target image data and the target location is less than a second threshold.
可选的,从所述备选图像数据中选取所述目标图像数据,包括:Optionally, selecting the target image data from the candidate image data includes:
从所述备选图像数据中选取部分或全部不包含人脸特征的图像数据作为所述目标图像数据。Image data of some or all of the face features is not selected from the candidate image data as the target image data.
可选的,从所述备选图像数据中选取所述目标图像数据,包括:Optionally, selecting the target image data from the candidate image data includes:
从所述备选图像数据中选取部分或全部图像质量满足预设指标的图像数据作为所述目标图像数据。Image data of which part or all of the image quality satisfying the preset index is selected from the candidate image data as the target image data.
可选的,所述方法还包括:Optionally, the method further includes:
响应于用户的预设操作,上传部分或全部所述目标图像数据。Part or all of the target image data is uploaded in response to a preset operation by the user.
根据本申请实施例的第二方面,提供一种图像数据输出装置,包括:According to a second aspect of the embodiments of the present application, an image data output apparatus is provided, including:
确定模块,用于确定针对目标对象的目标事件;a determination module for determining a target event for the target object;
获取模块,用于从预存的图像数据中获取与所述目标事件匹配的目标图像数据;An acquiring module, configured to acquire target image data that matches the target event from pre-stored image data;
输出模块,用于在用户界面上所述目标对象对应的预设区域输出所述目标图像数据。And an output module, configured to output the target image data in a preset area corresponding to the target object on the user interface.
根据本申请实施例的第三方面,提供一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面中任一项所述的图像数据输出方法。According to a third aspect of the embodiments of the present application, there is provided a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the image of any of the above first aspects Data output method.
根据本申请实施例的第四方面,提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述第一方面中任一项所述的图像数据输出方法。According to a fourth aspect of the embodiments of the present application, there is provided an electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the first The image data output method according to any one of the aspects.
本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
本申请的实施例提供的图像数据输出方法和装置,通过确定针对目标对象的目标事件,从预存的图像数据中获取与目标事件匹配的目标图像数据,并在用户界面上目标对象对应的预设区域输出目标图像数据。从而向用户自动推荐与上述目标事件匹配的目标图像数据,无需用户手动从预存的图像数据中查找该目标图像数据,提高了客户端的易用性和使用效率。An image data output method and apparatus provided by an embodiment of the present application acquires target image data matching target events from pre-stored image data by determining a target event for a target object, and presets corresponding to the target object on the user interface The area outputs target image data. Thereby, the target image data matching the target event is automatically recommended to the user, and the user does not need to manually search the target image data from the pre-stored image data, thereby improving the usability and use efficiency of the client.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。The above general description and the following detailed description are intended to be illustrative and not restrictive.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The drawings herein are incorporated in and constitute a part of the specification,
图1为应用本申请实施例的示例性系统架构示意图;1 is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied;
图2是本申请根据一示例性实施例示出的一种图像数据输出方法的流程图;FIG. 2 is a flowchart of an image data output method according to an exemplary embodiment of the present application;
图3是本申请根据一示例性实施例示出的另一种图像数据输出方法的流程图;FIG. 3 is a flowchart of another image data output method according to an exemplary embodiment of the present application;
图4是本申请根据一示例性实施例示出的另一种图像数据输出方法的流程图;FIG. 4 is a flowchart of another image data output method according to an exemplary embodiment of the present application; FIG.
图5是本申请根据一示例性实施例示出的一种图像数据输出装置的框图;FIG. 5 is a block diagram of an image data output apparatus according to an exemplary embodiment of the present application; FIG.
图6是本申请根据一示例性实施例示出的另一种图像数据输出装置的框图;FIG. 6 is a block diagram of another image data output apparatus according to an exemplary embodiment of the present application; FIG.
图7是本申请根据一示例性实施例示出的另一种图像数据输出装置的框图;FIG. 7 is a block diagram of another image data output apparatus according to an exemplary embodiment of the present application; FIG.
图8是本申请根据一示例性实施例示出的另一种图像数据输出装置的框图;FIG. 8 is a block diagram of another image data output apparatus according to an exemplary embodiment of the present application; FIG.
图9是本申请根据一示例性实施例示出的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with aspects of the present application as detailed in the appended claims.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present application is for the purpose of describing particular embodiments, and is not intended to be limiting. The singular forms "a", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information without departing from the scope of the present application. Similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to a determination."
参见图1,为应用本申请实施例的示例性系统架构示意图:Referring to FIG. 1 , it is a schematic diagram of an exemplary system architecture to which an embodiment of the present application is applied:
如图1所示,系统架构100可以包括终端设备101、102、网络103和服务器104。应该理解,图1中的终端设备101、102、网络103和服务器104的数目或类型仅仅是示意性的。根据实现需要,可以具有任意数目或类型的终端设备101、102、网络103和服务器104。As shown in FIG. 1,
网络103用于在终端设备101、102以及服务器104之间提供通信链路。网络103可以包括各种连接类型,例如有线或者无线通信链路等。The
终端设备101、102可以通过网络103与服务器104进行交互,以接收或发送请求或信息等。终端设备101、102可以是各种电子设备,包括但不限于智能手机、平板电脑、智能穿戴设备以及个人数字助理等等。The
服务器104可以提供共享点评服务。服务器104可以对接收到的数据进行存储、分 析等处理,也可以向终端设备或其它服务器发送控制命令或者请求等。服务器104可以响应于用户的服务请求而提供服务。可以理解,一个服务器104可以提供一种或多种服务,同一种服务也可以由多个服务器104来提供。
下面将结合具体的实施例对本申请进行详细描述。The present application will be described in detail below in conjunction with specific embodiments.
如图2所示,图2是根据一示例性实施例示出的一种图像数据输出方法的流程图,该方法可以应用于客户端中,该客户端可以为安装于终端设备上的含有共享点评服务的第三方应用程序。本领域技术人员可以理解,该终端设备可以包括但不限于诸如智能手机的移动终端设备、智能穿戴式设备、平板电脑、个人数字助理等等。该方法包括以下步骤:As shown in FIG. 2, FIG. 2 is a flowchart of an image data output method according to an exemplary embodiment. The method may be applied to a client, where the client may be a share review installed on the terminal device. Third party application for the service. Those skilled in the art can understand that the terminal device can include, but is not limited to, a mobile terminal device such as a smart phone, a smart wearable device, a tablet computer, a personal digital assistant, and the like. The method includes the following steps:
在步骤201中,确定针对目标对象的目标事件。In
在本实施例中,目标对象可以为目标商家,针对目标对象的目标事件可以为用户在目标商家进行现场消费的事件,该现场消费的事件为能够向其他用户展示图像的消费事件。例如,目标事件可以是用户在餐厅吃饭的消费事件,用户可以向其他用户展示菜品和用餐环境的图像。又例如,目标事件还可以是到KTV唱歌的消费事件,用户可以向其他用户展示KTV包间的设备以及环境的图像。再例如,目标事件还可以是到游乐场游玩的消费事件,用户可以向其他用户展示游乐场的活动和游玩场景的图像。In this embodiment, the target object may be a target merchant, and the target event for the target object may be an event that the user performs on-site consumption at the target merchant, and the incident of the live consumption is a consumption event capable of displaying an image to other users. For example, the target event may be a consumer event in which the user eats at the restaurant, and the user may present images of the dishes and the dining environment to other users. For another example, the target event may also be a consumption event to KTV singing, and the user may display images of devices and environments between the KTV packages to other users. For another example, the target event may also be a consumption event to the playground, and the user may display the activity of the playground and the image of the play scene to other users.
一般来说,用户在目标商家进行消费后,如果使用上述客户端进行支付,或者通过该客户端进行消费签到,则与所述客户端对应的服务器可以确定该用户在目标商家进行了消费,并将该消费的事件记录下来。如果用户在目标商家进行消费后,未使用该客户端进行支付,也未通过该客户端进行消费签到,但该用户频繁通过该客户端进入目标商家的浏览页面,或者通过该客户端进行互动(如对目标商家进行了点评,或者上传商家信息等)。服务器也可以确定该用户在目标商家进行了消费,并将该消费的事件记录下来。Generally, after the user consumes the target merchant, if the client uses the above-mentioned client to make a payment, or the consumer signs in through the client, the server corresponding to the client may determine that the user has consumed the target merchant, and Record the incident of consumption. If the user does not use the client to make a payment after the target merchant consumes, and does not perform the consumer check-in through the client, the user frequently enters the browsing page of the target merchant through the client, or interacts through the client ( Such as the target business has been reviewed, or upload business information, etc.). The server can also determine that the user has consumed the target merchant and recorded the event of the purchase.
在本实施例中,服务器可以根据目标商家的类型(如,餐饮类,娱乐类,票务类等)以及其它任意合理的信息判断用户在目标商家进行的消费是否属于能够向其他用户展示图像的消费事件,如果是,则可以将该消费事件确定为针对目标商家的目标事件。并且,服务器可以根据用户的消费情况,生成该用户的待点评列表信息,并返回给客户端。客户端可以在用户界面上按照待点评列表信息提示用户待点评的目标商家,用户可以通过客户端对目标商家进行点评或者与其他用户分享信息。其中,待点评列表信息中可以 包含针对该目标商家的目标事件的信息。该客户端可以从待点评列表信息中获取针对目标商家的目标事件的信息,以确定针对目标商家的目标事件。In this embodiment, the server may determine, according to the type of the target merchant (eg, catering, entertainment, ticketing, etc.) and any other reasonable information, whether the consumption of the user in the target merchant belongs to the consumption of displaying images to other users. The event, if so, can determine the consumer event as a target event for the target merchant. Moreover, the server may generate the to-be-review list information of the user according to the consumption situation of the user, and return the information to the client. The client can prompt the user to be reviewed according to the information to be reviewed on the user interface, and the user can comment on the target merchant through the client or share information with other users. The information to be reviewed may include information about a target event of the target merchant. The client may obtain information about the target event of the target merchant from the to-be-reviewed list information to determine a target event for the target merchant.
需要说明的是,尽管以上以服务器执行步骤201为例对如何确定目标事件进行了介绍,但本领域技术人员应能理解,也可以由客户端自身直接确定目标事件。It should be noted that although the
在步骤202中,从预存的图像数据中获取与上述目标事件匹配的目标图像数据。In
在本实施例中,图像数据可以是图片,也可以是视频,还可以是动态图像等,本申请对图像数据的具体形式方面不作限定。预存的图像数据可以是存储在终端设备相册中的图片或视频等。In this embodiment, the image data may be a picture, a video, or a dynamic image. The specific form of the image data is not limited in this application. The pre-stored image data may be a picture or video or the like stored in a photo album of the terminal device.
一般来说,当用户在目标商家进行消费时,可能使用终端设备对消费的场景进行拍摄(如,拍照或拍视频等),并且,终端设备可以将拍摄的图像数据以及拍摄时的相关信息(如,拍摄时间,或拍摄地点等)进行关联存储。在本实施例中,当确定该目标商家(即目标对象)的上述消费事件(即目标事件)后,所述客户端可以从预存的图像数据中获取上述拍摄的图像数据(即与上述目标事件匹配的图像数据)作为目标图像数据。Generally, when the user consumes at the target merchant, the terminal device may be used to capture the consumed scene (eg, taking a picture or taking a video, etc.), and the terminal device may take the captured image data and related information at the time of shooting ( For example, shooting time, or shooting location, etc., for associative storage. In this embodiment, after determining the above-mentioned consumption event (ie, target event) of the target merchant (ie, the target object), the client may acquire the captured image data from the pre-stored image data (ie, with the target event) Matching image data) as target image data.
在步骤203中,在用户界面上目标对象对应的预设区域输出目标图像数据。In
在本实施例中,目标对象对应的预设区域可以是客户端的用户界面上目标商家对应的信息显示区域,该预设区域可以是任意形式的显示区域。例如,该预设区域可以是目标商家对应的引导区域,也可以是触发目标商家对应的触发区域后弹出的窗口,还可以是目标商家对应的悬浮气泡,还可以是触发目标商家对应的触发区域后进入的点评页面区域。可以理解,该预设区域还可以具有其它的形式,本申请对该预设区域的具体形式方面不作限定。In this embodiment, the preset area corresponding to the target object may be an information display area corresponding to the target merchant on the user interface of the client, and the preset area may be any form of display area. For example, the preset area may be a guiding area corresponding to the target merchant, or may be a pop-up window after triggering the trigger area corresponding to the target merchant, or may be a floating bubble corresponding to the target merchant, or may be a triggering area corresponding to the target merchant. After entering the review page area. It can be understood that the preset area may also have other forms, and the specific form of the preset area is not limited in the present application.
在本实施例中,用户可以通过客户端的用户界面对目标商家进行点评,或者与其他用户分享信息。因此,可以在客户端的用户界面上目标商家对应的预设区域输出目标图像数据,将目标图像数据推送给用户进行选择,从而促使用户上传匹配的图像数据。In this embodiment, the user can comment on the target merchant through the user interface of the client, or share information with other users. Therefore, the target image data can be outputted in the preset area corresponding to the target merchant on the user interface of the client, and the target image data is pushed to the user for selection, thereby prompting the user to upload the matched image data.
对于本实施例,一种应用场景可以为,用户在餐厅A就餐时,拍摄了多张照片,包括菜品的照片以及餐厅环境的照片等。就餐完毕后,用户使用客户端进行了支付。服务器可以将该次就餐消费添加到待点评列表中,并返回给客户端。当用户点击进入该客户端的待点评列表时,该客户端可以显示餐厅A对应的点评引导区,该客户端可以从相册中取出用户在餐厅A拍摄的上述照片,并显示在餐厅A对应的点评引导区。或者,在用户点击餐厅A对应的点评引导区时,弹出窗口,在该窗口中显示用户在餐厅A拍摄 的上述照片。用户可以从中选取需要上传的照片并上传。For the embodiment, an application scenario may be that when the user eats at the restaurant A, a plurality of photos are taken, including photos of the dishes and photos of the restaurant environment. After the meal is finished, the user makes a payment using the client. The server can add the meal consumption to the list to be reviewed and return it to the client. When the user clicks into the waiting list of the client, the client can display the comment guiding area corresponding to the restaurant A, and the client can take out the photo taken by the user in the restaurant A from the album, and display the corresponding comment in the restaurant A. Boot area. Alternatively, when the user clicks on the review guide area corresponding to the restaurant A, a pop-up window is displayed in which the above-mentioned photograph taken by the user at the restaurant A is displayed. Users can select photos to upload and upload them.
本实施例并不限于上述的应用场景,还可以应用到其他场景中。本申请的上述实施例提供的图像数据输出方法,通过确定针对目标对象的目标事件,从预存的图像数据中获取与目标事件匹配的目标图像数据,并在用户界面上目标对象对应的预设区域输出目标图像数据。从而向用户自动推荐与上述目标事件匹配的目标图像数据,无需用户手动从预存的图像数据中查找该目标图像数据,提高了客户端的易用性和使用效率。This embodiment is not limited to the application scenario described above, and may be applied to other scenarios. The image data output method provided by the above embodiment of the present application acquires target image data matching target events from pre-stored image data by determining target events for the target object, and preset regions corresponding to the target objects on the user interface. Output target image data. Thereby, the target image data matching the target event is automatically recommended to the user, and the user does not need to manually search the target image data from the pre-stored image data, thereby improving the usability and use efficiency of the client.
如图3所示,图3为根据一示例性实施例示出的另一种图像数据输出方法的流程图。该实施例描述了从预存的图像数据中获取与目标事件匹配的目标图像数据的过程,该方法可以应用于客户端中,包括以下步骤:As shown in FIG. 3, FIG. 3 is a flowchart of another image data output method according to an exemplary embodiment. This embodiment describes a process of acquiring target image data matching target events from pre-stored image data, the method being applicable to the client, comprising the following steps:
在步骤301中,确定针对目标对象的目标事件。In
在步骤302中,获取目标事件的事件信息及预设的匹配条件。In
在本实施例中,目标事件的事件信息可以为用户在目标商家消费的相关信息,可以包括该目标事件对应的目标时间(即该用户在目标商家消费的时间),还可以进一步包括该目标事件对应的目标位置(即该目标商家的位置)。可以理解,该事件信息还可以为其它任意合理的信息,本申请对该事件信息的具体内容方面不作限定。In this embodiment, the event information of the target event may be related information consumed by the user at the target merchant, and may include a target time corresponding to the target event (ie, the time the user consumes at the target merchant), and may further include the target event. The corresponding target location (ie the location of the target merchant). It can be understood that the event information may also be any other reasonable information. The specific content of the event information is not limited in this application.
一般来说,用户进行消费后,如果使用客户端进行支付,或者通过该客户端进行消费签到,则与客户端对应的服务器可以将用户的消费行为信息记录下来。该消费行为信息可以包括消费的时间信息以及消费的位置信息(即目标商家的位置信息)。目标事件的事件信息可以包括该消费行为信息。因此,服务器中记录有目标事件的事件信息,客户端可以从服务器获取目标事件的事件信息。Generally, after the user consumes, if the client uses the payment, or the consumer signs in through the client, the server corresponding to the client can record the user's consumption behavior information. The consumer behavior information may include time information of consumption and location information of the consumption (ie, location information of the target merchant). The event information of the target event may include the consumption behavior information. Therefore, the event information of the target event is recorded in the server, and the client can obtain event information of the target event from the server.
在本实施例的一种实现方式中,事件信息可以包括该目标事件对应的目标时间。匹配条件可以为目标图像数据的创建时间与目标时间的偏差小于第一阈值的图像数据。在本实施例的另一种实现方式中,事件信息可以包括该目标事件对应的目标位置。匹配条件可以为目标图像数据的创建地点与目标位置的偏差小于第二阈值。In an implementation manner of this embodiment, the event information may include a target time corresponding to the target event. The matching condition may be image data in which the deviation of the creation time of the target image data from the target time is less than the first threshold. In another implementation manner of this embodiment, the event information may include a target location corresponding to the target event. The matching condition may be that the deviation of the creation location of the target image data from the target location is less than a second threshold.
在本实施例中,可以由服务器将匹配条件进行存储,也可以由客户端将匹配条件进行存储,因此,客户端可以从服务器获取上述匹配条件,也可以从本地存储的数据中获取上述匹配条件。可以理解,本申请对匹配条件的具体获取方式方面不作限定。In this embodiment, the matching condition may be stored by the server, or the matching condition may be stored by the client. Therefore, the client may obtain the matching condition from the server, or obtain the matching condition from the locally stored data. . It can be understood that the present application does not limit the specific acquisition manner of the matching condition.
在步骤303中,基于该事件信息及该匹配条件从预存的图像数据中获取目标图像数据。In
在本实施例中,可以基于该事件信息及该匹配条件从预存的图像数据中获取目标图像数据。在一种实现方式中,可以基于该事件信息从预存的图像数据中选取所有满足该匹配条件的图像数据直接作为目标图像数据。In this embodiment, the target image data may be acquired from the pre-stored image data based on the event information and the matching condition. In an implementation manner, all the image data satisfying the matching condition may be directly selected from the pre-stored image data as the target image data based on the event information.
在另一种实现方式中,还可以基于该事件信息确定预存的图像数据中满足该匹配条件的图像数据作为备选图像数据,再从该备选图像数据中进行筛选,得到目标图像数据。所述筛选条件,可以是图像识别出的某种特定特征,比如菜肴、室内场景,也可以是不包括某种特定特征,比如不能包括人脸。本申请对此不作限定。In another implementation manner, image data that satisfies the matching condition in the pre-stored image data may be determined as candidate image data based on the event information, and then filtered from the candidate image data to obtain target image data. The screening condition may be a specific feature recognized by the image, such as a dish, an indoor scene, or may not include a specific feature, such as a face. This application does not limit this.
可以理解,还可以通过其它任意合理的方式获取目标图像数据,本申请对此方面不作限定。It can be understood that the target image data can also be obtained by any other reasonable manner, which is not limited in this application.
在步骤304中,在用户界面上目标对象对应的预设区域输出目标图像数据。In
需要说明的是,对于与图2实施例中相同的步骤,在上述图3实施例中不再进行赘述,相关内容可参见图2实施例。It should be noted that the same steps as those in the embodiment of FIG. 2 are not described in the foregoing embodiment of FIG. 3, and related content can be referred to the embodiment of FIG. 2.
本申请的上述实施例提供的图像数据输出方法,通过确定针对目标对象的目标事件,获取目标事件的事件信息及预设的匹配条件,基于该事件信息及该匹配条件从预存的图像数据中获取目标图像数据,并在用户界面上目标对象对应的预设区域输出目标图像数据。由于本实施例基于目标事件的事件信息及预设的匹配条件从预存的图像数据中获取待推送的目标图像数据,因此,使得图像数据的推荐更为精准,也有助于提高客户端的易用性和使用效率。The image data output method provided by the above embodiment of the present application obtains event information of a target event and a preset matching condition by determining a target event for the target object, and acquires the pre-stored image data based on the event information and the matching condition. Target image data, and output target image data in a preset area corresponding to the target object on the user interface. Since the present embodiment obtains the target image data to be pushed from the pre-stored image data based on the event information of the target event and the preset matching condition, the recommendation of the image data is more accurate, and the user's ease of use is also improved. And use efficiency.
如图4所示,图4根据一示例性实施例示出的另一种图像数据推荐方法的流程图,该实施例详细描述了获取目标图像数据的过程,该方法可以应用于客户端中,包括以下步骤:As shown in FIG. 4, FIG. 4 is a flowchart of another image data recommendation method according to an exemplary embodiment. The embodiment describes in detail a process of acquiring target image data, which may be applied to a client, including The following steps:
在步骤401中,确定针对目标对象的目标事件。In
在步骤402中,获取目标事件的事件信息及预设的匹配条件。In
在步骤403中,基于该事件信息确定预存的图像数据中满足匹配条件的备选图像数据。In
在本实施例的一种实现方式中,事件信息可以包括该目标事件对应的目标时间。满足匹配条件的备选图像数据可以为对应的创建时间与目标时间的偏差小于第一阈值的图像数据。可以遍历本地相册中的每份图像数据,获取每份图像数据的创建时间,根据 每份图像数据的创建时间确定满足匹配条件的备选图像数据。In an implementation manner of this embodiment, the event information may include a target time corresponding to the target event. The candidate image data that satisfies the matching condition may be image data in which the deviation between the corresponding creation time and the target time is less than the first threshold. It is possible to traverse each piece of image data in the local album, acquire the creation time of each piece of image data, and determine candidate image data that satisfies the matching condition based on the creation time of each piece of image data.
在本实施例的另一种实现方式中,事件信息可以包括该目标事件对应的目标位置。满足匹配条件的备选图像数据可以为对应的创建地点与目标位置的偏差小于第二阈值。可以遍历本地相册中的每份图像数据,获取每份图像数据的创建地点,根据每份图像数据的创建地点确定满足匹配条件的备选图像数据。In another implementation manner of this embodiment, the event information may include a target location corresponding to the target event. The candidate image data that satisfies the matching condition may be that the deviation between the corresponding creation location and the target location is less than a second threshold. Each image data in the local album may be traversed, the creation location of each image data may be acquired, and candidate image data satisfying the matching condition may be determined according to the creation location of each image data.
在本实施例的又一种实现方式中,事件信息可以包括该目标事件对应的目标时间和目标位置。这样满足匹配条件的备选图像数据为对应的创建时间与目标时间的偏差小于第一阈值,并且对应的创建地点与目标位置的偏差小于第二阈值。根据这两个匹配条件确定备选图像数据。In still another implementation of this embodiment, the event information may include a target time and a target location corresponding to the target event. The candidate image data that satisfies the matching condition in this way is that the deviation between the corresponding creation time and the target time is less than the first threshold, and the deviation between the corresponding creation location and the target location is less than the second threshold. The candidate image data is determined based on the two matching conditions.
在步骤404中,从备选图像数据中选取目标图像数据。In
在本实施例中,可以从备选图像数据中选取部分图像数据作为目标图像数据。在一种实现方式中,可以从备选图像数据中选取部分或全部不包含人脸特征的图像数据作为目标图像数据。可以对每份图像数据的每帧图像进行识别分析,判断是否包含人脸特征,将包含人脸特征的图像数据丢弃,仅从不包含人脸特征的图像数据中选取目标图像数据。In the present embodiment, partial image data may be selected from the candidate image data as the target image data. In one implementation, some or all of the image data that does not include the face feature may be selected from the candidate image data as the target image data. The image of each frame of each piece of image data may be subjected to recognition analysis to determine whether or not the face feature is included, the image data including the face feature is discarded, and the target image data is selected only from the image data not including the face feature.
在另一种实现方式中,还可以从备选图像数据中选取部分或全部图像质量满足预设指标的图像数据作为目标图像数据。其中,图像质量的评估标准可以包括但不限于图像的清晰度,图像的亮度,图像的饱和度等等。可以对每份图像数据的每帧图像进行图像分析,获取相应的图像质量的指标,如获取图像的清晰度数值,或者获取图像的亮度数值,或者获取图像的饱和度数值等。接着,根据上述指标判断相应图像的图像质量是否满足预设指标,将不满足预设指标的图像数据丢弃,仅从满足预设指标的图像数据中选取目标图像数据。In another implementation manner, image data of a part or all of the image quality satisfying the preset index may also be selected from the candidate image data as the target image data. Among them, the evaluation criteria of the image quality may include, but are not limited to, the sharpness of the image, the brightness of the image, the saturation of the image, and the like. Image analysis can be performed on each frame of each image data to obtain an index of the corresponding image quality, such as obtaining the sharpness value of the image, or obtaining the brightness value of the image, or obtaining the saturation value of the image. Then, according to the foregoing indicator, it is determined whether the image quality of the corresponding image satisfies the preset index, and the image data that does not satisfy the preset index is discarded, and only the target image data is selected from the image data that satisfies the preset index.
在又一种实现方式中,还可以选取备选图像数据中部分或全部不包含人脸特征并且图像质量满足预设指标的图像数据,作为目标图像数据。可以理解,还可以通过其它任意方式从备选图像数据中选取目标图像数据,本申请对选取目标图像数据的具体方式方面不作限定。In still another implementation, image data in which some or all of the candidate image data does not include the face feature and the image quality satisfies the preset index may also be selected as the target image data. It can be understood that the target image data can be selected from the candidate image data by any other manner. The specific manner of selecting the target image data is not limited in this application.
在步骤405中,在用户界面上目标对象对应的预设区域输出目标图像数据。In
需要说明的是,对于与图2和图3实施例中相同的步骤,在上述图4实施例中不再进行赘述,相关内容可参见图2和图3实施例。It should be noted that the same steps as those in the embodiment of FIG. 2 and FIG. 3 are not described in the above embodiment of FIG. 4, and the related content can be referred to the embodiment of FIG. 2 and FIG. 3.
本申请的上述实施例提供的图像数据输出方法,通过确定针对目标对象的目标事件,获取目标事件的事件信息及预设的匹配条件,基于该事件信息确定预存的图像数据中满足匹配条件的备选图像数据,从备选图像数据中选取目标图像数据,并在用户界面上目标对象对应的预设区域输出目标图像数据。由于本实施例基于目标事件的事件信息及预设的匹配条件从预存的图像数据中获取备选图像数据,并通过不同的方式从备选图像数据中选取待推送的目标图像数据,使得图像数据的推送精确度进一步得到提高,并进一步提高了客户端的易用性和使用效率。The image data output method provided by the above embodiment of the present application determines the event information of the target event and the preset matching condition by determining the target event for the target object, and determines, according to the event information, the preparation that satisfies the matching condition in the pre-stored image data. The image data is selected, the target image data is selected from the candidate image data, and the target image data is outputted in a preset area corresponding to the target object on the user interface. Since the embodiment obtains candidate image data from the pre-stored image data based on the event information of the target event and the preset matching condition, and selects the target image data to be pushed from the candidate image data in different manners, so that the image data is made. The push accuracy is further improved, and the client's ease of use and use efficiency are further improved.
在一些可选实施方式中,上述方法还可以包括:响应于用户的预设操作,上传部分或全部目标图像数据。In some optional implementations, the above method may further include: uploading part or all of the target image data in response to a preset operation of the user.
用户的预设操作可以为用户通过用户界面上传图像数据的操作。用户可以直接将推荐的图像数据全部上传,也可以从推荐的图像数据中选取部分图像数据上传。用户的预设操作可以是任意合理形式的操作,例如,用户的预设操作可以是点击用户界面上预设区域的操作,也可以是在用户界面上的滑动操作,还可以是点击物理按键的操作等等,可以理解,本申请对用户的预设操作的具体形式方面不作限定。The user's preset operation can be an operation for the user to upload image data through the user interface. The user can upload all the recommended image data directly, or select part of the image data to upload from the recommended image data. The preset operation of the user may be any reasonable operation. For example, the preset operation of the user may be an operation of clicking a preset area on the user interface, a sliding operation on the user interface, or clicking a physical button. Operation and the like, it can be understood that the present application does not limit the specific form of the user's preset operation.
应当注意,尽管在附图中以特定顺序描述了本申请方法的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。相反,流程图中描绘的步骤可以改变执行顺序。附加地或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,和/或将一个步骤分解为多个步骤执行。It should be noted that although the operations of the method of the present application are described in a particular order in the figures, this is not a requirement or implied that the operations must be performed in the particular order, or that all of the operations shown must be performed to achieve the desired result. . Instead, the steps depicted in the flowcharts can change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps being combined into one step, and/or one step being broken down into multiple steps.
与前述图像数据输出方法实施例相对应,本申请还提供了图像数据输出装置的实施例。Corresponding to the foregoing image data output method embodiment, the present application also provides an embodiment of an image data output device.
如图5所示,图5是本申请根据一示例性实施例示出的一种图像数据输出装置框图,该装置可以包括:确定模块501,获取模块502及输出模块503。As shown in FIG. 5, FIG. 5 is a block diagram of an image data output device according to an exemplary embodiment of the present application. The device may include: a determining
其中,确定模块501,用于确定针对目标对象的目标事件。The determining
获取模块502,用于从预存的图像数据中获取与目标事件匹配的目标图像数据。The obtaining
输出模块503,用于在用户界面上目标对象对应的预设区域输出目标图像数据。The
如图6所示,图6是本申请根据一示例性实施例示出的另一种图像数据输出装置框图,该实施例在前述图5所示实施例的基础上,获取模块502可以包括:第一获取子模块601和第二获取子模块602。As shown in FIG. 6, FIG. 6 is a block diagram of another image data output device according to an exemplary embodiment of the present application. Based on the foregoing embodiment shown in FIG. 5, the obtaining
其中,第一获取子模块601,用于获取目标事件的事件信息及预设的匹配条件。The first obtaining
第二获取子模块602,用于基于上述事件信息及上述匹配条件从预存的图像数据中获取目标图像数据。The second obtaining
如图7所示,图7是本申请根据一示例性实施例示出的另一种图像数据输出装置框图,该实施例在前述图6所示实施例的基础上,第二获取子模块602可以包括:确定子模块701和选取子模块702。As shown in FIG. 7, FIG. 7 is a block diagram of another image data output device according to an exemplary embodiment of the present application. Based on the foregoing embodiment shown in FIG. 6, the second obtaining
其中,确定子模块701,用于基于上述事件信息确定预存的图像数据中满足所述匹配条件的备选图像数据。The determining sub-module 701 is configured to determine candidate image data that satisfies the matching condition among the pre-stored image data based on the event information.
选取子模块702,用于从备选图像数据中选取目标图像数据。The sub-module 702 is selected for selecting target image data from the candidate image data.
在一些可选实施方式中,所述事件信息包括:目标事件对应的目标时间。In some optional implementations, the event information includes: a target time corresponding to the target event.
其中,所述匹配条件包括:目标图像数据的创建时间与上述目标时间的偏差小于第一阈值。The matching condition includes: a deviation between a creation time of the target image data and the target time is less than a first threshold.
在另一些可选实施方式中,所述事件信息包括:目标事件对应的目标位置。In other optional implementations, the event information includes: a target location corresponding to the target event.
其中,所述匹配条件包括:所述目标图像数据的创建地点与所述目标位置的偏差小于第二阈值。The matching condition includes: a deviation between a creation location of the target image data and the target location is less than a second threshold.
在另一些可选实施方式中,选取子模块702被配置用于:从备选图像数据中选取部分或全部不包含人脸特征的图像数据作为目标图像数据。In still other alternative embodiments, the
在另一些可选实施方式中,选取子模块702被配置用于:从备选图像数据中选取部分或全部图像质量满足预设指标的图像数据作为目标图像数据。In other optional implementations, the
如图8所示,图8是本申请根据一示例性实施例示出的另一种图像数据输出装置框图,该实施例在前述图5所示实施例的基础上,该装置还可以进一步包括:上传模块504。As shown in FIG. 8, FIG. 8 is a block diagram of another image data output device according to an exemplary embodiment of the present application. The device may further include: Upload
其中,上传模块504,用于响应于用户的预设操作,上传部分或全部目标图像数据。The
应当理解,上述装置可以预先设置在终端设备中,也可以通过下载等方式而加载到终端设备中。上述装置中的相应模块可以与终端设备中的模块相互配合以实现图像数据推送方案。It should be understood that the above device may be preset in the terminal device, or may be loaded into the terminal device by downloading or the like. The corresponding module in the above device can cooperate with the module in the terminal device to implement an image data pushing scheme.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.
本申请实施例还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,计算机程序可用于执行上述图2至图4任一实施例提供的图像数据输出方法。The embodiment of the present application further provides a computer readable storage medium, where the storage medium stores a computer program, and the computer program can be used to execute the image data output method provided by any of the foregoing embodiments of FIG. 2 to FIG.
对应于上述的图像数据输出方法,本申请实施例还提出了图9所示的根据本申请的一示例性实施例的电子设备的示意结构图。请参考图9,在硬件层面,该电子设备包括处理器910、内部总线930、网络接口940、内存920以及非易失性存储器921,当然还可能包括其他业务所需要的硬件。处理器910从非易失性存储器921中读取对应的计算机程序到内存920中然后运行,在逻辑层面上形成图像数据输出装置950。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。Corresponding to the image data output method described above, the embodiment of the present application further provides a schematic structural diagram of the electronic device according to an exemplary embodiment of the present application shown in FIG. 9 . Referring to FIG. 9, at the hardware level, the electronic device includes a processor 910, an internal bus 930, a network interface 940, a memory 920, and a non-volatile memory 921, and of course may also include hardware required for other services. The processor 910 reads the corresponding computer program from the non-volatile memory 921 into the memory 920 and then operates to form the image data output device 950 on a logical level. Of course, in addition to the software implementation, the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will be readily apparent to those skilled in the <RTIgt; The application is intended to cover any variations, uses, or adaptations of the application, which are in accordance with the general principles of the application and include common general knowledge or common technical means in the art that are not disclosed herein. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the invention is not limited to the details of the details and The scope of the present application is limited only by the accompanying claims.
Claims (13)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711182540.6A CN107943939A (en) | 2017-11-23 | 2017-11-23 | View data recommends method, apparatus and electronic equipment |
| CN201711182540.6 | 2017-11-23 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019100925A1 true WO2019100925A1 (en) | 2019-05-31 |
Family
ID=61931005
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/113567 Ceased WO2019100925A1 (en) | 2017-11-23 | 2018-11-02 | Image data output |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107943939A (en) |
| WO (1) | WO2019100925A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107943939A (en) * | 2017-11-23 | 2018-04-20 | 北京三快在线科技有限公司 | View data recommends method, apparatus and electronic equipment |
| CN110990607B (en) * | 2019-11-25 | 2023-07-18 | 成都市喜爱科技有限公司 | Method, apparatus, server and computer readable storage medium for screening game photos |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101436348A (en) * | 2008-12-22 | 2009-05-20 | 北京中星微电子有限公司 | Electronic policeman system and information identification method applied to the same |
| CN102708193A (en) * | 2012-05-15 | 2012-10-03 | 中国科学技术大学 | Method and system for aggregate search and interaction of restaurant information based on location service |
| CN106484707A (en) * | 2015-08-26 | 2017-03-08 | 重庆西线科技有限公司 | A kind of information-pushing method based on wechat platform |
| CN106980696A (en) * | 2017-04-06 | 2017-07-25 | 腾讯科技(深圳)有限公司 | The sorting technique and device of a kind of photo files |
| CN107943939A (en) * | 2017-11-23 | 2018-04-20 | 北京三快在线科技有限公司 | View data recommends method, apparatus and electronic equipment |
-
2017
- 2017-11-23 CN CN201711182540.6A patent/CN107943939A/en active Pending
-
2018
- 2018-11-02 WO PCT/CN2018/113567 patent/WO2019100925A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101436348A (en) * | 2008-12-22 | 2009-05-20 | 北京中星微电子有限公司 | Electronic policeman system and information identification method applied to the same |
| CN102708193A (en) * | 2012-05-15 | 2012-10-03 | 中国科学技术大学 | Method and system for aggregate search and interaction of restaurant information based on location service |
| CN106484707A (en) * | 2015-08-26 | 2017-03-08 | 重庆西线科技有限公司 | A kind of information-pushing method based on wechat platform |
| CN106980696A (en) * | 2017-04-06 | 2017-07-25 | 腾讯科技(深圳)有限公司 | The sorting technique and device of a kind of photo files |
| CN107943939A (en) * | 2017-11-23 | 2018-04-20 | 北京三快在线科技有限公司 | View data recommends method, apparatus and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107943939A (en) | 2018-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12455920B2 (en) | Content navigation with automated curation | |
| US10885380B2 (en) | Automatic suggestion to share images | |
| CN105653636B (en) | Information processing method and device for information processing | |
| US10162999B2 (en) | Face recognition based on spatial and temporal proximity | |
| US11308155B2 (en) | Intelligent selection of images to create image narratives | |
| US10140517B2 (en) | Event-based image classification and scoring | |
| US12289283B2 (en) | Automated image processing and insight presentation | |
| US10430456B2 (en) | Automatic grouping based handling of similar photos | |
| US20160179846A1 (en) | Method, system, and computer readable medium for grouping and providing collected image content | |
| EP3226514B1 (en) | Picture sharing method and apparatus, and terminal device | |
| US10674183B2 (en) | System and method for perspective switching during video access | |
| WO2019171803A1 (en) | Image search device, image search method, electronic equipment, and control method | |
| JP2017033293A (en) | Image processing device, image processing method, program, and recording medium | |
| CN109167939A (en) | It is a kind of to match literary method, apparatus and computer storage medium automatically | |
| WO2019100925A1 (en) | Image data output | |
| CN109150967B (en) | A method, device and electronic device for creating an album | |
| US10762125B2 (en) | Sorting images based on learned actions | |
| CN108182228A (en) | User social contact method, device and the computing device realized using augmented reality | |
| JP6204957B2 (en) | Information processing apparatus, information processing method, and information processing program | |
| JP4542013B2 (en) | Print order system, program, program storage medium, and print order server | |
| HK40035286A (en) | Picture generation method and device based on block chain and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18880292 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18880292 Country of ref document: EP Kind code of ref document: A1 |