Finish the part (j) of problem 1.2, and pass the test in hello_opencv.cpp