SwiftOCR
SwiftOCR copied to clipboard
Can't Invoke NSimage image in method SwiftOCRInstance.recognize!
AS I am trying to make a server side SwiftOCR when I convert the image data into image it returns the Exact image but When I'm trying to parse the Image in SwiftOCRInstace.recognize method it does not Convert the Image and Return null string my code is as below:
let newImage = NSImage(data: user.image)
let newImage1 = OCRImage(newImage)
let swiftOCRInstance = SwiftOCR()
swiftOCRInstance.recognize((newImage)!){ recogniseString in
print(recogniseString)
}
I'm facing same problem, it doesn't work, only prints
Using low GPU priority for background rendering.