mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
426 B
16 lines
426 B
14 years ago
|
#!/bin/sh
|
||
|
cd `dirname $0`
|
||
14 years ago
|
PROJECT_NAME=hello-android
|
||
14 years ago
|
|
||
|
# copy file to device (usually takes 10 seconds or more)
|
||
14 years ago
|
adb push ./bin/$PROJECT_NAME /data/bin/sample/$PROJECT_NAME || return
|
||
14 years ago
|
|
||
|
# set execute permission
|
||
|
adb shell chmod 777 /data/bin/sample/$PROJECT_NAME || return
|
||
|
|
||
|
# execute our application
|
||
|
adb shell /data/bin/sample/$PROJECT_NAME || return
|
||
|
|
||
|
# get image result from device
|
||
14 years ago
|
adb pull /mnt/sdcard/HelloAndroid.png || return
|