C#opencvsharp在arm架构下的使用

#!/bin/sh
SCRIPTDIR="$( cd "$( dirname "$0"  )" && pwd  )"
dlldir=$SCRIPTDIR
cd `dirname $0`
get_arch=`arch`
if [[ $get_arch =~ "x86_64" ]];then
            echo "this is x86_64"
elif [[ $get_arch =~ "aarch64" ]];then
            echo "this is arm64"
            export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$dlldir/runtimes/arm
elif [[ $get_arch =~ "mips64" ]];then
            echo "this is mips64"
else
            echo "unknown!!"
fi    

然后将arm对应的包放到runtimes/arm下

版本号是4.7.0

你可能感兴趣的:(c#,java,python)