Create UI to generate segmented forms quickly The UI should:
Open Image Files: The tool should allow us to open image files
Auto-generate Colors: generate a random color that can be applied to a section of the image.
Prompt for Key Input: Prompt the user to input a key (e.g., patient_first_name).
Update Dictionary: Add the user-inputted key and the RGB value of the applied color to a dictionary.
Save Image and Labels: The tool should save the segmented image and generate a labels.json file with the following format:
json
{
"rgb_value": "text_field"
}
Create UI to generate segmented forms quickly The UI should: