參考資料:
(1)https://github.com/intelmakers/robot_in_google_cloud/wiki/Installation_of_OpenCV
(2)https://communities.intel.com/thread/57712
(1) 方法1 :
輸入下方指令
opkg list | grep python-opencv
opkg list-installed | grep python-opencv
Unknown package 'python-opencv'.
Collected errors:
* opkg_install_cmd: Cannot install package python-opencv.
方法:
Added src iot-devkit-i586 http://iotdk.intel.com/repos/1.1/iotdk/i586,
src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic to iot-devkit.conf and updated my opkg then upgraded it.
cd /var/opkg/ Create intel-iotdk.conf fileecho "src intel-iotdk http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586" > /etc/opkg/intel-iotdk.conf
opkg update opkg upgrade
opkg install python-numpy opencv python-opencv
(2) 方法2
root@mylinkit:/etc/opkg# wget http://iotdk.intel.com/repos/1.1/iotdk/i586/opencv_2.4.8+git0+a4b34e7ae1-r0_i586.ipk
Connecting to iotdk.intel.com (104.124.188.30:80)
opencv_2.4.8+git0+a4 100% |*******************************| 732 0:00:00 ETA
root@mylinkit:/etc/opkg# ls -lt
-rw-r--r-- 1 root root 732 Nov 13 22:29 opencv_2.4.8+git0+a4b34e7ae1-r0_i586.ipk
-rw-r--r-- 1 root root 197 Nov 13 21:28 iot-devkit.conf
-rw-r--r-- 1 root root 104 Nov 13 21:15 tomfeeds.conf
drwxr-xr-x 2 root root 63 Nov 20 2015 keys
-rw-r--r-- 1 root root 103 Nov 18 2015 customfeeds.conf
-rw-r--r-- 1 root root 215 Oct 27 2015 distfeeds.conf
root@mylinkit:/etc/opkg# opkg install opencv_2.4.8+git0+a4b34e7ae1-r0_i586.ipk
Installing opencv (2.4.11-3) to root...
Downloading http://mirror2.openwrt.org/mt7688_v0.9/packages/opencv_2.4.11-3_ramips_24kec.ipk.
Configuring opencv.
[註:以上文章只是收集網站,並没有在LinkIt 7688 測試成功]
留言列表