diff --git a/fourcell/notes/affine_poc2.py b/fourcell/notes/affine_poc2.py index faa2afd..ad293c1 100644 --- a/fourcell/notes/affine_poc2.py +++ b/fourcell/notes/affine_poc2.py @@ -4,6 +4,7 @@ import numpy as np #outer template outer = cv2.imread("../../../../Desktop/running/shot1-scans/image-2-normal.png") #inner image + inner = cv2.imread("../../../../Desktop/frame.jpg") rows, cols, ch = outer.shape diff --git a/fourcell/notes/identify.sh b/fourcell/notes/identify.sh new file mode 100644 index 0000000..22311d8 --- /dev/null +++ b/fourcell/notes/identify.sh @@ -0,0 +1,17 @@ +#/bin/bash + +platform () { + if [ "$(uname)" == "Darwin" ]; then + echo "Mac" + elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then + echo "Linux" + elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then + echo "Windows (32bit)" + elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then + echo "Windows" + fi +} + +echo "PLATFORM: $(platform)" +echo "PYTHON: $(python3 --version)" +echo "OPENCV: $(python3 ./notes/opencv_version.py)" diff --git a/fourcell/notes/opencv_version.py b/fourcell/notes/opencv_version.py new file mode 100644 index 0000000..840426a --- /dev/null +++ b/fourcell/notes/opencv_version.py @@ -0,0 +1,2 @@ +import cv2 +print(cv2.__version__) \ No newline at end of file