Run tests on affine_poc scripts

This commit is contained in:
Matt McWilliams 2023-02-19 22:46:26 -05:00
parent 7b67e586d9
commit 5f5a04c13c
3 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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)"

View File

@ -0,0 +1,2 @@
import cv2
print(cv2.__version__)