def get_image(self, *, an: Optional[str] = None) -> Image: """Gets RGB image from internal cache, if there is any. :return: """ return rest.get_image(f"{self.settings.url}/capture/image")
def get_image(self) -> Image: """ Gets RGB image from internal cache, if there is any. :return: """ return rest.get_image(f"{URL}/capture/image")
def visualization(self, *, an: Optional[str] = None) -> Image: """Gets RGB visualization from last search run, if there is any. :return: """ return rest.get_image(f"{self.settings.url}/search/visualization")
def visualization(self) -> Image: """ Gets RGB visualization from last search run, if there is any. :return: """ return rest.get_image(f"{URL}/search/visualization")
def color_image(self, *, an: Optional[str] = None) -> Image.Image: return rest.get_image(f"{self.settings.url}/color/image")