Skip to content

Needle Detector App

The purpose of the Needle Detector App is to scan pieces in the last finishing operation and provide basic statistics of the scanned pieces.

The app utilizes KeyCloak for authentication. The user is required to login to the app using their credentials. The app requires the user to have the following roles:

  • scanning:statics:get
  • scanning:scanning:scan
  1. Scanning
  2. Statics

All of these roles are assigned to the needle detector group in keycloak.

On the Scanning Page there are two necessary selections to start scanning:

  • User needs to choose between two types of scanners.
    • UHF Scanner.
    • Barcode Scanner.
  • User need to choose the Line on which they want to scan.

After above two selections, user can start scanning the pieces.

When using the barcode scanner:

  • User scans the barcode through which we gets UPC (Universal Product Code).
  • If the UPC is found in the database, the app updates the scan count for that user on the current day else a new entry is created for the scanned UPC.

When using the UHF scanner:

  • The user scans the Customer Tag on the piece, which provides an EPC (Electronic Product Code).
  • The app decodes the EPC to extract the associated UPC.
  • If an entry already exists for the scanned EPC, an error is displayed to avoid duplicate scans.
  • If the UPC exists in the database, the scan count for that user is updated for the current day else a new entry is created for the scanned UPC.
  • Additionally, a new entry is created for the scanned EPC for future checks.

On the Statistics Page, users can review their scanning performance for the current day. This includes a detailed breakdown of how many pieces they’ve scanned for each Style, Color, and Size.

User can also view statistics for all previous days, categorized by:

  1. Style Number
  2. Color
  3. Size