text: Title: Brush labels to YOLO format
  Body: ### Search before asking
  
  - [x] I have searched the Ultralytics YOLO [issues](https://github.com/ultralytics/ultralytics/issues) and [discussions](https://github.com/orgs/ultralytics/discussions) and found no similar questions.
  
  
  ### Question
  
  Hello! Recenty I have used SAM model in label studio to assist my labeling task. It works pretty nice. However, I met some problems in exporting the dataset. It can't be exported in COCO or YOLO format since SAM create brush labels. Could you tell me how to convert my brush labels to a yolo format dataset?
  
  ### Additional
  
  _No response_