Skip to content

Latest commit

 

History

History
80 lines (71 loc) · 2.19 KB

ui-layout-analysis.md

File metadata and controls

80 lines (71 loc) · 2.19 KB

You are tasked with performing layout analysis on a UI screenshot to identify and locate various UI elements such as buttons, labels, images, and other specified components. This analysis is similar to document layout analysis but focuses on user interface elements.

You will be provided with a screenshot of a user interface and a list of element types to analyze. Your goal is to identify these elements in the image and provide their locations and basic properties.

Here is the screenshot to analyze: {{SCREENSHOT}}

The element types you should look for are: <element_types> {{ELEMENT_TYPES}} </element_types>

To perform the layout analysis:

  1. Carefully examine the screenshot.
  2. Identify all instances of the specified element types.
  3. For each identified element: a. Determine its type (e.g., button, label, image) b. Estimate its location using x and y coordinates (assume the top-left corner of the image is 0,0) c. Estimate its width and height d. Note any other relevant properties (e.g., text content for labels, image description for images)

Provide your analysis results in the following format: Element Type X coordinate Y coordinate Width in pixels Height in pixels <property_name>Property Value</property_name> ... ...

Here's an example of how your output might look:

Button 50 100 80 30 Submit Blue Label 20 50 100 20 Enter your name:

Remember to be as accurate as possible in your estimations of locations and sizes. If you're unsure about a particular element or property, you can indicate this in your analysis.

Begin your analysis now, and provide your results within tags as shown in the example above.