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.6.tar.gz
(7.4 kB
view details)
Built Distribution
calango-1.0.6-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file calango-1.0.6.tar.gz
.
File metadata
- Download URL: calango-1.0.6.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a71f011c1e4e7b036b404261f257932c832b51a21c106ad2e5226dbed90d50a4 |
|
MD5 | d79a17501ddb29d7d7dac6f9160a62c5 |
|
BLAKE2b-256 | 99a1dde6a5b7a263e4fe2d2cdd2db75b1eb6c36e783d15cfd00088e99befb70e |
File details
Details for the file calango-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: calango-1.0.6-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbc6cda47796059eb74d04d0a9b779198228e7e77a6c7b97e158cddc86e247a8 |
|
MD5 | afd87bb864a30f87f211599af58f6d07 |
|
BLAKE2b-256 | c7a9618e7de0adba868939383dd6d31693a2e22512f246ebaa404af6728b50cf |