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.7.tar.gz
(8.2 kB
view details)
Built Distribution
calango-1.0.7-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file calango-1.0.7.tar.gz
.
File metadata
- Download URL: calango-1.0.7.tar.gz
- Upload date:
- Size: 8.2 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 | 74f1f806855ffa71330ce7004d9675899d5fc0399b7780ca57beb738c0256fcf |
|
MD5 | cbc58b8fe22f504856b8598c58ead1a5 |
|
BLAKE2b-256 | 9a7e4c321a38f0f5a65a5c3e60a92d1880659dcae2b1efcf9f76bf8fc86ae00a |
File details
Details for the file calango-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: calango-1.0.7-py3-none-any.whl
- Upload date:
- Size: 11.5 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 | 5c115db16c44e8dbefca2abd9f245ec7710741f8dc97444c57f28b92a86080d0 |
|
MD5 | 7087dea10cd8c8de7eb4c83718d2ba95 |
|
BLAKE2b-256 | 22ab1930c9ab4e7f0d099dd9833c55875ce4df2f5dc25040770e6715065676b9 |