Giter Site home page Giter Site logo

zcban / bettercam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rootkit-org/bettercam

2.0 0.0 0.0 34.92 MB

World's Fastest high-performance Python screen capture library for Windows using Desktop Duplication API

License: MIT License

Python 100.00%

bettercam's Introduction

RTX 4070 + RYZEN 7 5800X 48GB RAM

SCREEN CAPTURE RESOLUTION AT 1920X1080

TEST FROM : BetterCam/benchmarks/bettercam_capture.py

Screen Capture FPS: 640 [BetterCam] Capture benchmark with NVIDIA GPU Elapsed time: 3.53 seconds Frames per second: 283.38 FPS

Screen Capture FPS: 622 [BetterCam] Capture benchmark with Torch CUDA Elapsed time: 3.36 seconds Frames per second: 297.91 FPS

Screen Capture FPS: 657 [BetterCam] Capture benchmark without GPU acceleration Elapsed time: 3.50 seconds Frames per second: 286.06 FPS

Comparison Results: NVIDIA GPU - Elapsed time: 3.53 seconds, FPS: 283.38 Torch CUDA - Elapsed time: 3.36 seconds, FPS: 297.91 No GPU - Elapsed time: 3.50 seconds, FPS: 286.06

camera = bettercam.create(output_idx=0, output_color="BGRA", nvidia_gpu=True) TO USE DIRECTLY CUPY_PROCESSOR

camera = bettercam.create(output_idx=0, output_color="BGRA", torch_cuda=True) TO USE DIRECTLY TORCH_CUDA_PROCESSOR

camera = bettercam.create(output_idx=0, output_color="BGRA") TO USE DIRECTLY NUMPY_PROCESSOR

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.