Skip to content

[FEAT] Implement card scanning for recharge codes using camera (Vision OCR) #5

Description

@albertolicea00

Problem Description

In the recharge card section (RechargeCardSheet in Views.swift), the camera button (camera.fill) is currently non-functional and labeled "Scan (coming soon)".

Details & Help Needed (help wanted)

  1. Missing Scanning / OCR Implementation: Vision framework integration (VNRecognizeTextRequest / DataScannerViewController) has not been implemented to scan and extract recharge card numbers using the camera.
  2. Lack of Visual Samples & Format Information: Reference images or samples of physical ETECSA prepaid recharge scratch cards (digit length, layout, scratch area design) are needed to properly filter and extract the numbers detected by Vision.

Tasks

  • Obtain/document visual samples and format details of ETECSA recharge cards.
  • Implement camera scanning view using VisionKit / AVCaptureSession.
  • Parse and automatically insert the scanned digits into the Recharge code field.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions