Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
and Build and test.yml
  • Loading branch information
romanmazeev committed Jan 8, 2024
1 parent f0b44ab commit fee22f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
runs-on: macos-13

steps:
- uses: actions/checkout@v2
- name: Build and test
run: swift test -v --enable-code-coverage
- uses: actions/checkout@v3
- name: Run tests
run: swift test --enable-code-coverage
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/romanmazeev/MRZParser/blob/master/Package.swift)
[![Build and test](https://github.com/romanmazeev/MRZScanner/actions/workflows/Build%20and%20test.yml/badge.svg)](https://github.com/romanmazeev/MRZScanner/actions/workflows/Build%20and%20test.yml)
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/romanmazeev/MRZScanner/blob/master/Package.swift)

# MRZScanner
Library for scanning documents via [MRZ](https://en.wikipedia.org/wiki/Machine-readable_passport) using [ Vision API](https://developer.apple.com/documentation/vision/vnrecognizetextrequest).
Expand Down Expand Up @@ -30,6 +31,9 @@ ScanningConfiguration(orientation: .up, regionOfInterest: roi, minimumTextHeight
/// Live scanning
for try await scanningResult in imageStream.scanForMRZCode(configuration: configuration) {
// Handle `scanningResult` here

// Use `return` to cancel scanning
return
}

/// Single scanning
Expand Down

0 comments on commit fee22f9

Please sign in to comment.