Extract 2D bounding box to txt file {Yolo}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi folks,
I want to say first that I am a super beginner with 3ds-max and just start to learn these amazing tools.
I start some research that checks 3D data on object detection algorithms. I try to train NN using 3D studio images from some scenes. I try to extract the bounding box of the object to the txt file that corresponds to jpg image so I need your help to find some script that extracts the txt file with Yolo format " In yolo, a bounding box is represented by four values [x_center, y_center, width, height]. x_center and y_center are the normalized coordinates of the center of the bounding box... "
Format:
<object-class > <X_center_Norm> <Y_center_Norm> <Width_Norm> <Height_Norm>
object-class = Integer for exam model_0,model_1 represent by 0, 1, ... N-models name
X_CENTER_NORM = X_CENTER_ABS/IMAGE_WIDTH
Y_CENTER_NORM = Y_CENTER_ABS/IMAGE_HEIGHT
WIDTH_NORM = WIDTH_OF_LABEL_ABS/IMAGE_WIDTH
HEIGHT_NORM = HEIGHT_OF_LABEL_ABS/IMAGE_HEIGHT
I will be glad to any help I very sure that I am not the first person that search this solution.
