Professional Documents
Culture Documents
Building A Smart Cart System For Retail Stores Using IOT and Machine Learning
Building A Smart Cart System For Retail Stores Using IOT and Machine Learning
Volume 9, Issue 6, June -2021, Impact Factor: 7.429, Available online at: www.ijaresm.com
-------------------------------------------------------------------*****************--------------------------------------------------------------
ABSTRACT
The “Smart Cart System”, is a new consumer cart that is designed to help consumers for better shopping
experience. This system will help consumers to avoid standing in long lines and save a lot of time for payment of
their bills. Micro-controller and Camera will be installed in the cart which will take the help of Object Detection
{Machine Learning technique} in real time to automatically scan the product being entered into the cart. Also,
an LCD is used to display the product being placed in the cart and its price. Using the concept of IOT and AI it
can also recommend the consumer the products which he/she can buy based on the products which they have
kept in the cart.
The Recommendations can be shown on LCD too. Once the Consumer is done with the shopping, the bill will be
displayed on the LCD itself and they would be able to pay through cards or UPI methods on the cart itself. This
would also help us to support Digital India initiative. The concept will revolutionize the shopping experience of
the consumers and can also be used to improve the inventory management in retail stores. Introduction of this
smart carts in India can change the way Retail Sectors used to work
Keywords: IoT (Internet of things), Machine Learning, Object Detection, Recommendation Systems
INTRODUCTION
The machine-driven cart, “Smart Cart”, is an associated innovative client buying product that's designed to assist
shoppers in fast-track their looking expertise. The construct of this good cart can revolutionize the buying expertise of
each client. The construct won't solely revolutionize the looking expertise of the client however it'll even have a nice
impact on the search keepers. They're going to get real-time knowledge regarding the product being purchased and can
understand the stock of the product at every moment.
The construct can improve inventory management and client relationship management. The introduction of these good
carts is going to be quite appealing within the retail sector and can result in a replacement era of shopping for and
merchandising products. Since the most issue it covers is saving time for the client, it may be thought of as an honest
possibility for future retails.
Superhii Smart Cart:Since establishment in 2015, Superhii Technology has been focusing on the research and
development of smart shopping cart. Through smart shopping carts, it creates the ultimate shopping experience for
consumers and collects all shopping behavior data of offline retailing. As early as 2017, Superhii Technology put the
smart shopping cart in Wu Mart.
After that, it has successfully established cooperation with Baifule supermarket, Haolinju supermarket, Hefei Baida
and other brands of supermarkets, and Superhii smart shopping carts appeared in more and more supermarkets. [2]
Voice Controlled No No
HARDWARE SELECTION
It contains everything required to support the microcontroller; merely connect it to a PC with a USB cable or power it
with an AC-to-DC adapter or battery to induce started. The UNO differs from all preceding boards in this it doesn't use
the FTDI USB-to-serial driver chip. Instead, it options the Atmega8U2 programmed as a USB-to-serial convertor.
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB of which 0.5 KB used by bootloader
SRAM 2 KB
EEPROM 1 KB
Clock Speed 16 MHz
The FSR is formed of two layers separated by a spacer. The additional one presses; the addition of these Active
component dots bit the semiconductor which makes the resistance go down.
FSR's are primarily a resistance that changes its resistive worth (in ohms Ω) counting on what proportion it's
ironed. These sensors' area unit fairly low price, and straightforward to use however they are seldom correct.
They additionally vary some from the detector to detector maybe 10%. thus, primarily, once you use FSR's you
must solely expect to induce ranges of response. Whereas FSR's are a dangerous selection for sleuthing precisely
what percentage pounds of weight are on them.
Force range 0 to 20 lb. (0 to 100 Newtons) applied evenly over the 0.125
sq in surface area
Power supply Any! Uses less than 1mA of current (depends on any
pullup/down resistors used and supply voltage)
A sixteen x two liquid crystal means that it will display 16 characters per line and there are two such lines. During this
alphanumeric display, every character is displayed in a 5x7 constituent matrix. The sixteen x two intelligent
alphanumeric matrix show is capable of displaying 224 completely different characters and symbols.
Operating Voltage is 4.7V to 5.3V
Current consumption is 1mA without backlight
Alphanumeric LCD display module, meaning can display alphabets and numbers
Consists of two rows and each row can print 16 characters.
Each character is built by a 5×8-pixel box
Can work on both 8-bit and 4-bit mode
It can also display any custom generated characters
Available in Green and Blue Backlight
LabelImg:
Is a free, open-source tool for graphically labeling images. It’s very easy to use and could be used to label hundreds of
images. A bounding box is made on the image and a label is provided to that image. We have used LabelImg to label
our food products which we would be using for our real-time object detection. A whole dataset was made using
labeling.
Fig. 6. Image on the left is without labeling, Image on the right is with labelling
Dataset
Table 3: Dataset Split
Validation Set 39 8%
Testing Set 19 4%
YOLO Algorithm:
To understand the YOLO algorithmic rule [7] , it's necessary to determine what's really being expected. Ultimately, we
tend to aim to predict a category of associate objects and therefore the bounding box specifying object location. every
bounding box is represented exploitation four descriptors:
In addition, we've to predict the pc worth, that is that the chance that there's an associate object within the bounding box
As we tend to mentioned higher than, once operating with the YOLO algorithmic rule we tend to don't seem to be
finding out fascinating regions in our image that would probably contain the associate objects. Instead, we tend to
rending our image into cells, generally employing a 19×19 grid. every cell is to blame for predicting five bounding
boxes (in case there's over one object during this cell). Therefore, we tend to reach an oversized variety of 1805
bounding boxes for one image.
Fig. 8. Image being passed through a Deep CNN and encoded after
Most of those cells associated with bounding boxes won't contain an object. Therefore, we tend to predict the worth of
pc, which serves to get rid of boxes with low object chance and bounding boxes with the very best shared space during
a method referred to as non-max suppression.
Fig. 9: Applying the Non-max Suppression and finding the perfect box which identify the object in given image
RESULTS
We have used Yolo V4 to identify objects in real time. The accuracy of Yolo V4 is more than 98% on the dataset and it
takes less than 1 second to identify the object.
Fig.11. We take an object and place it in the cart Fig.12. Cart identifies the object and
display its price.
All the items and their prices are being stored in the database.
After the customer is done with the shopping a QR code is displayed on the LCD. From which the customer can pay
through UPI methods on the Cart itself.
As one of the key technology trends within the era of digital transformation, the Internet of Things (IoT) is anticipated
to take immense strides forward within the returning years, with nearly fifty billion devices/things foreseen to be
connected to the web by the year 2020, up from seven billion in 2008.
Using IoT and Machine Learning we can ease the life of customers in the mart. The Application of the Smart Cart
System is not only limited to Automated Billing which could help customers to skip long lines but could also be used
for Product Information and Product Recommendation. These applications can help boost customers' experience in
mart which in return would help Marts to boost Revenue.
The Future Scope of the project could be that this system could also be used for Inventory Management in the marts.
This will help marts to keep track of the products they have left and which products are being more sold or vice versa.
REFERENCES
[1] Nick Statt. (2020, July. 14). Amazon’s new smart shopping cart lets you check out without a cashier [Online].
Available: https://www.theverge.com/2020/7/14/21323421/amazon-dash-cart-smart-grocery-shopping-
woodland-hills-store-cashierless
[2] Superhii, (2020, Sept. 4). Objectives of smart shopping cart are changing [Online]. Available:
https://www.superhii.com/superhi/news_d?NEWS_ID=b061b4e8da134583b3e395ee996bf0a6
[3] MBates, “Arduino Uno,” Jan 2013
https://datasheet.octopart.com/A000066-Arduino-datasheet-38879526.pdf
[4] Trossenrobotics, “FSR 402 Data Sheet,” FSR 402 datasheet, Oct 2010
http://www.trossenrobotics.com/productdocs/2010-10-26-DataSheet-FSR402-Layout2.pdf
[5] Xiamen amotec display, “Specifications of LCD Module”, 16x2 LCD datasheet, Oct 2008,
https://components101.com/displays/16x2-lcd-pinout-datasheet
[6] Joseph Nelson. (2020, March. 16). Getting started with LabelImg for Labeling Object Detection Data [Online].
Available: https://blog.roboflow.com/labelimg/
[7] Manish Gupta. (2020, May. 30). Yolo – You Only Look Once [Online]. Available:
https://towardsdatascience.com/yolo-you-only-look-once-3dbdbb608ec4