pixel-forge 0.1.1

Last updated:

0 purchases

pixel-forge 0.1.1 Image
pixel-forge 0.1.1 Images
Add to Cart

Description:

pixelforge 0.1.1

pixel forge 



Ultra-fast screen capture in Rust with Python bindings
Installing
The package can be installed via
pip install pixel_forge

Example
import time

import numpy as np
from pixel_forge import Capture, Monitor, Window, foreground_window

c = Capture()
m = Monitor()
c.start(m)
img = c.frame()
c.stop()
assert isinstance(img, np.ndarray)

w: Window = foreground_window()
c.start(w)
img1 = c.frame()
time.sleep(1)
img2 = c.frame() # Returns the most recent frame
c.stop()

Documentation
For a more detailed description of the package, visit our documentation.
Credit
This package started as a rewrite of windows-capture, and a good chunk of the implementation is taken directly from that project. Full credit goes to NiiightmareXD for those parts.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.