After success in the installation OpenCV and building Block set, now we will prepare the messenger tool for the basis of communication between user and provider. In this project we consider to use Whatsapp based messenger since the library for this is provided named Yowsup.
The step of installation is explained in the http://www.instructables.com/id/WhatsApp-on-Raspberry-Pi/ and https://github.com/tgalal/yowsup (official website) as follows,
1. Firstly, install the tools required with shell code:
sudo apt-get install python-dateutil sudo apt-get install python-setuptools sudo apt-get install python-dev sudo apt-get install libevent-dev sudo apt-get install ncurses-dev
2. Clone the git of yowsup, the base interpreter of whatsapp messenger by code below,
git clone git://github.com/tgalal/yowsup.git
3. Then navigate to the yowsup folder for next installation.
cd yowsup
4. Install the yowsup by command
pip install yossup2
The screenshot of the installation process will be like below,
Fig.1 Installation process of yowsup
5. After installation finished, we need to request a registration code to our phone number by command,
python yowsup-cli registration --requestcodesms --phone 39xxxxxxxxxx --cc 39 --mcc 222 --mnc 10
6. If the installation success and request code by SMS is success shown below,
Fig.1 Installation process of yowsup
7. After receiving the code, we can send the code for confirming the registration.
python yowsup-cli registration --register xxx-xxx --phone 39xxxxxxxxxx --cc 39
I will register my number in the next step after the integration of system is finished.
Closing Remarks
We have described the process of preparing the messenger tools for this project. The next step is the development of the algorithm for computing the stock including the blobing technique and blob area-weight correlation. Hope that our project runs well.
Top Comments