Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed Jul 27, 2023
1 parent a4f038c commit 35db132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func detectText(fileName : URL) -> [CIFeature]? {

// Create a new request to recognize text.
let request = VNRecognizeTextRequest(completionHandler: recognizeTextHandler)
request.recognitionLanguages = ["zh", "en-US"]

do {
// Perform the text-recognition request.
Expand Down

0 comments on commit 35db132

Please sign in to comment.