CN104182780A - Method for automatically generating dining comments and terminal equipment - Google Patents

Method for automatically generating dining comments and terminal equipment Download PDF

Info

Publication number
CN104182780A
CN104182780A CN201410415216.4A CN201410415216A CN104182780A CN 104182780 A CN104182780 A CN 104182780A CN 201410415216 A CN201410415216 A CN 201410415216A CN 104182780 A CN104182780 A CN 104182780A
Authority
CN
China
Prior art keywords
dinner
user
place
vegetable
comment
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
CN201410415216.4A
Other languages
Chinese (zh)
Other versions
CN104182780B (en
Inventor
黄海斌
陈璐
胡毛圆
马鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201410415216.4A priority Critical patent/CN104182780B/en
Publication of CN104182780A publication Critical patent/CN104182780A/en
Application granted granted Critical
Publication of CN104182780B publication Critical patent/CN104182780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for automatically generating dining comments and terminal equipment. A conventional manual inputting process of the dining comments is replaced, names of relevant dishes are recognized by adopting OCR (Optical Character Recognition), and comments meeting the demands of a user are generated automatically according to dishes selected by the user, so that operation of the user is simplified, and the interest is increased by means of determination of a recognition region through screen scribbling, use of a preset template and the like. Moreover, the invention further provides a function for prompting the user to determine a dining place based on the location of the user. Through the function, greater convenience is brought to use for the user.

Description

A kind of automatic generation have dinner comment method and terminal device
Technical field
The present invention relates to terminal applies technical field, relate in particular to a kind of automatic generation have dinner comment method and terminal device.
Background technology
Along with the lifting of the word input capability of the universal and mobile terminal of mobile terminal, all intelligent mobile terminals are all supported the word input based on various input methods substantially.When user has dinner somewhere, can on mobile terminal, input the vegetable evaluation information to the place of having dinner, and by related application, evaluation information is shared with to other users.Traditional scheme is that user manually writes the comment of having dinner, and at net environment, realizes the issue of the comment of having dinner by mobile terminals such as common mobile phones.
But, in traditional scheme, relevant information and the relevant vegetable at this place place of having dinner and the recommended information of service in the place of having dinner cannot be provided for user, if write a complete vegetable picture and text introduction and comment information by user oneself, process is comparatively loaded down with trivial details, in addition, the user who is not familiar with for the position, place of having dinner, existing application can not help user to select the place of having dinner, and therefore, causes user to experience poor.
Summary of the invention
The technical problem to be solved in the present invention is that the method and the terminal device that provide a kind of automatic generation to have dinner comment, simplify the troublesome operation that user has dinner while comment.
The technical solution used in the present invention is, the have dinner method of comment of described automatic generation, comprising:
Carry out OCR (Optical Character Recognition, optical character identification) for the picture concerned in the place of having dinner, obtain the word in described picture concerned;
From described word, extract vegetable name, the recommended information of the corresponding vegetable in the place of having dinner described in searching in database according to described vegetable name; Described database is used for the recommended information of the vegetable of storing the place of having dinner;
Described vegetable name is generated to comment information together with the recommended information of corresponding vegetable.
Further, contain vegetable name in described picture concerned, the kind of described picture concerned comprises: menu, have dinner receipt or bill;
The recommended information of described vegetable, comprising: raw material, heat, allusion, way and the price of vegetable;
Described database, comprising: local data base, remote data base or cloud database.
Further, described method, also comprises: before the picture concerned for the place of having dinner is carried out OCR identification, the position prompting user based on user determines the place of having dinner.
Further, the described prompting of the position based on user user determines the place of having dinner, and comprising:
Adopt the mode of GPS locator meams, wifi signal intensity locator meams and/or image recognition, determine user's position;
In database, search near the place of respectively having dinner user position, select to have dinner place for user; Or, according to the order of wifi intensity, will offer user with the corresponding identical wifi hotspot name of the place name of respectively having dinner, select to have dinner place for user;
Determine according to user's selection the place of having dinner.
Further, adopt the mode of image recognition, determine user's position, comprising:
Mark in the photo at the position place providing based on user is searched in database;
By position corresponding this mark finding out or the place of having dinner, as user's position.
Further, carry out OCR identification for the picture concerned in the place of having dinner, comprising:
Controlling camera takes the picture concerned in the place of having dinner;
Prompting user smears for the image in the place of having dinner photographing on screen, to determine identified region;
Carry out OCR identification for the identified region of determining.
Further, from described word, extract vegetable name, comprising:
According to separator and the meaning of a word, described word is carried out to participle;
The each vocabulary obtaining based on participle carries out matched and searched in the catering product in the place of having dinner described in database, to filter out vegetable name from each vocabulary.
Further, the evaluation template of selecting according to user, generates comment information by described vegetable name together with the recommended information of corresponding vegetable, user's evaluation information, user position and time.
Further, described user's evaluation information, comprising: the word evaluation to vegetable of user's input, and/or, the marking of user to vegetable.
The present invention also provides a kind of terminal device, comprises a processor;
Described processor, carries out OCR identification for the picture concerned for the place of having dinner, and obtains the word in described picture concerned; From described word, extract vegetable name, the recommended information of the corresponding vegetable in the place of having dinner described in searching in database according to described vegetable name; Described vegetable name is generated to comment information together with the recommended information of corresponding vegetable; Wherein, described database is used for the recommended information of the vegetable of storing the place of having dinner.
Adopt technique scheme, the present invention at least has following advantages:
Automatic generation of the present invention have dinner comment method and terminal device, replace traditional manually process of input of comment of having dinner, adopt the title of the relevant vegetable of OCR identification, automatically generate according to user-selected vegetable the comment that meets user's request, in simplifying user's operation, also smear determine the mode of identified region and use default template etc. by screen, increased interest.In addition, the function that the present invention also provides the position prompting user based on user to determine the place of having dinner, has increased the convenience that user uses.
Brief description of the drawings
Fig. 1 be the automatic generation of first embodiment of the invention have dinner comment method flow diagram;
Fig. 2 be the automatic generation of second embodiment of the invention have dinner comment method flow diagram;
Fig. 3 is the composition structural representation of the terminal device of third embodiment of the invention;
Fig. 4 be the automatic generation of fourth embodiment of the invention have dinner comment particular flow sheet.
Embodiment
Technological means and effect of taking for reaching predetermined object for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of automatic generation have dinner comment method, as shown in Figure 1, comprise following concrete steps:
Step S101, carries out OCR identification for the picture concerned in the place of having dinner, and obtains the word in described picture concerned;
Concrete, in step S101, carry out OCR identification for the picture concerned in the place of having dinner, comprise following flow process:
A1: control camera the picture concerned in the place of having dinner is taken;
A2: prompting user smears for the image in the place of having dinner photographing on screen, to determine identified region;
A3: carry out OCR identification for the identified region of determining.
In step S101, in described picture concerned, contain vegetable name, the kind of described picture concerned comprises: menu, have dinner receipt or bill;
Step S102 extracts vegetable name from described word, the recommended information of the corresponding vegetable in the place of having dinner described in searching in database according to described vegetable name; Described database is used for the recommended information of the vegetable of storing the place of having dinner; The described database of the embodiment of the present invention, can comprise: local data base, remote data base, cloud database etc.
Concrete, from described word, extract vegetable name, comprising:
According to separator and the meaning of a word, described word is carried out to participle;
The each vocabulary obtaining based on participle carries out matched and searched in the catering product in the place of having dinner described in database, to filter out vegetable name from each vocabulary.
In step S102, the recommended information of described vegetable, comprising: raw material, heat, allusion, way and the price of vegetable.
Step S103, generates comment information by described vegetable name together with the recommended information of corresponding vegetable.
Preferably, the evaluation template that also can select according to user in step S103, generates comment information by described vegetable name together with the recommended information of corresponding vegetable, user's evaluation information, user position and time.Now, described user's evaluation information, comprising: the word evaluation to vegetable of user's input, and/or, the marking of user to vegetable.
Second embodiment of the invention, a kind of automatic generation have dinner comment method, described in the present embodiment, method and the first embodiment are roughly the same, difference is, as shown in Figure 2, the described method of the present embodiment except comprising step S201~202 corresponding with first embodiment step S101~S102, described method, before step 201 is carried out OCR identification for the picture concerned in the place of having dinner, also comprise:
Step S200, the position prompting user based on user determines the place of having dinner.
Concrete, step S200 comprises following flow process:
B1: adopt the mode of GPS locator meams, wifi signal intensity locator meams and/or image recognition, determine user's position;
Further, adopt the mode of image recognition, determine user's position, comprising:
Mark in the photo at the position place providing based on user is searched in database; The pre-stored corresponding relation data that have each mark and its position in this database, mark can be trade mark logo, indoor and outdoor decorative pattern etc.If be the place of having dinner by mark and its position, can also be according to the anti-position of releasing, this place of having dinner.
By position corresponding this mark finding out or the place of having dinner, as user's position.
B2: search near the place of respectively having dinner user position in database, select to have dinner place for user; Or, according to the order of wifi intensity, will offer user with the corresponding identical wifi hotspot name of the place name of respectively having dinner, select to have dinner place for user;
B3: determine the place of having dinner according to user's selection.
Third embodiment of the invention, a kind of terminal device 10, can be used as entity apparatus and understands, corresponding with the first embodiment, and this terminal device 10 as shown in Figure 3, comprises a processor 20;
Processor 20, carries out OCR identification for the picture concerned for the place of having dinner, and obtains the word in described picture concerned; From described word, extract vegetable name, the recommended information of the corresponding vegetable in the place of having dinner described in searching in database according to described vegetable name; Described vegetable name is generated to comment information together with the recommended information of corresponding vegetable; Wherein, described database is used for the recommended information of the vegetable of storing the place of having dinner.The described database of the embodiment of the present invention, can comprise: local data base, remote data base, cloud database etc.
If corresponding with the second embodiment, the processor 20 in this terminal device 10 of the present embodiment, also for:
Before the picture concerned for the place of having dinner is carried out OCR identification, the position prompting user based on user determines the place of having dinner.
The database that the present embodiment is recorded can be arranged in terminal device 10, also can be arranged in server, when terminal device and server pass through internet communication, can use the database resource in server.
Fourth embodiment of the invention, the present embodiment is on the basis of above-described embodiment, 4 introduces an application example of the present invention by reference to the accompanying drawings.
The application program that has proposed automatically to generate in a kind of mobile phone the comment of having dinner in this application example, this application program is identified the picture that contains vegetable name by OCR, obtain relevant menu name, generates the comment to described relevant vegetable.Must satisfied condition be: client needs have the condition of networking, and support positioning service.
The automatic generation of this application example have dinner comment idiographic flow as follows:
Step 1, enter customer end A pp, determine user's the place of having dinner.Determine that mode comprises following one or more:
A1), the current position of user is positioned, locator meams comprises GPS, wifi signal intensity location etc.);
A2), user uploads the place photo of having dinner, according to the current position of photo array user, position;
A3), user inputs the place name of having dinner voluntarily;
A4), user is clicked and is determined the place of having dinner by drop-down menu.
In the time comprising above-mentioned four kinds of definite modes, as fail by step a1 simultaneously) the current residing dining room of consumer positioning, will guide user by step a2), a3), a4) position; The dining room current of living in name that user also can get location is modified, date/time is modified;
Step 2, obtain the picture that contains vegetable name about this place of having dinner, the kind of this picture comprises: menu, the receipt of having dinner, bill or other pictures that contains vegetable name;
Meanwhile, user can be by taking or transfer the picture that contains vegetable name of local storage or remote storage.
Step 3, vegetable name based in OCR identification picture are retrieved coupling to the vegetable name identifying in background data base; Wherein, before OCR identification vegetable name, can on screen, smear the region user who shows name of the dish, for example: finger touch screen is smeared, specify name of the dish region, ensure recognition effect, increase mutual interest.
In background data base, preserve catering product or the service data in above-mentioned definite place of having dinner, the vegetable name extracting from the word identifying based on OCR is retrieved coupling, obtains menu, heat, vegetable that should vegetable be introduced etc. to information.
Step 4, the related data about this vegetable name that the combination of vegetable name is retrieved from background data base together generate the comment information to this vegetable.
Preferably, generate the comment to relevant vegetable according to current time, position, relevant vegetable name and default template.
Predeterminable multiple template, user can select between the comment generating according to different templates;
User can carry out simple evaluation to vegetable, for example, beat star or input simple word evaluation, for example, " taste bad ", " general as ", " fabbing ", can make the evaluation generating more meet the true comment of user to vegetable.
Step 5, user select to comment on information local preservation, upload server or issue at network.
Preferably, also provide the interface that places an order, can click this vegetable and buy;
The described automatic generation of the embodiment of the present invention have dinner comment method and terminal device, replace traditional manually process of input of comment of having dinner, adopt the title of the relevant vegetable of OCR identification, automatically generate according to user-selected vegetable the comment that meets user's request, in simplifying user's operation, also smear determine the mode of identified region and use default template etc. by screen, increased interest.In addition, the function that the embodiment of the present invention also provides the position prompting user based on user to determine the place of having dinner, has increased the convenience that user uses.
By the explanation of embodiment, should be able to more deeply and concrete understanding for technological means and effect of reaching predetermined object and taking the present invention, but appended diagram be only to provide with reference to the use of explanation, be not used for the present invention to be limited.

