Supporting sdk for RocketWelder
Project description
SDK for Rocket Welder
Example
# main.py
import cv2
from rocket_welder_camera.camera import RocketWelderCamera
def main():
url = 'tcp://{YOUR-HOST}:{YOUR-PORT}/{STREAM-NAME}'
cam = RocketWelderCamera(url)
cv2.namedWindow('Frame', cv2.WINDOW_NORMAL)
while True:
frame = cam.get_frame()
if frame is not None:
# Display the frame
cv2.imshow('Frame', frame)
# Print the current frame number
# print(f'Frame number: {cam.current_frame}')
# Exit loop if 'q' is pressed
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.destroyAllWindows()
if __name__ == '__main__':
main()
Usually, YOUR-PORT is 7000 and YOUR-STREAM is "default".
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 rocket_welder_sdk-0.0.1.tar.gz.
File metadata
- Download URL: rocket_welder_sdk-0.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81f74a8e8cb30de6bbc89fb3601d73c7e8109bbfeba2efbd7c500fcd8a2d5264
|
|
| MD5 |
9964f4f608f5b3ef5d7176bf08f0df79
|
|
| BLAKE2b-256 |
78ac431a2874e26638873fa0f052c82f3769f44360fde3a91864529aeb3babb8
|
File details
Details for the file rocket_welder_sdk-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rocket_welder_sdk-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6d5ee105bf8a1c5e776aa16f25a9645947539f736a3dc1c2eaf6ed2894ebba8
|
|
| MD5 |
13c8449051210db98419844fcde02765
|
|
| BLAKE2b-256 |
d20178b22668c2cc9d5cdbb89451e568c403bb5831f01d948b14c5c46f775898
|