GithubHelp home page GithubHelp logo

yi-miao / screen-capture-and-share-with-python Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 758 KB

Screen-Capture-and-Share-with-Python

Python 96.84% HTML 3.16%
screen asynchronous-programming client-server flask mss multithreading opencv pyautogui python socket

screen-capture-and-share-with-python's Introduction

This is project to demo how to use these two Python libraries MSS [Ref 1] and PYAUTOGUI [Ref 2] in

  1. Standalone Applications (UC1): Take a screen shot, resize and display it
  • screen_mss.py (hit any key to terminate)
  • screen_pag.py (hit any key to terminate)
  1. Client-server Applications (UC2): Take screenshots, transfer them from client to server and display by the server
  • server.py
  • client_mss.py (esc to terminate)
  • client_pag.py (esc to terminate)
  1. Web Applications (UC3): Take screenshots by webservers, and delivery to a web browser on demand.

This project also uses the concepts and skills of another [Ref 3]
"Live Video Streaming with Python", and proves that

  • live video and
  • screenshots

are only different types of contents which are independent of the technologies
used to process them.

Please refer that project about the details for

  1. Client-Server programming with socket
  2. Data Transfer with Protocol (simple header-body structure)
  3. Multi-thread (server side connection handling)
  4. Live Video with OpenCV (video capture and show at different sides)
  5. Asynchronous Programming (client side key-event handling)
  6. Web version with Flask (minimum code and html)

Use Case 1:
Use Case 1
Use Case 2:
Use Case 2
Use Case 3:
Use Case 3

[Ref 1] https://python-mss.readthedocs.io/
[Ref 2] https://pyautogui.readthedocs.io/en/latest/
[Ref 3] https://github.com/yi-miao/Live-Video-Streaming-with-Python

screen-capture-and-share-with-python's People

Contributors

yi-miao avatar

Watchers

 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.