Image to B-UML#

besser.utilities.image_to_buml.image_to_buml(image_path: str, openai_token: str)[source]#

Transforms an image into a B-UML model.

Parameters:
  • image_path (str) – the path of the image to transform.

  • openai_token (str) – the OpenAI token.

Returns:

the B-UML model object.

Return type:

domain (DomainModel)

besser.utilities.image_to_buml.image_to_plantuml(image_path: str, openai_token: str)[source]#

Transforms an image into a PlantUML model.

Parameters:
  • image_path (str) – the path of the image to transform.

  • openai_token (str) – the OpenAI token.

Returns:

the PlantUML code.

Return type:

plant_uml_chunk (str)