It looks like calango
Project description
Calango Project
It looks like magic
Get started
Install with pip
pip install calango
or
python -m pip install calango
Mouse Interface
from calango.devices import Mouse
mouse = Mouse()
mouse.up() # move mouse pointer [up, down, left, right, top_left, top_right ...
mouse.position = (10, 10) # move mouse pointer to (x, y)
print(mouse.position) # return current postion
Camera Interface
from calango.devices import Capture
import cv2
cam = Capture()
while True:
frame = next(cam)
cv2.imshow('Window Name', frame)
if cv2.waitKey(5) & 0xFF == 27:
break
cam.stop()
# You can use out while context
frame = cam.frame # current frame numpy array
cv2.imwrite('calango.png', frame)
cam.stop() # stop capture
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
calango-1.0.2.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file calango-1.0.2.tar.gz
.
File metadata
- Download URL: calango-1.0.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb7725e97dd28f3984b81ee45b8ffe9e9af70b309a69154b6259cf77888054c0 |
|
MD5 | 5eda14d606d2aed9695ffaf661322902 |
|
BLAKE2b-256 | bbaa2222490e1cb151d92f10a493b850413bd9f506869570389d105b4ee9647f |
File details
Details for the file calango-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: calango-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b82bbc6bc0a8b84360879aec3dc432945773c6f23268a76afc2a00fd1d0d23 |
|
MD5 | 39e5bd7b88a48b91a3c26be924314e6f |
|
BLAKE2b-256 | c16e3bb4c07140a114c3b302b33220e3ec99eb7d2479b26dc9e1987acbacb6bd |