Run tests on affine_poc scripts
This commit is contained in:
parent
7b67e586d9
commit
5f5a04c13c
|
@ -4,6 +4,7 @@ import numpy as np
|
||||||
#outer template
|
#outer template
|
||||||
outer = cv2.imread("../../../../Desktop/running/shot1-scans/image-2-normal.png")
|
outer = cv2.imread("../../../../Desktop/running/shot1-scans/image-2-normal.png")
|
||||||
#inner image
|
#inner image
|
||||||
|
|
||||||
inner = cv2.imread("../../../../Desktop/frame.jpg")
|
inner = cv2.imread("../../../../Desktop/frame.jpg")
|
||||||
|
|
||||||
rows, cols, ch = outer.shape
|
rows, cols, ch = outer.shape
|
||||||
|
|
|
@ -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)"
|
|
@ -0,0 +1,2 @@
|
||||||
|
import cv2
|
||||||
|
print(cv2.__version__)
|
Loading…
Reference in New Issue