Ra-Ya Tools
- 1 Minute to read
Ra-Ya Tools
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
Ra-Ya. Tools is a package that contains a set of modules to perform frequent and useful tasks.
Syntax to import a tool:
from raya.tools.<tools_module> import <tool>
For example:
from raya.tools.image import show_image
Module raya.tools.image
Include functions to handle images taken from the Gary's cameras.
show_image(img: numpy.array, title: str = '')
: Shows the imageimg
in a OpenCV window, with the titletitle
.save_image(img: numpy.array, filename: str)
: Save the image into the application'sdat
folder with the namefilename
. Formats allowed:jpg
andpng
. If not extension provided,jpg
will be added by default.
Was this article helpful?