Test code for vision processing