Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
NotificationsYou must be signed in to change notification settings

intel/rsp-sw-toolkit-im-suite-loss-prevention-service

Repository files navigation

DISCONTINUATION OF PROJECT.

This project will no longer be maintained by Intel.

This project has been identified as having known security escapes.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

licenseGitHub go.mod Go version

Getting Started

Dependencies

Hardware

One of the following:

  • USB Webcam (Tested and validated usingLogitech C920)
  • PoE Camera
  • WiFi Camera

Software

Warnings

Warning

This software has the potential to collect sensitive data includingCCTV recordings, Inventory Data, etc.Please read carefully ourPrivacy Complianceand consult RSP Inventory Suite'sHardening Guidefor more information.

Build Instructions

Sensor Configuration

Login to theRSP Controller and set thePersonality of a SINGLE sensor toEXIT. This is the sensor that will trigger recording events when a matching RFID tag moves near it.

Service Configuration

Modify thesecrets/configuration.json with your camera and tag information

  • ipCameraStreamUrl Stream URL for the IP Camera you wish to connect to. (Example:"rtsp://user:pass@ipaddress:port")
  • epcFilter Wildcard based filter of EPC tags to trigger on. (Example:"3014*BEEF*")
  • skuFilter Wildcard based filter of SKU/GTIN values to trigger on. (Example:"123*78*")
  • emailSubscribers String comma separated of emails to receive notifications. (Example:"your@email.com,your@email2.com")

NOTE 1:skuFilter andepcFilter mustBOTH match for the tag to match. Typically you would set one or the other and then set the other field to match everything (*)

NOTE 2: In regards toskuFilter andepcFilter, a value of* effectively matches every possible item. Also, the filter must match the whole EPC/SKU and not just a subset. For example, if the SKU value is123456789, a filter of*345*,123*,*789,1*5*9WILL match, however filters such as1234,789,*8,12*56 willNOT match because they only match asubset of the SKU and not the whole value.

Build

Compile the Go source code, create the docker images, and start the docker swarm services

sudo make iterate

The first time you run this it may take quite some time. Grab some ☕.

Web Interface

The web interface is integrated with the AngularDemo UI.It provides a way to view previous recordings including any people/objects detected.Recordings can also be deleted from the web ui.

Application Flow

  • Make REST calls to theEdgeX Command Service to retrieve information about the RSP sensors.
    • The application needs to know which RSP sensors areEXIT personality, as well as the aliases for each RSP in order to perform lookups ofalias -> device_id.
  • Subscribe toZeroMQ to receiveinventory_event messages from EdgeX CoreData
    • When an event is received, pass it on the the Trigger Logic to determine whether to trigger a recording.

Trigger Logic

ALL Of the following conditionsMUST be met for the recording to trigger

  • Event type ismoved
  • Previous location isnot anEXIT personality sensor
  • Current locationis anEXIT personality sensor
  • SKU matchesskuFilter wildcard fromsecrets/configuration.json ("*" matches everything)
  • EPC matchesepcFilter wildcard fromsecrets/configuration.json ("*" matches everything)
  • Another recording is not currently in progress

Recordings

Video clips are stored to a docker volume mounted at./recordings and servedusing annginx docker container.

Privacy Compliance

This software includes functionality which allows you to record video clipsto a persisted storage device and display them on a basic website. Due to the sensitive nature ofthis data, it is imperative that you harden your installation in orderto protect yourselves from potential security and privacy concerns.

We havesome basic guidelines for you to follow, but ultimately it is up toYOUto protect your installation and data.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp