Coder Social home page Coder Social logo

python-programs's Introduction

Python-programs

Contains various python programs and proof of concept.

OpenCV colortracking

This small program shows how to track a specific color on a webcam using OpenCV. In this example the color tracked is Yellow. Blog post: http://www.robindavid.fr/opencv-tutorial/colortracking-with-opencv.html

LSB Watermarking

This script allow you to draw with the mouse whatever you want on an image, it will only be written in the LSB bit of the image. It can be a signature or anything else.

SMSListener

This program is articulated around gammu which allow to access mobile phones from a computer. The advantage of gammu is that it works with quite a lot's of old mobile phone, and is independent of the Operating System. The purpose of SMSListener is to listen incoming text message and retrieve it's content. In order to do this the phone should be configured using wammu for instance, and connected. So it provides the structure to remotly control the computer by allowing the python program to retrieve the message when it is received. So if you implement all the command and control backend you can fully control your computer via text message even with old mobile phones.

Webcam Client/Server

This program is a small proof of concept of Webcam streaming from a client to a server. The server once launched wait for a client connection. The client connect to the server and stream the webcam to the server. The problem is the program use old an old python module to capture the Webcam (VideoCapture) and this module can only run under Windows. So if I had the time I would have redone it with OpenCV.

Wikipedia Frequency Analysis

For a cryptography university module we worked on english and french characters frequency tables as we can find on Wikipedia http://en.wikipedia.org/wiki/Frequency_analysis. But this kind of tables just provide the frequency for the 26 characters of the alphabet. In practice they not usable because a text contains much more characters, accent, punctuation and so on which are not include in frequency analysis. So I have decided to create my own one and to get a good text basis what is better than Wikipedia :p ? So this script use a wikipedia dump read the hole file and count the occurence of each characters. More informations on this article: http://www.robindavid.fr/blog/2012/06/16/wikipedia-frequency-analysis/

Webcam HTTP

Webcam http is a small program that shows how to stream webcam in http. It is articulated around VideoCapture (I should change to pygame or whatever), and SimpleHTTPServer. index.html just include a img tag, and once the script is launched it will regularily take pictures on the webcam and change the src address of the image in index.html.

Keylogger

This program as the name let suppose is a fully functional keylogger for Windows that use the pyhook module. The purpose of this software is to show that we can make a keylogger in python in less than 30 lines of code.

Mouse tracker

Mouse tracker is also a small proof of concept that shows how to track the mouse movement clicks etc. As keylogger it use a pyhook and so works only for windows.

python-programs's People

Contributors

robindavid avatar

Watchers

James Cloos avatar Ali Qornan Jaisyurrahman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.