Coder Social home page Coder Social logo

ciscodevnet / ciscoretail-mishipay-ciscovision-ciscomerakimv-ciscowebexteams Goto Github PK

View Code? Open in Web Editor NEW
7.0 15.0 2.0 13 KB

Cisco Retail integration for Theft Detection solution including Mishipay, Cisco Vision, Cisco Meraki MV and Cisco Webex Teams

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

ciscoretail-mishipay-ciscovision-ciscomerakimv-ciscowebexteams's Introduction

published

Cisco Retail integration for Theft Detection solution including Mishipay, Cisco Vision, Cisco Meraki MV and Cisco Webex Teams

This is part of a project by the Cisco DevNet team together with several Cisco BUs and Cisco partners in preparation for NRF 2019. The main purpose of this application is to integrate several different technologies to provide a theft detection solution for the retail industry.

Requirements

To use this application you need:

  • Python 3.7+
  • Nedap RFID scanner (optional, see below)
  • Cisco Meraki MV camera
  • Cisco Vision

Ideally you have access to a Nedap RFID scanner that generates messages whenever an item in the retail store has not been paid. But if you do not have access to Nedap hardware, do not despair. You can simulate the RFID scanner behavior by using an MQTT topic (i.e. nrf2019/unpaid) to which you would continuously publish messages similar to the one below:

{"time": 1547348535.8938448, "id": "303402328019380004100001", "item": "Kleenex Ultra Soft Facial Tissue - 75ct"}

The Python application looks for specific names in the "item" values and interacts with a Cisco Vision server to trigger a specific action within Cisco Vision. In this case, a trigger that displays an image of the product that is specified in the "item" value is displayed on a Cisco Vision controlled screen that is placed in the check out area of the store notifying the person that holds the item that it needs to be payed before exiting the store.

At the same time, the webbrowser Python library is used to open a Cisco Meraki MV dashboard tab in the default browser at the "timestamp" specified in the MQTT message. The camera, which is ideally placed in the check out area of the store, should be used so that a video recording of the person trying to walk out with the unpaid item is recorded.

The application also sends a Cisco Webex Teams message with the Cisco Meraki MV dashboard link from above to a space that contains security personnel interested in theft detection.

Install and Setup

Clone the code on your local machine:

git clone https://github.com/CiscoDevNet/CiscoRetail-MishiPay-CiscoVision-CiscoMerakiMV-CiscoWebexTeams.git

cd CiscoRetail-MishiPay-CiscoVision-CiscoMerakiMV-CiscoWebexTeams

Setup Python Virtual Environment (requires Python 3.7+)

python3.7 -m venv venv

source venv/bin/activate

pip install -r requirements.txt

Using the application

Once you have cloned the repo, you can run the application with: python mqtt01.py

Technologies used

The following technologies were used as part of this demo:

  • Cisco Meraki MV camera
  • Cisco Vision
  • Cisco Webex Teams
  • Nedap RFID scanner/MQTT topic
  • Mishipay technology

As a Cisco partner, Mishipay helps Cisco customers integrate their own solutions with the Mishipay online paying platform.

ciscoretail-mishipay-ciscovision-ciscomerakimv-ciscowebexteams's People

Contributors

aidevnet avatar eckelcu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.