ImageSocket

The python plugin to receive the image socket


Keywords
Android, Socket, Python, Image
License
Other
Install
pip install ImageSocket==1.0.0

Documentation

ImageSocket

Packagist Packagist

Packagist

The Android / Python plugin that can used to send the image rapidly.

Abstract

This project provide a new class ImageSocket. As the usual, you can easily transfer the string. But It's not easy to transfer the image with a few code. On the Android platform, Google provide TCP & UDP two WiFi method to pass information. One the other hand, the python platform provide socket pachage to receive the infomation. This project build a basic API that the developer can transfer the image in a easy way!

Demo

Packagist Packagist

Contain

  • Android_Example: There is one example to show how to send image
  • PC_Example : There're two python script show how to receive the image from phone

Usage

Please check the wiki in detail.

Install

Python:

sudo pip install "https://github.com/sunnerli/ImageSocket_Python/tarball/0.0.2"

Android(Gradle):

dependencies {
    compile 'com.android.support:appcompat-v7:23.0.0'
    compile 'com.sunner.imagesocket:imagesocket:0.0.2'
}

Recommend to use the latest appcompat pachage. Please check the detail in the submodule readme.

Make It Better

This project is the example that show how to use. You should go to the following link if you want to improve or add the new function to the ImageSocket plugin.

Contributer

Image Resource

Dog: http://exmoorpet.com/wp-content/uploads/2012/08/dog1.png

License

The MIT License (MIT)
Copyright (c) 2016 - SunnerLi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software 
and associated   documentation files (the "Software"), to deal in the Software without 
restriction, including without limitation the rights to use, copy, modify, merge, publish, 
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom 
the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or 
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING 
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.