Ra-Ya Tools
  • 1 Minute to read

Ra-Ya Tools

Article summary

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 image img in a OpenCV window, with the title title.
  • save_image(img: numpy.array, filename: str): Save the image into the application's dat folder with the name filename. Formats allowed: jpg and png. If not extension provided, jpg will be added by default.

Was this article helpful?

What's Next