/Serin

Transfer files with an air swipe

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Serin

Transfer files with an air swipe

Transfers files from a PC to another when hand is moved from first PC to another. Works on computer vision using webcams networking.

###Dependencies

###Setting up

  • Make sure the computers are connected to a network
  • Start the server.py script at any one of the networked PC
  • OPTIONAL : Tune the minimum and maximum HSV values in serin.py to filter out skin color. Use the included hsv_filter.py
  • Start serin.py
  • Fill in your server's ip in the window that pops up (for localhost leave it blank or fill 127.0.0.1) and submit

###Using

  • Move hand in air either left or right.
  • If no one is sending files then a prompt will ask you to choose the file.
  • Do the same gesture at receiver's end and file will be transferred. (File transfer speed depends entirely on the network speed)

###Working

  • The image is converted from BGR to HSV Space for better filtering.
  • Using specific HSV range, skin is filtered out and binarized.
  • Morphological transformations enhances the chances of detection of hand as compared to face.
  • Contours are searched and a contour with a minimum threshold area is worked on. The centroid of it gives the position of hand, which then is tracked.

#####Made possible using OpenCV

###License

BSD Licensed

Copyright (C) 2013 NebulaX