NMAC427 / SwiftOCR

Fast and simple OCR library written in Swift
Apache License 2.0
4.61k stars 481 forks source link

Fix for crash in multithreaded apps #168

Open langford opened 4 years ago

langford commented 4 years ago

We get crashes in the FFNN functions from memory errors from this dispatching on a concurrent queue.

There is a simple fix here:

https://github.com/langford/SwiftOCR/commit/890eeae498f7dea177efbf1ca5c890ffd46393cc

That repo however is on a fork that already has swift 5 included.