Recover opencv testcase