Dataset Open Access

Data Visualization of Weight Sensor and Event Detection of Aifi Store

João Diogo Falcão; Carlos Ruiz; Rahul S Hoskeri; Adeola Bannis; Shijia Pan; Hae Young Noh; Pei Zhang


Citation Style Language JSON Export

{
  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.4300738", 
  "language": "eng", 
  "title": "Data Visualization of Weight Sensor and Event Detection of Aifi Store", 
  "issued": {
    "date-parts": [
      [
        2020, 
        11, 
        26
      ]
    ]
  }, 
  "abstract": "<p><a href=\"https://www.aifi.com/\">Aifi</a> Store is an autonomus store for cashier-less shopping experience which&nbsp;is achieved by multi modal sensing (Vision modality, weight modality and location modality). Aifi Nano store layout (Fig 1)&nbsp;(Image Credits: <a href=\"https://dl.acm.org/doi/10.1145/3360322.3361018\">AIM3S</a> research paper).</p>\n\n<p><strong>Overview:</strong><br>\nThe store is organized in the gondola&#39;s and each gondola has shelfs that holds the products and each shelf has weight sensor plates. These weight sensor plates data is used to find the event trigger (pick up, put down or no event) from which we can find the weight of the product picked.</p>\n\n<p>Gondola is similar to vertical fixture consisting of horizontal shelfs in any normal store and in this case there are 5 to 6 shelfs in a Gondola. Every shelf again is composed of weight sensing plates, weight sensing modalities, there are around 12 plates on each shelf.</p>\n\n<p>Every plate has a sampling rate of **60Hz**, so there are 60 samples collected every second from each plate</p>\n\n<p>The pick up event on the plate can be observed and marked when the weight sensor reading decreases with time and increases with time when the put down event happens.</p>\n\n<p><strong>Event Detection:</strong></p>\n\n<p>The event is said to be detected if the moving variance calculated from the raw weight sensor reading exceeds a set threshold of (10000gm^2 or 0.01kg^2) over the sliding window length of 0.5 seconds, which is half of the sampling rate of sensors (i.e 1 second).</p>\n\n<p>There are 3 types of events:</p>\n\n<ol>\n\t<li>Pick Up Event (Fig 2)= Object being taken from the particular gondola and shelf from the customer</li>\n\t<li>Put Down Event&nbsp;(Fig 3)= Object being placed back from the customer on that particular gondola and shelf</li>\n\t<li>No&nbsp;Event = (Fig 4)No object being picked up from that shelf</li>\n</ol>\n\n<p><strong>NOTE:</strong></p>\n\n<ol>\n\t<li>1.The python script must be in the same folder as of the <em>weight.csv</em> files and .<em>csv</em> files should not be placed in other subdirectories.</li>\n\t<li>2.The videos for the corresponding weight sensor data can be found in the <strong>&quot;Videos folder&quot;</strong> in the repository and are named similar to their corresponding <strong>&quot;.csv&quot;</strong> files.</li>\n\t<li>3.Each video files consists of video data from 13 different camera angles.</li>\n</ol>\n\n<p><strong>Details of the weight sensor files:</strong></p>\n\n<p>These weight.csv (Baseline cases and team particular cases ) files are from the AIFI CPS IoT 2020 week.There are over 50 cases in total and each file has 5 columns (Fig 5) (timestamp, reading (in grams), gondola, shelf, plate number).</p>\n\n<p>Each of these files have data of around 2-5 minutes or 120 seconds in the form of timestamp. In order to unpack date and time from timestamp use <em>datetime</em> module from python.</p>\n\n<p><strong>Details of the <em>product.csv</em> files:</strong></p>\n\n<p>There are&nbsp;<em>product.csv</em> files for each test cases and these files provide the detailed information about the product name, product location (gondola number, shelf number and plate number) in the store, product weight(in grams), also link to the image of the product.</p>\n\n<p><strong>Instruction to run the script:</strong></p>\n\n<p>To start analysing the weigh.csv files using the python script and plot the timeseries plot for corresponding files.</p>\n\n<ol>\n\t<li>Download the dataset.</li>\n\t<li>Make sure to place the python/ jupyter notebook file is in same directory as the .csv files.</li>\n\t<li>Install the requirements<br>\n\t<code>$ pip3 install -r requirements.txt</code></li>\n\t<li>Run the python script Plot.py<br>\n\t<code>$ python3 Plot.py</code></li>\n</ol>\n\n<p>After the script has run successfully you will find the corresponding folders of weight.csv files which contain the figures (weight vs timestamp) in the format</p>\n\n<p><strong>Instruction to run the Jupyter Notebook:</strong></p>\n\n<p>Run the Plot.ipynb file using Jupyter Notebook by placing .csv files in the same directory as the Plot.ipynb script.</p>\n\n<p>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gondola_number,shelf_number.png</p>\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ex: 1,1.png (Fig 4)&nbsp;(<em>Timeseries Graph</em>)</p>", 
  "author": [
    {
      "family": "Jo\u00e3o Diogo Falc\u00e3o"
    }, 
    {
      "family": "Carlos Ruiz"
    }, 
    {
      "family": "Rahul S Hoskeri"
    }, 
    {
      "family": "Adeola Bannis"
    }, 
    {
      "family": "Shijia Pan"
    }, 
    {
      "family": "Hae Young Noh"
    }, 
    {
      "family": "Pei Zhang"
    }
  ], 
  "version": "2.0", 
  "type": "dataset", 
  "id": "4300738"
}
148
52
views
downloads
All versions This version
Views 14886
Downloads 5215
Data volume 2.3 GB303.8 MB
Unique views 10768
Unique downloads 325

Share

Cite as