18 lines
464 B
Bash
18 lines
464 B
Bash
|
#/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)"
|