The main purpose of public distribution system is to ensure that the citizens of India will get an ample amount of food material based on their financial conditions. Still the goal is not achieved due to problems like distribution of false ration, corruption, illegal smuggling of goods. Thus, only government authorities in the head office have the authority to access information regarding existing stock and the incoming stock. Manual work should need to replace by a fully automated electronic methodologies with the help of Arduino controllers which is going to measure the goods accurately, update the information regarding ration distribution, transactions and ration card holder information in a digital format on the centralized database.
The conventional system of public Ration Distribution was established by Indian Government in February 1944 under the department of Ministry of Consumer Affairs, Food and Public Distribution to distribute essential food and fuel items to the people below poverty line. There are various ration shops in several states across the country. In order to get the ration, people have to go to the ration card which contains all the details such as address, name and age of all family members. There is a fixed amount of ration to be given to the customer and the entry of transaction is made in ration card. This is the complete process that is carried out. However, this system has loopholes too. 
Many a times customers are fooled by giving them the less quality and a poor-quality ration. Thus, ending up paying more money for the less quantity and quality of ration. The advantage of this situation is taken by the people working in ration stores. They often manipulate the records of ration for their personal benefits. It gives rise to corruption. As the process is manual and there is no central database to monitor the activities of ration shops, there is no transparency in this system. Even if customers find any trickery, there is no complaint system for the same and hence people suffer due to this. 
Therefore, we have proposed an automated ration distribution system which is the primary solution to existing problems. Making use of Internet of Things (IoT) can help to remove many problems. The mistakes made by ration distribution system can be avoided by using an AI/ML ration card distribution system.
II. PROPOSED SYSTEM
In the proposed system, the first step is Registration where user have to fill the Registration details available on the form such as name, mobile number, Aadhaar card number, address, etc. After registration, the user Aadhaar card number is used for future identification of user. 
At the time of registration, facial characteristics of users are mapped for the face recognition module and the mapping is done by face application programming interface (Api) so as to authenticate users each time they visit ration shop by using resnet-34 architecture, a 34-layer convolutional neural network. 
After authentication, the server checks the amount of ration quantity to be distributed to the user to call payment gateway modules for online transactions. Razorpay Sofware Development Kit is used for the payment modules. It's totally the user’s choice whether to pay using debit card, UPI, online banking or on-hand cash. 
After a successful payment transaction, the hardware part gets activated. It includes a servo motor to start distribution, whereas load cell to measure the weight, after getting a successful ration distribution signal from load cell by using web sockets, the servo motor stops. 
Upon successful distribution of ration, entry is made and the centralized database is updated by using Restful Api’s and ration distribution confirmation short message service (SMS) get sent to registered mobile number with Aadhaar card number of user by using third party SMS Api. 
III. LITERATURE SURVEY
Ration Distribution For Poor and Needy People By Smart Ration Card Automation System
Ravindra Jogekar, Rutuja Gavale, Ravi Singh, Tejas Padole, Urvi Khakkar
RFID Tag instead of ration card.
No data encryption while transferring.
Quite easy to manipulate RFID layer
A Smart Public Ration Distribution System
Shubham Maheshwari, Mukesh Tiwari
A 4-digit password-based security, RFID card for individual ration card identification
No backend server to get response from electronic devices.
Low end encryption security.
Smart Ration Distribution System
Mayuri Patil, Rutuja Patil
Aadhaar card instead of ration card
Authentication layer needed to prevent
Smart rationing system
Surbhi Surkar, S. B. Somali, Rajkumar D. Komati
Authentication process will be through SMS and Aadhaar card
Not a scalable architecture to maintain database calls
Radio Frequency Identification (RFID) for security
Anybody carrying RFID of someone else can collect the ration
The paper on “Ration distribution For Poor and Needy People By Smart Ration Card Automation System” discusses automation in India's ration distribution system, where ration get distributed using automation system but the use of RFIDs for user identification dim’s its security module. 
The paper on “Smart Ration Distribution System” also discusses how the public ration distribution can be done but doesn’t have a security authentication layer so corruption will not get solved. 
The paper on “A Smart Public Ration Distribution System” discusses how smartly the public ration distribution can be done, where ration distribution with security layer to control the corruption in India. 
The paper on “Smart rationing system” discusses how public ration distribution can be done with a system which has authentication security layer processes with Aadhaar card number and one time password system on user mobile number. But it doesn’t have proper monolithic scalable architecture to maintain the database calls. 
The paper on “Smart Ration Distribution System” indeed discusses the smart ration distribution module system perhaps its security layer should have some agile methodology to reduce a corruption. 
Above papers still have a void over authentication and scalable monolithic architecture, which needed the most to solve it, a need of proper backend server like a NodeJS, spring boot to achieve scalability and security for users.
 Er. Ravindra Jogekar, Ms. Rutuja Gavale, Ms. Urvi Khakkar, Mr. Ravi singh, Mr. Ravi Singh, Mr. Tejas Padole “Ration Distribution For Poor and Needy By Smart Ration Card Automation System” on a International Conferene on Computational Techniques 2021. (Vol. 1, Issue 22 June 2021, page 48)
 Er. Ravindra Jogekar, Ms. Rutuja Gavale, Ms. Urvi Khakkar, Mr. Ravi Singh, Mr. Tejas Padole “Ration Distribution For poor and needy People by Smart Ration Card Automation System” (Vol. 1, Issue 18 Nov 2021)
 Sonali C. Parit 1, Mayuri K. Patil2, Rutuja S. Patil3 “Smart Ration Distribution System” International Journal for Research in Applied Science & Engineering Technology (IJRASE Volume 6 issue on 5 May 2018, page no 56).
 Shubham Maheshwari 1, Mukesh Tiwari 2 MTech Student, Department of Electronics and Communication, SSSIST “A Smart Public Ration Distribution System” (Vol.4, Issue 3, March 2016, page no 36-69)
 Surbhi Surkar, S.B. Somani, Rajkumar D. Komati ME Student, Department, India Assistant Professor, Department of Electronics and Telecommunication MAEER’S MIT College of Engineering, Kothrud, Pune (Maharashtra), India “Smart Rationing System” (Vol. 6 Issue 10, Octo 2017, page no. 61-75)
 Tarun Kumar, Shivani Sharma, Ankush Raina, Nikhil Pathania “SMART RATION DISTRIBUTION SYSTEM” (Vol. 2 Issue 4, April 2017, page no. 21-24)
 Ravindra Jogekar, Dr. Nandita Tiwari, “Recognition of plant disease by photographs of the leaf: A comparative analysis for understanding perspectives” International Journal of Future Generation Communication and Networking (Vol. 13, No. 3, (2020), pp. 3516–3526)
 Ravindra Jogekar and Tiwari Nandita, “Unconventional technique for improving farmer yields by exposing and mitigating foliage diseases in an extensively adaptable deep learning and computational model through microbiological vegetation assessment” Plant Cell Biotechnology and Molecular Biology 21(43 & 44):16-30; 2020, pp 16-30, ISSN: 0972-2025. Scopus Indexed/UGC Care.
 Ravindra Jogekar, Tiwari Nandita, “Enhanced adaptive creation of visualisation network by detection of leaves”, Materials Today: Proceedings, 2021, ISSN 2214-7853, https://doi.org/10.1016/j.matpr.2021.01.506. Scopus Indexed/UGC Care.
 Ravindra Jogekar and Tiwari N, “A review of deep learning techniques for identification and diagnosis of plant leaf disease”, Smart Trends in Computing and Communications: Proceedings of SmartCom 2020, Advances in Intelligent Systems and Computing, Vol. 182. Springer, Singapore. ISBN 978-981-15-5223-6, (2020). Scopus Indexed/UGC Care.
 Razorpay Docs for payment integration https://razorpay.com/docs
 Hashing in Computer Science: Fifty Years of Slicing and Dicing Bo-ok by Alan G. Konheim, article name BcryptJS, page number
 JWT with SHA 256 Algorithm https://www.npmjs.com/package/jsonwebtoken.
 Microcontroller and motors https://www.acmesystem.com
 face-api.js : A way to build a Face Recognition system in the browser by Jeeva Saravanan.
 Fast-2-SMS Docs https://docs.fast2sms.com/#otp-sms-api