How to unit test image processing code?
- by rold2007
I'm working in image processing (mainly OCR) and I wonder how I should integrate unit tests in my development.
I'm already using unit tests for more "common" type of code but when dealing with image processing code I'm not sure how to deal with it. This kind of code always need some image data input/output and mocking this is not obvious. For now I'm mostly doing integration tests but they take a while to run and I would like some ideas on how to break down this kind of code into unit tests so that I can run them more quickly.