Claims (10)

1. a method that automatically generates the comment of having dinner, is characterized in that, comprising:
Picture concerned for the place of having dinner is carried out optical character identification OCR, obtains the word in described picture concerned;
From described word, extract vegetable name, the recommended information of the corresponding vegetable in the place of having dinner described in searching in database according to described vegetable name; Described database is used for the recommended information of the vegetable of storing the place of having dinner;
Described vegetable name is generated to comment information together with the recommended information of corresponding vegetable.
Automatic generation according to claim 1 have dinner comment method, it is characterized in that, in described picture concerned, contain vegetable name, the kind of described picture concerned comprises: menu, have dinner receipt or bill;
The recommended information of described vegetable, comprising: raw material, heat, allusion, way and the price of vegetable;
Described database, comprising: local data base, remote data base or cloud database.
3. the automatic generation according to claim 1 method of comment of having dinner, is characterized in that, described method, also comprises: before the picture concerned for the place of having dinner is carried out OCR identification, the position prompting user based on user determines the place of having dinner.
4. the automatic generation according to claim 3 method of comment of having dinner, is characterized in that, the described position based on user prompting user determines the place of having dinner, and comprising:
Adopt the mode of GPS locator meams, wifi signal intensity locator meams and/or image recognition, determine user's position;
In database, search near the place of respectively having dinner user position, select to have dinner place for user; Or, according to the order of wifi intensity, will offer user with the corresponding identical wifi hotspot name of the place name of respectively having dinner, select to have dinner place for user;
Determine according to user's selection the place of having dinner.
5. the automatic generation according to claim 4 method of comment of having dinner, is characterized in that, adopts the mode of image recognition, determines user's position, comprising:
Mark in the photo at the position place providing based on user is searched in database;
By position corresponding this mark finding out or the place of having dinner, as user's position.
Automatic generation according to claim 1 have dinner comment method, it is characterized in that, carry out OCR identification for the picture concerned in the place of having dinner, comprising:
Controlling camera takes the picture concerned in the place of having dinner;
Prompting user smears for the image in the place of having dinner photographing on screen, to determine identified region;
Carry out OCR identification for the identified region of determining.
Automatic generation according to claim 1 have dinner comment method, it is characterized in that, from described word, extract vegetable name, comprising:
According to separator and the meaning of a word, described word is carried out to participle;
The each vocabulary obtaining based on participle carries out matched and searched in the catering product in the place of having dinner described in database, to filter out vegetable name from each vocabulary.
Automatic generation according to claim 1 have dinner comment method, it is characterized in that, the evaluation template of selecting according to user, generates comment information by described vegetable name together with the recommended information of corresponding vegetable, user's evaluation information, user position and time.
9. the automatic generation according to claim 8 method of comment of having dinner, is characterized in that, described user's evaluation information, comprising: the word evaluation to vegetable of user input, and/or, the marking of user to vegetable.
10. a terminal device, is characterized in that, comprises a processor;
Described processor, carries out OCR identification for the picture concerned for the place of having dinner, and obtains the word in described picture concerned; From described word, extract vegetable name, the recommended information of the corresponding vegetable in the place of having dinner described in searching in database according to described vegetable name; Described vegetable name is generated to comment information together with the recommended information of corresponding vegetable; Wherein, described database is used for the recommended information of the vegetable of storing the place of having dinner.
CN201410415216.4A 2014-08-21 2014-08-21 A kind of method and terminal device for automatically generating comment of having dinner Active CN104182780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410415216.4A CN104182780B (en) 2014-08-21 2014-08-21 A kind of method and terminal device for automatically generating comment of having dinner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410415216.4A CN104182780B (en) 2014-08-21 2014-08-21 A kind of method and terminal device for automatically generating comment of having dinner

