STATIC.x

Kunal Dawn


Leave a comment

Interactive Foreground Extraction using GrabCut Algorithm

Theory

GrabCut algorithm was designed by Carsten Rother, Vladimir Kolmogorov & Andrew Blake from Microsoft Research Cambridge, UK. in their paper, “GrabCut”: interactive foreground extraction using iterated graph cuts . An algorithm was needed for foreground extraction with minimal user interaction, and the result was GrabCut. Continue reading

Advertisements


Leave a comment

Curses Programming with Python

Author: A.M. Kuchling, Eric S. Raymond
Release: 2.04

Abstract

This document describes how to use the curses extension module to control text-mode displays.

What is curses?

The curses library supplies a terminal-independent screen-painting and keyboard-handling facility for text-based terminals; such terminals include VT100s, the Linux console, and the simulated terminal provided by various programs. Display terminals support various control codes to perform common operations such as moving the cursor, scrolling the screen, and erasing areas. Different terminals use widely differing codes, and often have their own minor quirks.

Continue reading


Leave a comment

Python Sockets

Python provides two levels of access to network services. At a low level, you can access the basic socket support in the underlying operating system, which allows you to implement clients and servers for both connection-oriented and connectionless protocols.

Python also has libraries that provide higher-level access to specific application-level network protocols, such as FTP, HTTP, and so on.

This tutorial gives you understanding on most famous concept in Networking – Socket Programming

What is Sockets?

Sockets are the endpoints of a bidirectional communications channel. Sockets may communicate within a process, between processes on the same machine, or between processes on different continents.

Sockets may be implemented over a number of different channel types: Unix domain sockets, TCP, UDP, and so on. The socket library provides specific classes for handling the common transports as well as a generic interface for handling the rest. Continue reading


Leave a comment

Python Socket Programming HOWTO

Abstract

Sockets are used nearly everywhere, but are one of the most severely misunderstood technologies around. This is a 10,000 foot overview of sockets. It’s not really a tutorial – you’ll still have work to do in getting things operational. It doesn’t cover the fine points (and there are a lot of them), but I hope it will give you enough background to begin using them decently.

Sockets

Sockets are used nearly everywhere, but are one of the most severely misunderstood technologies around. This is a 10,000 foot overview of sockets. It’s not really a tutorial – you’ll still have work to do in getting things working. It doesn’t cover the fine points (and there are a lot of them), but I hope it will give you enough background to begin using them decently. Continue reading


Leave a comment

Python Books Collection

So, here are some free books to start with python programming.

  1. http://files.swaroopch.com/python/byte_of_python.pdf
  2. http://learnpythonthehardway.org/book/
  3. http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python_3/Print_version
  4. http://upload.wikimedia.org/wikipedia/commons/9/91/Python_Programming.pdf
  5. http://www.greenteapress.com/thinkpython/thinkpython.pdf Continue reading