Oxford team has shared the following linux binary.
And my objective was to run this executable(compute_descriptors.ln) from Matlab command prompt of windows! So, here what I did!
1. Installation of VMware player in windows PC and then install Ubuntu 11.xx inside Vmware player
2. Installation of openSSH-Server in Ubuntu
To install the server run the following command in termial
#sudo apt-get install openssh-server
To install the server run the following command in termial
#sudo apt-get install openssh-server
3. Downloading putty.zip (windows ssh client to access the Ubuntu server) and extract
4. Now in Matlab, go the putty folder that you have just extracted and from there use plink to run any command in the ubuntu terminal such as the following
Matlab promot > !plink -pw YOUR_UBUNTU_PASSWORD USERNAME@HOST_IP ls -l
[Replace the capital letters with your PC's information!] To learn More about Plink please visit http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter7.html#plink
So, running this binary will be
Matlab promot >!plink -pw YOUR_UBUNTU_PASSWORD USERNAME@HOST_IP ./compute_descriptors.ln -sift -i img1.ppm -p1 img1.haraff -o1 img1.haraff.sift
Copying the file from the ubunutu (/home/username) will be following command
Matlab Promt> !pscp -pw YOUR_UBUNTU_PASSWORD USERNAME@HOST_IP :/home/username/img1.haraff.sift img1.haraff.sift
Isn't it awesome!
Hi, I am also trying to run the same binary on my ubuntu machine.
ReplyDeletebut the terminal keep saying "command not found"
Do you have any idea?
Probably because you are in a wrong directory!
Delete