Publications (2)

Publication Number Publication Date
CN104182780A true CN104182780A (en) 2014-12-03
CN104182780B CN104182780B (en) 2018-07-03

Family

ID=51963805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410415216.4A Active CN104182780B (en) 2014-08-21 2014-08-21 A kind of method and terminal device for automatically generating comment of having dinner

Country Status (1)

Country Link
CN (1) CN104182780B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653636A (en) * 2015-12-25 2016-06-08 北京搜狗科技发展有限公司 Information processing method and apparatus as well as information processing apparatus
CN105765580A (en) * 2016-01-25 2016-07-13 程强 Catering APP image management method and system
CN105824949A (en) * 2016-03-22 2016-08-03 乐视网信息技术(北京)股份有限公司 Method and device for adding comments
CN106339836A (en) * 2016-08-18 2017-01-18 杭州布理岚柏科技有限公司 Application extension method based on experimental variable
WO2017120736A1 (en) * 2016-01-11 2017-07-20 程强 Catering information collection method and system
CN107609914A (en) * 2017-09-22 2018-01-19 上海爱优威软件开发有限公司 A kind of intelligent menu design method and system
CN109255290A (en) * 2018-07-27 2019-01-22 北京三快在线科技有限公司 Menu recognition methods, device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101151607A (en) * 2004-12-14 2008-03-26 谷歌公司 Method, system and graphical user interface for providing reviews for a product
CN101276383A (en) * 2008-05-16 2008-10-01 上海健业文化传播有限公司 Interactive nutrition catering system and method
CN101556674A (en) * 2009-05-18 2009-10-14 汤溪蔚 Network-based reservation and order service system and method
CN101667194A (en) * 2009-09-29 2010-03-10 北京大学 Automatic abstracting method and system based on user comment text feature
CN101751566A (en) * 2008-12-12 2010-06-23 汉王科技股份有限公司 Method and device for identifying and annotating menu based on handheld device
CN102708193A (en) * 2012-05-15 2012-10-03 中国科学技术大学 Method and system for aggregate search and interaction of restaurant information based on location service
CN103020784A (en) * 2012-12-27 2013-04-03 智比特信息技术(镇江)有限公司 Object evaluation system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101151607A (en) * 2004-12-14 2008-03-26 谷歌公司 Method, system and graphical user interface for providing reviews for a product
CN101276383A (en) * 2008-05-16 2008-10-01 上海健业文化传播有限公司 Interactive nutrition catering system and method
CN101751566A (en) * 2008-12-12 2010-06-23 汉王科技股份有限公司 Method and device for identifying and annotating menu based on handheld device
CN101556674A (en) * 2009-05-18 2009-10-14 汤溪蔚 Network-based reservation and order service system and method
CN101667194A (en) * 2009-09-29 2010-03-10 北京大学 Automatic abstracting method and system based on user comment text feature
CN102708193A (en) * 2012-05-15 2012-10-03 中国科学技术大学 Method and system for aggregate search and interaction of restaurant information based on location service
CN103020784A (en) * 2012-12-27 2013-04-03 智比特信息技术(镇江)有限公司 Object evaluation system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653636A (en) * 2015-12-25 2016-06-08 北京搜狗科技发展有限公司 Information processing method and apparatus as well as information processing apparatus
CN105653636B (en) * 2015-12-25 2020-07-28 北京搜狗科技发展有限公司 Information processing method and device for information processing
WO2017120736A1 (en) * 2016-01-11 2017-07-20 程强 Catering information collection method and system
CN105765580A (en) * 2016-01-25 2016-07-13 程强 Catering APP image management method and system
CN105824949A (en) * 2016-03-22 2016-08-03 乐视网信息技术(北京)股份有限公司 Method and device for adding comments
CN106339836A (en) * 2016-08-18 2017-01-18 杭州布理岚柏科技有限公司 Application extension method based on experimental variable
CN107609914A (en) * 2017-09-22 2018-01-19 上海爱优威软件开发有限公司 A kind of intelligent menu design method and system
CN109255290A (en) * 2018-07-27 2019-01-22 北京三快在线科技有限公司 Menu recognition methods, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104182780B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN104182780A (en) Method for automatically generating dining comments and terminal equipment
CN106575195B (en) Improved drag and drop operations on mobile devices
CN105338479B (en) Information processing method and device based on places
KR101790655B1 (en) Feedback method for bus information inquiry, mobile terminal and server
CN105072304A (en) Portable information acquisition system
CN106204186B (en) Order information determines method and device
CN109040960A (en) A kind of method and apparatus for realizing location-based service
TW201110039A (en) Portable device and picture sharing methods
EP2821954A1 (en) POI information providing system, POI information providing device, POI information output device, POI information providing method, and program therefor
CN101690141A (en) Automatic contact information entry via location sensing
JP2015114996A (en) Information providing device, method and system
CN105809162B (en) Method and device for acquiring WIFI hotspot and picture associated information
WO2015154383A1 (en) Photographing method and photographing terminal
EP2871606A1 (en) Information communication method and information communication apparatus
CN105229638A (en) As the library manager of the robotization of the contributor of the collection to content
TWI442339B (en) Method, system and computer program product for synchronizing spot information
CN103366242A (en) On-site quality inspection data collection system and method
US20170195129A1 (en) Method and device to control secondary devices
JP5926326B2 (en) Information providing system, poster terminal, reader terminal, and information disclosure apparatus
CN104240096A (en) Information display method and device and electronic equipment
JP5370522B2 (en) Information processing apparatus, information processing system, and program
JP2017201510A (en) Context recognition application
US20140350844A1 (en) Method for searching data and method for planning itinerary
EP2779055A1 (en) Systems and methods for providing and accessing visual product representations of a project
CN107560608B (en) Electronic equipment and information display method and system applied by same

Legal Events

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