technology logo
technology logo

Price recommendation with people counting kit

share link

by suriya dot icon Updated: Sep 9, 2021

Solution Kit Solution Kit  

Restaurant Business Analytics for the price, discount, etc prediction with people counting web app Innovative solution for gaining profit in standalone startup restaurants. According to many reports, the main factor that determines a restaurant's profit is the people count. So we have proposed a solution where a restaurant's past history of prices, dishes, and such factor's transaction has been taken into account and providing a recommendation for the price to be fixed for a particular day, the dish quantity to be prepared, etc. Trend analysis is much more important, for that we use tableau, which provides real-time public inference on data, here the owners can check their past transaction and analyze the trend. Use the open source, cloud APIs, or public libraries listed below in your application development based on your technology preferences, such as primary language. The below list also provides a view of the components' rating on different dimensions such as community support availability, security vulnerability, and overall quality, helping you make an informed choice for implementation and maintenance of your application. Please review the components carefully, having a no license alert or proprietary license, and use them appropriately in your applications. Please check the component page for the exact license of the component. You can also get information on the component's features, installation steps, top code snippets, and top community discussions on the component details page. The links to package managers are listed for download, where packages are readily available. Otherwise, build from the respective repositories for use in your application. You can also use the source code from the repositories in your applications based on the respective license types.

Data gathering and cleaning

Handpicked data of restaurant prices, dish count, etc, and preprocessing using pandas and NumPy would give us clean data for modelling, the data is raw, formatting for our use is the key to good accuracy.

pandasby pandas-dev

Python doticonstar image 38499 doticonVersion:v2.0.2doticon
License: Permissive (BSD-3-Clause)

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

Support
    Quality
      Security
        License
          Reuse

            pandasby pandas-dev

            Python doticon star image 38499 doticonVersion:v2.0.2doticon License: Permissive (BSD-3-Clause)

            Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
            Support
              Quality
                Security
                  License
                    Reuse

                      People Counting

                      After done with the data, we can use the pre-trained model and tune it to do non-max suppression to get prediction only for people. And get predictions as the people count, in selected areas. Tracking is necessary to know when people come into the frame and track them till they move out, for that Dlib and OpenCV libraries are used.

                      Object-Detectionby sidpro-hash

                      Python doticonstar image 4 doticonVersion:Currentdoticon
                      no licences License: No License (null)

                      object detection using SSD Mobile Net v3

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                Object-Detectionby sidpro-hash

                                Python doticon star image 4 doticonVersion:Currentdoticonno licences License: No License

                                object detection using SSD Mobile Net v3
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          tensorflowby tensorflow

                                          C++ doticonstar image 175043 doticonVersion:v2.13.0-rc0doticon
                                          License: Permissive (Apache-2.0)

                                          An Open Source Machine Learning Framework for Everyone

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    tensorflowby tensorflow

                                                    C++ doticon star image 175043 doticonVersion:v2.13.0-rc0doticon License: Permissive (Apache-2.0)

                                                    An Open Source Machine Learning Framework for Everyone
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              opencvby opencv

                                                              C++ doticonstar image 69057 doticonVersion:4.7.0doticon
                                                              License: Permissive (Apache-2.0)

                                                              Open Source Computer Vision Library

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        opencvby opencv

                                                                        C++ doticon star image 69057 doticonVersion:4.7.0doticon License: Permissive (Apache-2.0)

                                                                        Open Source Computer Vision Library
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  dlibby davisking

                                                                                  C++ doticonstar image 11985 doticonVersion:v19.24.2doticon
                                                                                  License: Permissive (BSL-1.0)

                                                                                  A toolkit for making real world machine learning and data analysis applications in C++

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            dlibby davisking

                                                                                            C++ doticon star image 11985 doticonVersion:v19.24.2doticon License: Permissive (BSL-1.0)

                                                                                            A toolkit for making real world machine learning and data analysis applications in C++
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      Recommendation and Time series

                                                                                                      The main idea here is to recommend prices to restaurant owners with respect to the people count for the future. So with the cleaned data, we model it using the prophet model from the Facebook research do time series analysis i.e to predict the future values and then apply dlrm a recommender system model and recommend people the right dish with respect to the past history, and recommend a price to the owners with respect to the people count.

                                                                                                      scikit-learnby scikit-learn

                                                                                                      Python doticonstar image 54399 doticonVersion:1.2.2doticon
                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                      scikit-learn: machine learning in Python

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                scikit-learnby scikit-learn

                                                                                                                Python doticon star image 54399 doticonVersion:1.2.2doticon License: Permissive (BSD-3-Clause)

                                                                                                                scikit-learn: machine learning in Python
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          recommendersby tensorflow

                                                                                                                          Python doticonstar image 1575 doticonVersion:v0.7.3doticon
                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                          TensorFlow Recommenders is a library for building recommender system models using TensorFlow.

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    recommendersby tensorflow

                                                                                                                                    Python doticon star image 1575 doticonVersion:v0.7.3doticon License: Permissive (Apache-2.0)

                                                                                                                                    TensorFlow Recommenders is a library for building recommender system models using TensorFlow.
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              prophetby facebook

                                                                                                                                              Python doticonstar image 15918 doticonVersion:v1.1.3-patcheddoticon
                                                                                                                                              License: Permissive (MIT)

                                                                                                                                              Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        prophetby facebook

                                                                                                                                                        Python doticon star image 15918 doticonVersion:v1.1.3-patcheddoticon License: Permissive (MIT)

                                                                                                                                                        Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  dlrmby facebookresearch

                                                                                                                                                                  Python doticonstar image 3416 doticonVersion:Currentdoticon
                                                                                                                                                                  License: Permissive (MIT)

                                                                                                                                                                  An implementation of a deep learning recommendation model (DLRM)

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            dlrmby facebookresearch

                                                                                                                                                                            Python doticon star image 3416 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                            An implementation of a deep learning recommendation model (DLRM)
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      Deployment

                                                                                                                                                                                      The detection model(counting model) with the price recommendation model, all wrapped and connect as a single application(a web app). Streamlit is an easy-to-use deployment framework, particularly for machine learning.

                                                                                                                                                                                      streamlitby streamlit

                                                                                                                                                                                      Python doticonstar image 24943 doticonVersion:1.22.0doticon
                                                                                                                                                                                      License: Permissive (Apache-2.0)

                                                                                                                                                                                      Streamlit — A faster way to build and share data apps.

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                streamlitby streamlit

                                                                                                                                                                                                Python doticon star image 24943 doticonVersion:1.22.0doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                Streamlit — A faster way to build and share data apps.
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          Application

                                                                                                                                                                                                          The above process is deployed as a web app, this repo contains the structure to be made for creating a new one, the app is deployed, check out the repo!

                                                                                                                                                                                                          HTML doticonstar image 1 doticonVersion:Currentdoticon
                                                                                                                                                                                                          no licences License: No License (null)

                                                                                                                                                                                                          Restaurant Business Analytics for price, discount etc prediction with people counting web app

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    Business-Analytics-with-People-Counterby suriya-it19

                                                                                                                                                                                                                    HTML doticon star image 1 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                                                                                                    Restaurant Business Analytics for price, discount etc prediction with people counting web app
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              See similar Kits and Libraries