i want additional export for my project wich export anotation with image for yolo11 data…
- User
i want additional export for my project wich export anotation with image for yolo11 data set this is my code " Images <v-list-item v-for="(img, index) in images" :key="index" @click="selectImage(index)" :class="{ 'active': selectedImageIndex === index }" style="cursor: pointer;"> Image {{ index + 1 }}
<!-- Image Upload --> <v-file-input label="Upload Images" accept="image/*" @change="onImageUpload" multiple prepend-icon="mdi-upload"></v-file-input> </v-col> <v-col cols="10"> <v-row> <v-col cols="8" md="8"> <!-- Button to Log Rectangles --> <v-btn color="primary" @click="exportToJson" class="mt-3"> Export Annotated Data with Images </v-btn> </v-col> </v-row> <v-row> <v-col cols="8"> <v-card class="my-4"> <v-card-text> <!-- Canvas for Image Drawing --> <canvas ref="canvas" :width="canvasWidth" :height="canvasHeight" @wheel.prevent="onMouseWheel" @mousedown="onMouseDown" @mouseup="onMouseUp" @mousemove="onMouseMove" style="border: 1px solid black;"></canvas> </v-card-text> </v-card> <!-- Labels Below the Canvas --> <v-chip-group v-if="labels.length" mandatory style="cursor: pointer;"> <v-chip v-for="(label, index) in labels" :key="label.name" @click="selectLabel(label)" :class="{ 'bg-white': selectedLabel === label.name }"> <v-badge :color="label.color" :content="index + 1" inline></v-badge> <v-label style="cursor: pointer;">{{ label.name }}</v-label> </v-chip> </v-chip-group> </v-col> <v-col cols="4"> <v-file-input label="Import Annotated Data" accept=".json" @change="importJsonData" prepend-icon="mdi-folder-open"></v-file-input> <v-list v-if="rectangles.length"> <v-subheader>Rectangles</v-subheader> <v-list-item v-for="(rect, index) in rectangles" :key="index" @click="toggleRectangleSelection(index, $event)" :class="{ active: selectedRectangles.includes(rect) }" style="cursor: pointer;"> <template v-slot:prepend> <v-icon :style="{ color: rect.color }">mdi-circle</v-icon> </template> <template v-slot:append> <v-btn icon @click.stop="removeRectangle(index)" color="red" variant="tonal" density="comfortable"> <v-icon>mdi-delete</v-icon> </v-btn> </template> <v-list-item-content> <v-list-item-title> {{ rect.label }} </v-list-item-title> <v-list-item-subtitle> [x: {{ rect.x.toFixed(2) }}, y: {{ rect.y.toFixed(2) }}, w: {{ rect.width.toFixed(2) }}, h: {{ rect.height.toFixed(2) }}] </v-list-item-subtitle> </v-list-item-content> </v-list-item> </v-list> </v-col> </v-row> </v-col> </v-row> </v-container> - Assistant
- User
i normalized data befor i dont need normalize it again just make export for image and label
- Assistant
- User
can you export to folder
- Assistant
- User
i normalized rectangle befor exportation i dont needed
- Assistant