Hi,
I'm working on an app that uses the live camera output to perform text recognition.
In order to improve the performance , I want to write some unit tests to check how well the text recognition works over time. I want to load a video from my app bundle, and use that as the 'camera output' so that I can write tests around what should and what should not get recognized.
I'm trying to find out how to generate a CMSampleBuffer from a video so I can feed that into my Vision request. Any ideas? Thanks!
I'm working on an app that uses the live camera output to perform text recognition.
In order to improve the performance , I want to write some unit tests to check how well the text recognition works over time. I want to load a video from my app bundle, and use that as the 'camera output' so that I can write tests around what should and what should not get recognized.
I'm trying to find out how to generate a CMSampleBuffer from a video so I can feed that into my Vision request. Any ideas? Thanks!