mkdir opencv_sample cd opencv_sample git init git config core.sparsecheckout true git remote add -f origin https://github.com/opencv/opencv.git echo samples/python/tutorial_code/* > .git/info/sparse-checkout git pull origin master 출처: https://webnautes.tistory.com/1387