Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robobopy_videostream-1.0.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robobopy_videostream-1.0.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file robobopy_videostream-1.0.1.tar.gz.

File metadata

  • Download URL: robobopy_videostream-1.0.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for robobopy_videostream-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e98dba5ac5794b6119fee1e856fc914b9f4397fb1bcf6c0302b113eb5941b7bc
MD5 8dc433196dde1928531a82f8873d7cf1
BLAKE2b-256 4484f21c01f2f93da90be1d1dd0fb2566392b1ba0c3756d4d432bb806862c719

See more details on using hashes here.

File details

Details for the file robobopy_videostream-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for robobopy_videostream-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f9c6499b8c6ba013288cf5b0fe3f2de5af33deda382db210292cd78b4cb72d7
MD5 d1fd356b4a59d161fb4725fb922db67d
BLAKE2b-256 3630a7edc739ca103eb61e7613235a32307bd592119679818a50f806c445e89d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page