Robobo video streaming library
Project description
robobo-python-video-stream
This library is required to use the video streaming from the Smartphone's camera in the Robobo.py library. It only runs in Android operating system.
Installation
Download this repository to your computer and save it in the robobo.by folder. Then open a terminal window and type the two following commands:
pip install robobopy_videostream
Example
The following script shows an example of the basic usage of this library:
from robobo_videostream.RoboboVideo import RoboboVideo
import cv2
#The IP must be that shown in the Robobo app
videoStream = RoboboVideo("X.X.X.X")
rob = Robobo("X.X.X.X")
def main():
print("Starting test app")
#Connect to the robot and start the video stream
rob.connect()
rob.startStream()
videoStream.connect()
print("Showing images")
while True:
cv2_image = videoStream.getImage()
cv2.namedWindow('imagen', cv2.WINDOW_NORMAL)
cv2.imshow('imagen', cv2_image)
cv2.waitKey(1)
main()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robobopy_videostream-1.1.0.tar.gz.
File metadata
- Download URL: robobopy_videostream-1.1.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db1eeb728a491ace71fa3cc561806fead62c7e0454ec2202058c5ae1c35c3fec
|
|
| MD5 |
ad9e60e668ed3b1e7a8c897864d96bb7
|
|
| BLAKE2b-256 |
39f3e74f233db7123442b005e4b6dc308e282140b62c8b0cfdff66f50099d612
|
File details
Details for the file robobopy_videostream-1.1.0-py3-none-any.whl.
File metadata
- Download URL: robobopy_videostream-1.1.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c93a02b70dc34d1040dc0e5e65bf467e73b4a97d415a1196f5d74e2ce5538b
|
|
| MD5 |
6e1898ef835ee2b16a56d538d108452c
|
|
| BLAKE2b-256 |
88b45b6bbdf9e9eeb12c9ca4782a4000cdc83fc82f1646b8e9db1121104af67a
|