novioleo / crnn.mxnet

crnn in mxnet.can train with chinese characters
Apache License 2.0
47 stars 19 forks source link

[BUILD FOR MOBILE]NOTE #5

Open novioleo opened 7 years ago

novioleo commented 7 years ago

IN THIS ISSUE ,I WILL POST THE SCRIPT WHICH I BUILD FOR CPP INVOKER.

novioleo commented 7 years ago

` export TOOLCHAIN= export PATH=${TOOLCHAIN}/bin:$PATH export MXNET_HOME= export OPENCV_HOME= arm-linux-androideabi-clang++ run.cpp -std=c++11 --no-undefined \ -I ${MXNET_HOME}/include \ -I ${MXNET_HOME}/nnvm/include \ -I ${MXNET_HOME}/dmlc-core/include \ -I ${MXNET_HOME}/cpp-package/include \ -I ${MXNET_HOME}/dlpack/include \ -I ${MXNET_HOME}/mshadow \ -I ${OPENCV_HOME}/modules/core/include \ -I ${OPENCV_HOME}/modules/imgcodecs/include \ -I ${OPENCV_HOME}/modules/imgproc/include \ -I ${OPENCV_HOME}/modules/highgui/include \ -I ${OPENCV_HOME}/modules/videoio/include \ -I ${OPENCV_HOME}/build \ -I . \ -L ./lib/armeabi-v7a \ -l opencv_java3 \ -l mxnet \ -l warpctc \ -l log \ -fPIC -shared -o librun.so

`