當前位置:網站首頁>Labelme標注Json文件轉XML(能識別矩形框)

Labelme標注Json文件轉XML(能識別矩形框)

2022-05-13 13:26:42亓冕

直接上代碼

# -*- coding: utf-8 -*-
import os
import numpy as np
import codecs
import json
import glob
import cv2
import shutil
from sklearn.model_selection import train_test_split

# 1.標簽路徑
labelme_path = "C:/Users/leo/jpt/123"  # 原始labelme標注數據路徑(存放了圖片和json文件)
saved_path = "C:/Users/leo/jpt"  

版權聲明
本文為[亓冕]所創,轉載請帶上原文鏈接,感謝
https://cht.chowdera.com/2022/133/202205131324237125.html

隨機推薦