Wednesday, August 26, 2015

Fast Fourier Transform (FFT) in Python

Fast Fourier Transform (FFT) is Discrete Fourier Transform (DFT) algorithm. To perform FFT in Python you need to install several packages/modules/libraries. You can skip this portion if you already have it available. I am a windows user so I will show how to setup your machine for windows environment. This is an effort to provide the easiest and extensive tutorial for image processing beginners in python.

Things you need to download and install are as follows:

1. Install Python 2.7.10 (as for Python 3.4 you will face challenges for other packages) from https://www.python.org/downloads/
2. Install SciPy 0.16.0 superpack for Python 2.7 from http://sourceforge.net/projects/scipy/files/scipy/0.16.0/
3. Install NumPy 1.9.2 superpack for Python 2.7 from http://sourceforge.net/projects/numpy/files/NumPy/1.9.2/
4. Install Six 1.9.0 from https://pypi.python.org/pypi/six
6. Install Dateutil 2.4.2 from https://pypi.python.org/pypi/python-dateutil [Install Six (see step-4) before installing Dateutil]
7. Install PIL 1.1.7 for Python 2.7 from http://www.pythonware.com/products/pil/
9. Install OpenCV (Open Source Computer Vision) 3.0.0 from http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0/

Ploting sinusoidal waves in Python

Aim: Plot sine wave with 5 cycles.

Code:
import numpy as np
import matplotlib.pyplot as plt

t = np.linspace(0, 10*np.pi, 1024, endpoint=True)
s = np.sin(t)
plt.plot(t,s)
plt.show()

Output:

WhatsApp has gone racist!

While my hometown Ahmedabad with other Gujarati cities is burning under anger of caste based reservation, the new update that I received today for WhatsApp has taken me by surprise. Now you can choose from multiple colours for some of the emojis. Well I would say it was unnecessary, it is racist, a bad move! Check out the following snapshots for more details which shows some of the emojis that has got this option of choosing from different colours. The WhatsApp Messenger version is 2.12.250. If you wish to contact me on whatsapp then here is my number: +91-942-667-8837. You may try out other emojis and post the screenshots in comments below!

Thursday, August 13, 2015

Top 7 Full HD Octacore Android Smartphones Under 25000 Rupees


1. Samsung Galaxy A7
Price: 24,700
Released: February 2015
Display: 5.5" (401 ppi)
Camera: 13 MP Rear and 5 MP Front
RAM: 2 GB
Resolution: 1080 x 1920 pixels


2. HTC Desire 826 DS
Price: 24,500
Released: March 2015
Display: 5.5" (401 ppi)
Camera: 13 MP Rear and 13 MP Front
RAM: 2 GB
Resolution: 1080 x 1920 pixels

Top 19 Octacore Android Smartphones Under 10000 Rupees

Phone Brand and Model - Rupees
  1. Micromax Canvas Xpress 2 - 6000
  2. Celkon OCTA 510 - 6900
  3. Micromax Canvas Knight Cameo A290 - 7500
  4. XOLO Omega 5.0 - 7500
  5. Alcatel Onetouch Flash 6042D - 7500
  6. Karbonn Mach Two Titanium - 7900
  7. Panasonic Eluga S Mini - 7900
  8. Intex Aqua Power - 8100
  9. Lava Iris X8 - 8400
  10. Intex Aqua Xtreme II - 9000
  11. Huawei Honor 4C - 9000
  12. Micromax Canvas Nitro A311 - 9200
  13. XOLO Omega 5.5 - 9300
  14. Panasonic Eluga S - 9500
  15. HTC Desire 526G Plus - 9600
  16. XOLO 8X-1000 - 9900
  17. Alcatel Onetouch Idol X Plus - 10000
  18. XOLO 8X-1020 - 10000
  19. Lenovo K3 Note - 10000