示例#1
0
    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")
示例#2
0
    def get_image(self) -> Image:
        """
        Gets RGB image from internal cache, if there is any.
        :return:
        """

        return rest.get_image(f"{URL}/capture/image")
示例#3
0
    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")
示例#4
0
    def visualization(self) -> Image:
        """
        Gets RGB visualization from last search run, if there is any.
        :return:
        """

        return rest.get_image(f"{URL}/search/visualization")
示例#5
0
 def color_image(self, *, an: Optional[str] = None) -> Image.Image:
     return rest.get_image(f"{self.settings.url}/color/image")