[Windows] Install Open CV: ~10 min!


  1. Tested on: Windows 7, Windows 10
  2. There could be other ways to get Open CV working on your Windows computer

Before installation

  1. Find you OS architecture
  2. Decide the Python version (e.g. 2.7 or 3.x)
  3. Install Anaconda, open terminal as administrator and , Continue reading [Windows] Install Open CV: ~10 min!

IsClose() in python

This post tries to answer whether given numbers are comparatively close to each other. This can help if you are using Python for data science or in the area of computer vision doing computing with images. A quick stack-overflow search shows discussion around finding “nearest” value from a set of given values for any given number [1] [2] [3]. However, there could be a need to limit how much further the nearest number could be. I’d call this limit a “threshold”.

Quite a few times, in my Python (esp. in computer vision related) programming I come across scenarios when I want to tell if the two numbers are close to each other. Some might ask, “Well define close!?” or “How close?”, well … comparatively close.

Now Continue reading IsClose() in python

numpy.argmin() alternative

While there are some interesting conversations about numpy.argmin() function’s performance (e.g. here, here and here), Continue reading numpy.argmin() alternative

Python Numpy count elements

As you already know, in order to calculate non-zero elements in your np array, you can use numpy.count_nonzero. But how about 0? How about an expression? Well, Continue reading Python Numpy count elements

Python reverse and splice a tuple

C# Split CSV string



Stackoverflow post:


https://youtu.be/MlbAWEwmQhA (2 minutes)

Intro: What is a WebSockket?
https://youtu.be/hEA2jSRx2EM?t=20s (2 minutes)

Continue reading WebSockets

CSS Grids

https://youtu.be/7kVeCqQCxlk (30 minutes)

https://youtu.be/H3LRtAm2SOo (16 minutes)