CN106445992A - Food information recommendation method, server and mobile terminal - Google Patents

Food information recommendation method, server and mobile terminal Download PDF

Info

Publication number
CN106445992A
CN106445992A CN201610514286.4A CN201610514286A CN106445992A CN 106445992 A CN106445992 A CN 106445992A CN 201610514286 A CN201610514286 A CN 201610514286A CN 106445992 A CN106445992 A CN 106445992A
Authority
CN
China
Prior art keywords
food
information
image
characteristic
mobile terminal
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.)
Pending
Application number
CN201610514286.4A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610514286.4A priority Critical patent/CN106445992A/en
Publication of CN106445992A publication Critical patent/CN106445992A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5838Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour

Abstract

Embodiments of the invention provide a food information recommendation method, a server and a mobile terminal. The method comprises the steps of receiving a food image uploaded by a mobile terminal; extracting food feature information from the food image; based on the food feature information, searching for food information matched with the food feature information in a preset food database; and sending the food information to the mobile terminal. According to the method, the server and the mobile terminal provided by the embodiments of the invention, the problems of long time and high difficulty in analysis of the food information corresponding to food due to the need of dependency on a special instrument in the prior art are solved.

Description

A kind of recommendation method of food information, server and mobile terminal
Technical field
The present invention relates to communication technical field, particularly relate to recommendation method, the server of a kind of food information and move eventually End.
Background technology
Type of goods in social progress, people's life is more and more abundanter, and people are for miscellaneous article, no Being only limited to it to use, more focusing on other information of some article, health is by composition information and the composition information of such as article No have an impact.In real life, the composition information of article can only face toward article analysis by special instrument, or from thing Intercepted samples on product, carries out measuring composition.The special instrument of use can only be by being analyzed to article at the moment at present Measure composition, but in reality, few people can just have special instrument to be measured at one's side.
As a example by food, the crowd sensitive to COF, such as body-building, weight reducing, three high crowds, the nutrition to food becomes Point, heat extremely pay close attention to, the nutritional labeling of food needs by special instrument, or by relatively more professional knowledge and Experience accumulation could judge, and this is relative difficulty for common personage.Current a kind of detection mode is to utilize special Food is scanned analyzing by light wave detector, and the result analyzing is pushed to user, and its principle is, each in food molecule Planting different groups, after the selectable infra-red radiation absorbing different frequency, the transition of vibration level occurring, formation is each unique Infrared absorption spectroscopy, with this information such as the composition identifying food and heat.
But, utilize light wave detector to analyze food nourishment composition, need to buy special light wave detector, then need Pay extra-pay, and light wave detector can only scan to food at the moment, just has no way of doing it for food photo, limitation Property is bigger.If user sees a food photo by network or other modes, light wave detector pair can not be used Photo scanning, analyzes the information of food, user can only carry light wave detector to provide this food dining room, on point portion, Then it is scanned analyzing facing to food at the moment, if the result analyzed is that this food is not suitable for user, then this portion of food Just waste, not only sink money, waste time and efforts.
Content of the invention
The embodiment of the present invention provides the acquisition methods of a kind of food information, server and mobile terminal, to solve existing skill Owing to needing to rely on special instrument in art, cause analyzing the problem that the corresponding food information of food is time-consuming, difficulty is big.
First aspect, provides a kind of recommendation method of food information, including:
Receive the food image that a mobile terminal uploads;
Characteristic food item information is extracted from described food image;
Based on described characteristic food item information, search from default food database and described characteristic food item information matches Food information;
Described food information is sent to described mobile terminal.
Second aspect, additionally provides a kind of recommendation method of food information, including:
Upload food image to server;
Receive the food information that described server sends for described food image;
Described server is for extraction characteristic food item information from described food image, and uses described characteristic food item to believe Breath, searches the food information of coupling from default food database.
The third aspect, provides a kind of server, including:
Food image receiver module, for receiving the food image that a mobile terminal uploads;
First characteristic food item information extraction modules, for carrying from the food image that described food image receiver module receives Take food characteristic information;
Food information searches module, for the characteristic food item letter extracting based on described first characteristic food item information extraction modules Breath, searches the food information with described characteristic food item information matches from default food database;
Food information sending module, the food information for described food information is searched module searches is sent to described shifting Dynamic terminal.
Fourth aspect, provides a kind of mobile terminal, including:
Transmission module on food image, is used for uploading food image to server;
Food information receiver module, for receiving the food information that described server sends for described food image;
Described server is for extraction characteristic food item information from described food image, and uses described characteristic food item to believe Breath, searches the food information of coupling from default food database.
So, in the embodiment of the present invention, from the food image that user is uploaded, corresponding food is extracted by mobile terminal Characteristic information, and use this characteristic food item information, the food information finding coupling from default food database is recommended User, the embodiment of the present invention needs not rely on some instrumentations to obtain the food information of food such that it is able to meet user Profound demand, improves food and recommends effect.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing using is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 is the flow chart of steps of the recommendation embodiment of the method for a kind of food information of the embodiment of the present invention one;
Fig. 2 is the flow chart of steps of the recommendation embodiment of the method for a kind of food information of the embodiment of the present invention two;
Fig. 3 is the flow chart of steps of the recommendation embodiment of the method for a kind of food information of the embodiment of the present invention three;
Fig. 4 is the process schematic of a kind of food nutrition information recommendation of the embodiment of the present invention three;
Fig. 5 is the structured flowchart of a kind of server of the embodiment of the present invention four;
Fig. 5 a is one of structured flowchart of a kind of server of the embodiment of the present invention four;
Fig. 5 b is the two of the structured flowchart of a kind of server of the embodiment of the present invention four;
Fig. 5 c is the three of the structured flowchart of a kind of server of the embodiment of the present invention four;
Fig. 5 d is the four of the structured flowchart of a kind of server of the embodiment of the present invention four;
Fig. 5 e is the five of the structured flowchart of a kind of server of the embodiment of the present invention four;
Fig. 5 f is the six of the structured flowchart of a kind of server of the embodiment of the present invention four;
Fig. 6 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention four;
Fig. 6 a is one of structured flowchart of a kind of mobile terminal of the embodiment of the present invention four;
Fig. 7 is the block diagram of a kind of mobile terminal of the embodiment of the present invention five;
Fig. 8 is the structural representation of a kind of mobile terminal of the embodiment of the present invention six.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Embodiment one
It with reference to Fig. 1, show the flow chart of steps of the recommendation method of a kind of food information that the embodiment of the present invention one provides, The method specifically can be with following steps:
It should be noted that the food information of the embodiment of the present invention then refers to the corresponding related information of food, specifically permissible Including food picture, food title, food nutrition information, described food nutrition information includes heat, calorie, dining room position, Cuisine, the data of the very various dimensions such as way of cuisine.
Step 101, receives the food image that a mobile terminal uploads.
In actual applications, the food image that mobile terminal uploads, can be that mobile phone users passes through mobile terminal Camera shoots, and after user obtains image by the camera shooting of mobile terminal, then is uploaded onto the server by network.
The image of the embodiment of the present invention, its form can be the general formats such as BMP, JPEG, PNG, as long as can move Terminal shoots, and can be transferred to server, and this is not any limitation as by the embodiment of the present invention.
Corresponding for this food image, when wanting to search for certain food, can be uploaded to by the user of the embodiment of the present invention In server, feed back the relevant information of this food with request server.
Step 102, extracts characteristic food item information from described food image.
In embodiments of the present invention, mobile terminal upload food image be comparison rich and variedization, for convenience after The search operation of continuous food information, server needs to extract main characteristic food item information to the food image uploading.
Step 103, based on described characteristic food item information, searches and described characteristic food item letter from default food database The food information of breath coupling.
In the food database of the embodiment of the present invention, preserve food information, the characteristic food item information that server extracts, Food database finds the food information of coupling.
It should be noted that the food database of the embodiment of the present invention may be employed to store the warehouse of food information, supply Server lookup, insertion, modification food information.
Described food information is sent to described mobile terminal by step 104.
After whois lookup to the food information of coupling, it will being sent to mobile terminal, mobile terminal just can be recommended To user.
The embodiment of the present invention extracts corresponding characteristic food item information by mobile terminal from the food image that user is uploaded, And using this characteristic food item information, the food information finding coupling from default food database recommends user, this Bright embodiment needs not rely on some instrumentations to obtain the food information of food such that it is able to meet the profound need of user Ask, improve food and recommend effect.
Embodiment two
It with reference to Fig. 2, show the flow chart of steps of the recommendation method of a kind of food information that the embodiment of the present invention two provides, The method specifically can be with following steps:
Step 201, obtains at least one food image.
In actual applications, initial food image, and, the corresponding food information of food image can by server from Obtain on network and preserve.
In one preferred embodiment of the invention, described step 201 can include following sub-step:
Determine search condition;
At at least one food image specifying search on platform to meet described search condition, and, described at least one The corresponding food information of food image.
In embodiments of the present invention, web crawlers automatic crawl from network can be passed through (be otherwise known as at web crawlers Webpage spider, network robot), it is a kind of according to certain rule, automatically capture program or the pin of web message This.
Web crawlers species has multiple, such as Nutch, JSpider etc..Want operational network reptile, it is only necessary to according to literary composition Shelves prompting carries out environmental structure.Configuration web crawlers, from the platform specified or website, obtains the food meeting search condition Image, and, the corresponding food information of this food image.
Specifically, the various letters from position acquisition foods such as cuisines website, various social network sites for the web crawlers can be configured Breath, specifically can include the various nutritional information of food picture, food, such as heat, Ka Kuli, and dining room position, cuisine way etc. are believed Breath.
Wherein, the search condition of set food can be the name (including various another name) of food, food species, chemistry Composition, various nutritional information, the way of food, dining room position etc., also can include food in the grouped data searching Name (including various another name), food species, chemical composition, various nutritional information, the way of food, dining room position etc., this This is not any limitation as by inventive embodiments.
Assuming to carry out searching element according to the species of food, specifically, the species of food can include:
1st, cereal and potato class:Cereal includes rice, face, coarse cereals, and potato class includes potato, Ipomoea batatas etc.;
2nd, animal food:Including meat, fowl, fish, milk, egg etc.;
3rd, beans and goods thereof:Including soybean and other dry beans;
4th, vegetable and fruit class:Including fresh beans, rhizome, leaf vegetables, solanberry etc.;
5th, pure heat energy food:Including vegetable and animals oils, starch, table sugar and drinks.
Web crawlers will be on network, according to food species, goes to search the information corresponding to corresponding food species.
Step 202, for every food image in described at least one food image, therefrom extracts characteristic food item letter Breath.
The embodiment of the present invention can extract characteristic food item information from food image, for follow-up matched and searched behaviour Make.Wherein, characteristic food item information may refer to the contours profiles information of food.It is appreciated that every kind of food has oneself feature Point, such as banana, be the elongate in shape with certain special radian.
Step 203, by corresponding to every food image at least one food image and described food image described food Thing characteristic information stores to default food database.
The food image that server will collect, characteristic food item information and described food information etc., combination is saved in finger In fixed food database.
Step 204, receives the food image that a mobile terminal uploads.
Step 205, extracts characteristic food item information from described food image.
In one preferred embodiment of the invention, described step 205 can be following sub-step:
The contours profiles information of food is extracted from described food image.
Characteristic food item information can be the contours profiles information of food, therefore the server of the embodiment of the present invention is receiving shifting During the image that dynamic terminal uploads, first can extract contours profiles information from this image, in order to enter in food database Row searches the operation of coupling.
Step 206, uses described characteristic food item information, searches the food information of coupling from default food database;
Then and food database the embodiment of the present invention utilize image recognition first obtain the characteristic information of food image, The characteristic information of middle storage mates, and finds the immediate food species meeting scope.
In one preferred embodiment of the invention, described food database can include contours profiles information, described Step 206 can include following sub-step:
Calculate between the original contour appearance information in described contours profiles information and described default food database Matching degree;
When described matching degree reaches predetermined threshold value, obtain contours profiles information in described default food database corresponding Food information;
Described food information is defined as the food information of described food image.
Server is by the contours profiles information of extracted image, with the contours profiles information meter in food database Calculate matching degree, if both matching degrees reach predetermined threshold value, then obtain the contours profiles information in this food database corresponding Food information, as the food information of this food image.
Being appreciated that only identical image, otherwise matching degree is difficult to reach 100%, therefore in the embodiment of the present invention Defined in a threshold value, as long as matching degree reaches this threshold value, be considered as both coupling.For example, matching degree is more than 80%, so that it may To think that both mate.
In one preferred embodiment of the invention, described determination search condition can include:
When described matching degree is not reaching to predetermined threshold value, the contours profiles information of described food image is defined as search for bar Part.
Preferably, when not having corresponding food information in food database, then server can notify web crawlers, specially Door goes to capture the information of this food, is deposited into food database, facilitates user to directly invoke next time after then analyzing and processing.
If in addition, do not find the data of coupling in food database, then server can return and search for unsuccessfully Information, to mobile terminal, informs the relevant information that this food of user temporarily can not find.Wherein, information form can be Text, it is also possible to be window, or picture.
Described food information is sent to described mobile terminal by step 207.
In one preferred embodiment of the invention, described step 207 can include following sub-step:
Described food information is converted to preset data form;
Will convert into the described food information after described preset data form to send to described mobile terminal.
In actual applications, food information can comprise various information, needs to be packaged processing, that is to say and need Food information is carried out to the conversion of data form.The data form that such as server is sent to mobile terminal can be:
Food name # heat # calorie
After mobile terminal receives this data, then by " # " segmentation, extract food name, heat, these numbers of calorie respectively According to.
The recommendation method of the food information of the embodiment of the present invention, server by obtain on network original food image with And the corresponding original food information of original food image, and extract original characteristic food item information from original food image, protect together It is stored in food database.When receiving the food image that mobile terminal is uploaded, characteristic food item information will be extracted, and will food Thing characteristic information mates with the characteristic information in food database, thus obtains food information.
Outside the embodiment of the present invention can be by the food profile in the food contours profiles information of food image and database Shape information is mated, and when coupling reaches predetermined threshold, obtains corresponding food information and is sent to mobile terminal, further , it when coupling is not reaching to reservation threshold, from the food information corresponding to the unsuccessful food of internet hunt coupling, is stored in In food database.
The application embodiment of the present invention, solves in prior art owing to needing to rely on special instrument, causes analyzing food The problem that corresponding food information is time-consuming, difficulty is big, saving user needs to carry special instrument search of food material object and carries out The time of scanning analysis, also saving user needs to buy the cost of instrumentation.
Embodiment three
It with reference to Fig. 3, show the flow chart of steps of the recommendation method of a kind of food information that the embodiment of the present invention three provides, The method specifically can be with following steps:
Step 301, uploads food image to server.
Obtain food image in embodiments of the present invention on mobile terminals, and this food image is uploaded onto the server Side.
In one preferred embodiment of the invention, described step 301 can include following sub-step:
Obtain the food image that user shoots for food, or obtain the food that user shoots for existing food image Image.
In embodiments of the present invention, food image can be that user uses the food figure that mobile terminal shoots for food Picture, it is also possible to be that user uses the food image that mobile terminal shoots for existing food image.It is preferred that user is all right The image of oneself shooting non-is uploaded onto the server, such as downloads image, image in circle of friends etc. from network.
For example, it is assumed that user holds a banana, then shoot facing to it, then can be obtained by the image of this banana, Another situation, you face toward a banana picture shooting, then also can obtain the image of this banana.
In practice, the food image of mobile terminal shooting may be bigger, in order to save flow and improve transmission speed Degree, needs to carry out image procossing to food image, can be noise reduction process, for example, remove or bright the background of food image The key character information such as degree process, only retains the profile of food, color, it is also possible to be that food image is carried out cutting compression, example As ensure food profile on the premise of, by food image from 1000*1000 pixel boil down to 100*100 pixel.
Step 302, receives the food information that described server sends for described food image.
Described server is for extraction characteristic food item information from described food image, and uses described characteristic food item to believe Breath, searches the food information of coupling from default food database.
After whois lookup food information corresponding to food image, mobile terminal will receive the food of server feedback Thing information.
In order to make those skilled in the art be more fully understood that the embodiment of the present invention, below as a example by food, for the present invention Realize that the process being obtained food nutrition information by camera is illustrated.
With reference to Fig. 4, (food information includes food nutrition to show a kind of food nutrition information of the embodiment of the present invention three Information) process schematic recommended, initially set up a server, this server has powerful data acquisition and analyzes to obtain energy Power, builds food database in server, be used for storing the information such as food nutrition information, then this example realizes the following institute of process Show:
Step 401, server search on appointment platform meets at least one food image of search condition, and, extremely The corresponding food nutrition information of a few food image.
Step 402, server, for every food image at least one food image, therefrom extracts characteristic food item letter Breath, is stored with in food database with food nutrition information.
Step 403, server obtains the captured food image that mobile phone users uploads.
Step 404, server extracts characteristic food item information from food image.
Step 405, server, based on characteristic food item information, is searched and this characteristic food item letter from default food database The food nutrition information of breath coupling, it is recommended that give mobile phone users.
In the present embodiment, user not only can by the out and out food of shooting obtain food image get right Answer the nutritional information of food, it is also possible to carry out shooting by existing picture and obtain food image further, then recycling food Object image gets corresponding food nutrition information from server, after dining room so can have been avoided to have selected food, no Edibility thus wasting phenomenon.Meanwhile, the present embodiment has also provided a user with other relevant informations of this food, than Such as food way, cuisine etc. so that user need not manually search for network and obtain, and improves Consumer's Experience and efficiency.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action group Closing, but those skilled in the art should knowing, the embodiment of the present invention is not limited by described sequence of movement, because depending on According to the embodiment of the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should Knowing, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention implements Necessary to example.
Embodiment four
With reference to Fig. 5, showing the structured flowchart of a kind of server 500 of the embodiment of the present invention four, described server 500 can To include:Food image receiver module 501, the first characteristic food item information extraction modules 502, food information searches module 503, food Thing information sending module 504.
Food image receiver module 501, for receiving the food image that a mobile terminal uploads;
First characteristic food item information extraction modules 502, for the food image receiving from described food image receiver module Middle extraction characteristic food item information;
Food information searches module 503, special for the food extracting based on described first characteristic food item information extraction modules Reference ceases, and searches the food information with described characteristic food item information matches from default food database;
Food information sending module 504, the food information for described food information is searched module searches is sent to institute State mobile terminal.
The server 500 providing in another embodiment of the present invention can also include food image acquisition module 505, second Characteristic food item information extraction modules 506 and food information memory module 507, with reference to shown in Fig. 5 a.
Food image acquisition module 505, for obtaining at least one food image;
Second characteristic food item information extraction modules 506, for for every food in described at least one food image Image, therefrom extracts characteristic food item information;
Food information memory module 507, for by every food image at least one food image and described food The corresponding described characteristic food item information of image stores to default food database.
The server 500 providing in another embodiment of the present invention can also include search condition determining module 508 and food Thing information search module 509, with reference to shown in Fig. 5 b.
Search condition determining module 508, is used for determining search condition;
Food information search module 509, for specifying search on platform to meet the determination of described search condition determining module At least one food image of search condition, and, the corresponding food information of described at least one food image.
Second characteristic food item information extraction modules 506 described in the server 500 providing in another embodiment of the present invention is wrapped Include contours profiles information extraction submodule 5061, with reference to shown in Fig. 5 c.
Contours profiles information extraction submodule 5061, for extracting the contours profiles letter of food from described food image Breath.
The server 500 providing in another embodiment of the present invention, described food information is searched module 503 and can be included Degree of joining calculating sub module 5031, food information obtains submodule 5032 and food information determines submodule 5033, with reference to Fig. 5 d institute Show.
Matching degree calculating sub module 5031, for calculating in described contours profiles information and described default food database Original contour appearance information between matching degree;
Food information obtains submodule 5032, reaches default for the matching degree calculating when described matching degree calculating sub module During threshold value, obtain the corresponding food information of contours profiles information in described default food database;
Food information determines submodule 5033, and the food information obtaining for described food information obtains submodule determines Food information for described food image.
The server 500 providing in another embodiment of the present invention, described search condition determining module 508 includes searching for bar Part determines submodule 5081, with reference to shown in Fig. 5 e.
Search condition determines submodule 5081, for being not reaching to predetermined threshold value when described matching degree, by described food figure The contours profiles information of picture is defined as search condition.
The server 500 providing in another embodiment of the present invention, described food information sending module 504 can include number Send submodule 5042 according to form transform subblock 5041 and conversion data, with reference to shown in Fig. 5 f.
Data Format Transform submodule 5041, for being converted to preset data form by described food information;
Conversion data send submodule 5042, for being converted into described present count at described Data Format Transform submodule Send to described mobile terminal according to the described food information after form.
The server 500 providing in another embodiment of the present invention, described food information can at least include food picture, Food title, one or more in food nutrition information, described food nutrition information at least includes heat, calorie, dining room Position, cuisine, one or more in the way of cuisine.
Server 500 is capable of each process that in embodiment of the method, server realizes, for avoiding repeating, here no longer Repeat.
With reference to Fig. 6, show the structured flowchart of a kind of mobile terminal 600 of the embodiment of the present invention four, described mobile terminal 600 can include:
Transmission module 601 on food image, are used for uploading food image to server;
Food information receiver module 602, for receiving the food information that described server sends for described food image;
Described server is for extraction characteristic food item information from described food image, and uses described characteristic food item to believe Breath, searches the food information of coupling from default food database.
The server 600 providing in another embodiment of the present invention, on described food image, transmission module 601 can include food Object image shoots submodule 6011, with reference to shown in Fig. 6 a:
Food image shoots submodule 6011, is used for obtaining the food image that user shoots for food, or obtains user Food image for the shooting of existing food image.
Mobile terminal 600 is capable of each process that in embodiment of the method, mobile terminal realizes, for avoiding repeating, here Repeat no more.
So, the embodiment of the present invention extracts corresponding characteristic food item by mobile terminal from the food image that user is uploaded Information, and use this characteristic food item information, the food information finding coupling from default food database recommends user, The embodiment of the present invention needs not rely on some instrumentations to obtain the food information of food such that it is able to meet user profound Demand, improves food and recommends effect.
Embodiment five
Fig. 7 is the block diagram of the mobile terminal of another embodiment of the present invention.
Mobile terminal 700 shown in Fig. 7 includes:At least one processor the 701st, memory the 702nd, at least one network interface 704 and user interface 703.Each assembly in mobile terminal 700 is coupled by bus system 705.It is understood that bus System 705 is for realizing the connection communication between these assemblies.Bus system 705, in addition to including data/address bus, also includes electricity Source bus, control bus and status signal bus in addition.But for the sake of clear explanation, in the figure 7 various buses are all designated as always Wire system 705.
Wherein, user interface 703 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
The memory 702 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 702 of the system and method that the embodiment of the present invention describes is intended to include but does not limits In these memories with other applicable types any.
In some embodiments, memory 702 stores following element, executable module or data structure, or Their subset of person, or their superset:Operating system 7021 and application program 7022.
Wherein, operating system 7021, comprise various system program, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic business and process hardware based task.Application program 7022, comprises various application program, such as media Player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 7022.
In embodiments of the present invention, by calling program or the instruction of memory 702 storage, concrete, can be application The program storing in program 7022 or instruction, processor 701 is used for uploading food image to server;Receive described server pin The food information that described food image is sent;Described server is used for extracting characteristic food item information from described food image, And use described characteristic food item information, from default food database, search the food information of coupling.
The method that the invention described above embodiment discloses can apply in processor 701, or is realized by processor 701. Processor 701 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or perform the disclosed each method in the embodiment of the present invention, step and box Figure.The processor etc. that general processor can be microprocessor or this processor also can be any routine.In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform to complete, or uses decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this areas such as program read-only memory or electrically erasable programmable memory, register.This storage Medium is positioned at memory 702, and processor 701 reads the information in memory 702, completes the step of said method in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention describe these embodiments can with hardware, software, firmware, middleware, Microcode or a combination thereof realize.
Realizing for hardware, processing unit can be implemented in one or more special IC (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, for performing other electronics lists of herein described function In unit or a combination thereof.
Software is realized, can be come by the module (such as process, function etc.) performing function described in the embodiment of the present invention Realize the technology described in the embodiment of the present invention.Software code is storable in memory and is performed by processor.Memory can To realize within a processor or outside processor.
Alternatively, processor 701 is additionally operable to:Obtain the food image that shoot for food of user, or acquisition user for The food image of existing food image shooting.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here Repeat no more.
The embodiment of the present invention extracts corresponding characteristic food item information by mobile terminal from the food image that user is uploaded, And using this characteristic food item information, the food information finding coupling from default food database recommends user, this Bright embodiment needs not rely on some instrumentations to obtain the food information of food such that it is able to meet the profound need of user Ask, improve food and recommend effect.
Embodiment six
Fig. 8 is the structural representation of the mobile terminal of another embodiment of the present invention.
Specifically, the mobile terminal 800 in Fig. 8 can be mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 800 in Fig. 8 includes that the 820th, radio frequency (RadioFrequency, RF) circuit the 810th, memory inputs singly Unit the 830th, display unit the 840th, processor the 860th, voicefrequency circuit the 870th, WiFi (WirelessFidelity) module 880 and power supply 890.
Wherein, input block 830 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal The user setup of 800 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 830 can To include contact panel 831.Contact panel 831, also referred to as touch-screen, can collect touch operation on or near it for the user (such as user uses any applicable object such as finger, stylus or operation on contact panel 831 for the annex), and according in advance The formula setting drives corresponding attachment means.Optionally, contact panel 831 can include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give this processor 860 again, and can the order sent of reception processing device 860 being performed.Furthermore, it is possible to employing resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input block 830 can also include other input equipments 832, and other input equipments 832 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 840 can be used for showing the information being inputted by user or the information being supplied to user and movement The various menu interfaces of terminal 800.Display unit 840 can include display floater 841, optionally, can use LCD or organic The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display floater 841.
It should be noted that contact panel 831 can cover display floater 841, formed and touch display screen, when the inspection of this touch display screen After measuring the touch operation on or near it, send processor 860 to determine the type of touch event, with preprocessor 860 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can distinguish two for be arranged above and below, left-right situs etc. and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area Also can be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, for example, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 860 is the control centre of mobile terminal 800, utilizes various interface and the whole mobile phone of connection Various piece, the software program being stored in first memory 821 by operation or execution and/or module, and call storage Data in second memory 822, perform various function and the process data of mobile terminal 800, thus to mobile terminal 800 Carry out integral monitoring.Optionally, processor 860 can include one or more processing unit.
In embodiments of the present invention, by call the software program storing in this first memory 821 and/or module and/ Or the data in this second memory 822, processor 860 is used for uploading food image to server;Described server is used for Pass food image to server;Receive the food information that described server sends for described food image;Described server is used In extraction characteristic food item information from described food image, and use described characteristic food item information, from default food database The middle food information searching coupling.
Alternatively, obtain the food image that user shoots for food, or acquisition user claps for existing food image The food image taken the photograph.
Visible, the embodiment of the present invention extracts corresponding characteristic food item by mobile terminal from the food image that user is uploaded Information, and use this characteristic food item information, the food information finding coupling from default food database recommends user, The embodiment of the present invention needs not rely on some instrumentations to obtain the food information of food such that it is able to meet user profound Demand, improves food and recommends effect.
Those of ordinary skill in the art are it is to be appreciated that combine that the disclosed embodiments in the embodiment of the present invention describe is each The unit of example and algorithm steps, can being implemented in combination in electronic hardware or computer software and electronic hardware.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realize.For example, device embodiment described above is only schematically, for example, and the division of described unit, only Dividing for a kind of logic function, actual can have when realizing other dividing mode, for example multiple unit or the assembly can be in conjunction with Or it is desirably integrated into another system, or some features can be ignored, or do not perform.Another point, shown or discussed phase Coupling between Hu or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication Connect, can be electrical, machinery or other form.
The described unit illustrating as separating component can be or may not be physically separate, shows as unit The parts showing can be or may not be physical location, i.e. may be located at a place, or also can be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions are with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (20)

1. the recommendation method of a food information, it is characterised in that include:
Receive the food image that a mobile terminal uploads;
Characteristic food item information is extracted from described food image;
Based on described characteristic food item information, from default food database, search the food with described characteristic food item information matches Information;
Described food information is sent to described mobile terminal.
2. method according to claim 1, it is characterised in that at the described food image receiving a mobile terminal upload Before step, described method also includes:
Obtain at least one food image;
For every food image in described at least one food image, therefrom extract characteristic food item information;
Corresponding to every food image at least one food image and described food image described characteristic food item information is deposited In the food database that storage is extremely preset.
3. method according to claim 2, it is characterised in that described acquisition at least one food image step it Before, described method includes:
Determine search condition;
At at least one food image specifying search on platform to meet described search condition, and, described at least one food The corresponding food information of image.
4. method according to claim 1, it is characterised in that the described step extracting characteristic food item information from food image Suddenly, including:
The contours profiles information of food is extracted from described food image.
5. method according to claim 4, its feature spy is, described based on described article characteristics information, from default The step searching the food information of coupling in food database, including:
Calculate the coupling between the original contour appearance information in described contours profiles information and described default food database Degree;
When described matching degree reaches predetermined threshold value, obtain the corresponding food of contours profiles information in described default food database Thing information;
Described food information is defined as the food information of described food image.
6. the method according to claim 3 or 4, it is characterised in that the step of described determination search condition, including:
When described matching degree is not reaching to predetermined threshold value, the contours profiles information of described food image is defined as search condition.
7. method according to claim 1, it is characterised in that the described step that food information is sent to described mobile terminal Suddenly, including:
Described food information is converted to preset data form;
Will convert into the described food information after described preset data form to send to described mobile terminal.
8. method according to claim 1, it is characterised in that described food information at least includes food picture, food name Claiming, one or more in food nutrition information, described food nutrition information at least includes heat, calorie, dining room position, dish Formula, one or more in the way of cuisine.
9. the recommendation method of a food information, it is characterised in that include:
Upload food image to server;
Receive the food information that described server sends for described food image;
Described server is for extraction characteristic food item information from described food image, and uses described characteristic food item information, from The food database preset is searched the food information of coupling.
10. method according to claim 9, it is characterised in that the step of described upload food image to server, bag Include:
Obtain the food image that user shoots for food, or obtain the food figure that user shoots for existing food image Picture.
11. 1 kinds of servers, it is characterised in that include:
Food image receiver module, for receiving the food image that a mobile terminal uploads;
First characteristic food item information extraction modules, for extracting food from the food image that described food image receiver module receives Thing characteristic information;
Food information searches module, for the characteristic food item information extracted based on described first characteristic food item information extraction modules, The food information with described characteristic food item information matches is searched from default food database;
Food information sending module, the food information for described food information is searched module searches is sent to described mobile whole End.
12. servers according to claim 11, it is characterised in that also include:
Food image acquisition module, for obtaining at least one food image;
Second characteristic food item information extraction modules, for for every food image in described at least one food image, from Middle extraction characteristic food item information;
Food information memory module, for by corresponding with described food image for every food image at least one food image Described characteristic food item information store to default food database.
13. servers according to claim 12, it is characterised in that include:
Search condition determining module, is used for determining search condition;
Food information search module, for specifying search on platform to meet the search bar that described search condition determining module determines At least one food image of part, and, the corresponding food information of described at least one food image.
14. servers according to claim 11, it is characterised in that described second characteristic food item information extraction modules bag Include:
Contours profiles information extraction submodule, for extracting the contours profiles information of food from described food image.
15. servers according to claim 14, its feature spy is, described food information is searched module and included:
Matching degree calculating sub module, original takes turns for calculate in described contours profiles information and described default food database Matching degree between wide appearance information;
Food information obtains submodule, is used for when the matching degree that described matching degree calculating sub module calculates reaches predetermined threshold value, Obtain the corresponding food information of contours profiles information in described default food database;
Food information determines submodule, and the food information obtaining for described food information obtains submodule is defined as described food The food information of object image.
16. servers according to claim 13 or 14, it is characterised in that described search condition determining module includes:
Search condition determines submodule, for being not reaching to predetermined threshold value when described matching degree, by the profile of described food image Appearance information is defined as search condition.
17. servers according to claim 11, it is characterised in that described food information sending module includes:
Data Format Transform submodule, for being converted to preset data form by described food information;
Conversion data send submodule, and being used for will be after described Data Format Transform submodule be converted into described preset data form Described food information send to described mobile terminal.
18. servers according to claim 11, it is characterised in that described food information at least includes food picture, food Name claims, one or more in food nutrition information, and described food nutrition information at least includes heat, calorie, dining room position Put, cuisine, one or more in the way of cuisine.
19. 1 kinds of mobile terminals, it is characterised in that include:
Transmission module on food image, is used for uploading food image to server;
Food information receiver module, for receiving the food information that described server sends for described food image;
Described server is for extraction characteristic food item information from described food image, and uses described characteristic food item information, from The food database preset is searched the food information of coupling.
20. mobile terminals according to claim 19, it is characterised in that on described food image, transmission module includes:
Food image shoots submodule, is used for obtaining the food image that user shoots for food, or obtains user for Food image shooting food image.
CN201610514286.4A 2016-06-30 2016-06-30 Food information recommendation method, server and mobile terminal Pending CN106445992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610514286.4A CN106445992A (en) 2016-06-30 2016-06-30 Food information recommendation method, server and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610514286.4A CN106445992A (en) 2016-06-30 2016-06-30 Food information recommendation method, server and mobile terminal

Publications (1)

Publication Number Publication Date
CN106445992A true CN106445992A (en) 2017-02-22

Family

ID=58183222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610514286.4A Pending CN106445992A (en) 2016-06-30 2016-06-30 Food information recommendation method, server and mobile terminal

Country Status (1)

Country Link
CN (1) CN106445992A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273678A (en) * 2017-06-09 2017-10-20 张碧波 A kind of food nourishment composition based on smart mobile phone automatically analyzes calculating system
CN107633874A (en) * 2017-08-31 2018-01-26 维沃移动通信有限公司 A kind of generation method and mobile terminal for cooking advisory information
CN107682401A (en) * 2017-09-01 2018-02-09 深圳市盛路物联通讯技术有限公司 Information inspection method and relevant device
CN107957690A (en) * 2017-11-29 2018-04-24 佛山市因诺威特科技有限公司 A kind of method, apparatus and storage medium for controlling household electrical appliances
CN108694993A (en) * 2017-04-07 2018-10-23 中华映管股份有限公司 healthy diet management method
CN109300526A (en) * 2018-11-06 2019-02-01 维沃移动通信有限公司 A kind of recommended method and mobile terminal
CN109344696A (en) * 2018-08-14 2019-02-15 上海常仁信息科技有限公司 A kind of points-scoring system and method based on vegetable identification
CN109508401A (en) * 2018-11-23 2019-03-22 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN110020609A (en) * 2019-03-15 2019-07-16 吕丹青 A kind of method, system and storage medium for analyzing food
CN110084663A (en) * 2019-03-14 2019-08-02 北京旷视科技有限公司 A kind of item recommendation method, device, terminal and storage medium
CN111435455A (en) * 2019-01-14 2020-07-21 珠海格力电器股份有限公司 Picture processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088111A1 (en) * 2008-09-30 2010-04-08 Bailey Steven W System and method for obtaining, processing and evaluating individual blood type and ayurvedic core constitution (prakruti) to construct a personalized health risk assessment report
CN104021207A (en) * 2014-06-18 2014-09-03 厦门美图之家科技有限公司 Food information providing method based on image
CN105022811A (en) * 2015-07-06 2015-11-04 深圳市金立通信设备有限公司 Menu generating method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088111A1 (en) * 2008-09-30 2010-04-08 Bailey Steven W System and method for obtaining, processing and evaluating individual blood type and ayurvedic core constitution (prakruti) to construct a personalized health risk assessment report
CN104021207A (en) * 2014-06-18 2014-09-03 厦门美图之家科技有限公司 Food information providing method based on image
CN105022811A (en) * 2015-07-06 2015-11-04 深圳市金立通信设备有限公司 Menu generating method and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李海生: "《知识管理技术与应用》", 30 April 2012 *
龚赤兵等: "《Java面向对象程序设计实训教程》", 31 December 2005 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694993A (en) * 2017-04-07 2018-10-23 中华映管股份有限公司 healthy diet management method
CN107273678A (en) * 2017-06-09 2017-10-20 张碧波 A kind of food nourishment composition based on smart mobile phone automatically analyzes calculating system
CN107633874A (en) * 2017-08-31 2018-01-26 维沃移动通信有限公司 A kind of generation method and mobile terminal for cooking advisory information
CN107682401A (en) * 2017-09-01 2018-02-09 深圳市盛路物联通讯技术有限公司 Information inspection method and relevant device
CN107957690A (en) * 2017-11-29 2018-04-24 佛山市因诺威特科技有限公司 A kind of method, apparatus and storage medium for controlling household electrical appliances
CN109344696A (en) * 2018-08-14 2019-02-15 上海常仁信息科技有限公司 A kind of points-scoring system and method based on vegetable identification
CN109300526A (en) * 2018-11-06 2019-02-01 维沃移动通信有限公司 A kind of recommended method and mobile terminal
CN109508401A (en) * 2018-11-23 2019-03-22 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN111435455A (en) * 2019-01-14 2020-07-21 珠海格力电器股份有限公司 Picture processing method and device
CN110084663A (en) * 2019-03-14 2019-08-02 北京旷视科技有限公司 A kind of item recommendation method, device, terminal and storage medium
CN110020609A (en) * 2019-03-15 2019-07-16 吕丹青 A kind of method, system and storage medium for analyzing food

Similar Documents

Publication Publication Date Title
CN106445992A (en) Food information recommendation method, server and mobile terminal
Min et al. A survey on food computing
CN103336836B (en) Page search method and page search device
CN103810284A (en) Kitchen management method and device
CN107404577B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN106022989A (en) Dish recommending method, dish recommending device, and electronic device
CN105335365A (en) Method and apparatus for placing order, server and terminal
Mariappan et al. Personal dietary assessment using mobile devices
CN109635198A (en) The method, apparatus of presentation user's search result, medium and electronic equipment on merchandise display platform
CN111811182B (en) Refrigerator and recipe recommendation method
CN106293705A (en) A kind of collecting method and mobile terminal
CN106407259A (en) Cookbook determination method and mobile terminal
CN106503078A (en) A kind of recommendation method of application program, server and mobile terminal
CN110931109A (en) Diet condition analysis method and system
CN105740481A (en) Search recommending method and device
CN114741588A (en) Target electronic menu recommendation method and device, cooking equipment and terminal equipment
Yanai et al. A Cooking Recipe Recommendation System with Visual Recognition of Food Ingredients.
Kumar et al. Analysis of different techniques used to reduce the food waste inside the refrigerator
CN106919572A (en) web search method and browser
Wang et al. Determining the production lot size with a heuristic inspection policy for controlling the quality of input materials and products
Kaiya et al. Design and implementation of meal information collection system using IoT wireless tags
CN109639888A (en) Electronic device, information-pushing method and Related product
CN108630297A (en) A kind of information processing method and equipment
CN114882973A (en) Daily nutrient intake analysis method and system based on standard food recognition
US20180218461A1 (en) Meal-kit menu development system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication