How to unit test image processing code?

Posted by rold2007 on Programmers See other posts from Programmers or by rold2007
Published on 2012-09-28T05:00:14Z Indexed on 2012/09/28 9:49 UTC
Read the original article Hit count: 247

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.

© Programmers or respective owner

Related posts about testing

Related posts about unit-testing