[Final Year Project] FPGA based Image Mosaicing using AI (log #2)

Getting started with the installations!

For Windows Run all of these commands in Powershell running as Administrator 

1. Installing Chocolatey on Windows :

Chocolatey is a package manager for Windows and makes installation easier

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

2. Installing Python3 :

On Windows –

choco install python3

Python3 and Python2 are installed by default on Ubuntu 16.04

3. Installing Anaconda3:

On Windows –

choco install anaconda3
conda list

4. Installing PIP:

If pip is not already installed on Ubuntu use the following commands –

sudo apt-get insatll python3-pip

4. Installing Python Libraries – Scipy, Numpy, and Matplotlib

On Windows –

python3 -m pip install --user numpy scipy matplotlib

On Ubuntu –

sudo pip3 install numpy scipy matplotlib

5. OpenCV and OpenCV-contrib

(Version for SIFT libraries which are not supported in further versions)

On Windows –

 python3 -m pip install --user opencv-python== opencv-contrib-python==

On Ubuntu –

sudo pip3 install opencv-python== opencv-contrib-python==

By using SIFT function in a version of OpenCV and OpenCV-contrib released after, (in my case I was using version an error is generated as –

cv2.error: OpenCV(3.4.3) C:\projects\opencv-python\opencv_contrib\modules\xfeatures2d\src\sift.cpp:1207: error: (-213:The function/feature is not implemented) 
This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake 
option and rebuild the library in function 'cv::xfeatures2d::SIFT::create'

6. To Uninstall any of these libraries

 python3 -m pip uninstall [package-name]
 python3 -m pip uninstall opencv-python opencv-contrib-python

Leave a Reply