Food Image to the Recipe Generator
***
Abstract - We intend to use image classification to detect which food dish it is and recommend recipes based on that detection. When it comes to food, there are lots of options and unexplored dishes people might not be aware of. While there are applications that can recommend users with recipes that they search for, ours will use image classification to identify the food dish and suggest related recipes based on its image.
It is possible to capture the input image or to choose it from food images already present in the mobile device's camera. Deep learning convolutional neural network will be used for the classification, as well as for the recipe recommendation.
It
1.INTRODUCTION
People these days are increasingly aware of the importance of what they eat, so that they will make better nutritional decisionspertainingtotheirhealth,livelihood,emotions,andculture.Foodisafundamentalpartofthehumanexperience. It impactsourhealth,ourlivelihood,ouremotions,andourculture.Despitethis,manypeopledonotknowwheretostart.
Inordertohelppeopleachievetheirhealthgoals,wecreatedanapplicationtohelpthembetterunderstandandcontroltheir food consumption. We are creating a system that accepts an image of a meal as input, and then outputs recipes and nutritionaldatathatarecloselyrelatedtoit.Ausercanchoosefromseveralrelatedrecipesgivenaparticularinputimagein Snap N Eat,andeachoftheserecipesareaccompaniedbynutritionalinformationinordertoassistpeopleinmakingbetter nutritionaldecisions.
In addition to creating a more sophisticated understanding of health and diet, the platform could allow users to express themselveswithnewrecipesandcookingtechniques.
1.1 Dataset
DatasetsrelatedtoIndianfoodareincludedinthisdataset.ThemostcommonlyusedrecipeisselectedfromKaggle.
Thisdatabaseincludes4000imagescategorisedin80differentclassesorcategories.AsIndiancuisineconsistsofavariety of regionalandtraditionalcuisinesnativetotheIndiansubcontinent.Giventhediversityinsoil,climate,culture,ethnicgroups, andoccupations,thesecuisinesvarysubstantiallyanduselocallyavailablespices,herbs,vegetables,andfruits.
UsingJupyterNotebook,wecleanedandbuiltthemodel.
1.2 MobileNet Model
Intermsofmobilevision,MobileNetisaCNNarchitecturemodelforimageclassificationappliedtomobiledevices.Thereare other models as well, but what makes MobileNet different is that it requires very little processor power to run and applies transferlearning.
This makes it a great fit for mobile devices, embedded systems, and computers without fast graphics processors or low computational efficiency without sacrificing accuracy significantly. This method also works well with web browsers since theyarelimitedbycomputation,graphicprocessing,andstorage.
International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p ISSN:2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page3303
Nishant R Gawade1, Raj A Jadhav2, Srushti S Mane3, Jyoti Gaikwad4 1,2,3Student, Computer Engineering Department, Mumbai University, Datta Meghe College Of Engineering, Navi Mumbai, Maharashtra, India 4Assistant Professor, Computer Engineering Department, Mumbai University, Datta Meghe College Of Engineering, Navi Mumbai, Maharashtra, India
can be implemented through a hybrid system that employs a recommendation approach.
MobileNet
International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p ISSN:2395 0072
Architecture In this paper, MobileNets are proposed for embedded vision and mobile applications, whichuse depth separable convolutionsforbuildinglightweightdeepneuralnetworks. Therearetwosimpleglobalhyper parametersthatenablelatencyandaccuracytobetradedoffefficiently. MobileNet'score layerisDepthwiseSeparableConvolution, whichisanarrayof depthwiseseparable filters.Anotherfactor thatcontributestoperformanceisthenetworkstructure.Lastly,thewidthandresolutioncanbeadjustedtotradeofflatency withaccuracy. Fig1:ShowstheaccuracyoftheUser’sInput Fig2:LinearGraph © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page3304
Model
International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p ISSN:2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page3305 2. Deployment
Themodelwasthenconvertedtoatflitefliteandsavedintodirectory. Furthermore,ourmobileapplicationisdevelopedusingFlutter,whileweusewebscrapingtoprovidetherecipesenteredby ourusers.Thismodelisloadedintoourmobileapplication.Andwearereadytohelppeopleandchangetheirlifestyleswith ourapp. Fig3:LoginPage Fig4:SignUpPage
International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p ISSN:2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page3306 Fig5:HomePage Fig6:Searching
International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p ISSN:2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page3307 Fig7:
ResultofdesiredInput
3.CONCLUSIONS Thegoalofthisprojectistocreatesoftwarethatwillhelppeoplesothattheywillmakebetternutritionaldecisions pertainingtotheirhealthandlifestyle. FinallywebuildamobileapplicationusingtheMobileNetmodelwhichisfasterinperformanceandidealformobile applications.Asaresultofthisreport,wehopethatpeoplewillbeabletotakeonestepclosertolivingahealthylife. REFERENCES 1. The mode In this research paper we came to know that for detecting and recognizing food images using Convolution Neural Networks gives accuracy more than that of the traditional Support Vector Machine.*LRN https://www.researchgate.net/publication/266357771_Food_Detection_and_Recognition_Using_Convolutional_ Neural_ Network 2. Machine Learning Based Recommendation systems “International Journal of Engineering Development and Research (www.ijedr.org)”https://ijedr.org/papers/IJEDR1404092.pdf 3. HybridRecommendationEnginewithWebScrapingandSentimentAnalysis“InternationalJournal ofComputerSciences andEngineeringhttps://www.ijcseonline.org/spl_pub_paper/5 MLDI2019 11.pdf