a python-opencv tool to view jpg files,the parameter is either file or dir