只是一个简单的vipkid测试

roc2.1.5的Python项目详细描述


操作方法:

Bofore Operation install "ROC,transform,nms"£º
pip install roc2.1.5


roc:
    input£ºtruth£¨folder with Annotation results£©,test£¨folder with Model output£©,stdscore(standard score to Judge right or wrong £©£¬result(path of txt file to besaved£©£¬roc(path of image to besaved£©
    python 
            from ROC import roc
            roc.roc("truth","test",stdscore£¬"result","roc")
    output£ºroc and score image,txt file
    PS:'result' and 'roc' not have format £¨such as£º'D:\\python_work\\result')


drawpic:
    input:pre_file(folder with txt files£©,image(path of image to besaved£©,titlestr(title of image£©
    python 
            from ROC import drawpic
            drawpic.drawpic("pre_file","image","titlestr")
    output£ºroc image 
    PS:'image' not have format £¨such as£º'D:\\python_work\\image') 


IOU:
    input£ºReframe,GTframe£¨two lists with information of Rectangle £¬[Xmin,Ymin,Xmax,Ymax])
    python 
            from ROC import IOU
            IOU.IOU(Reframe,GTframe)
    output£ºratio(Rectangle area overlap rate £©   


DataOfRoc:
    input£ºtruth£¨folder with Annotation results£©,test£¨folder with Model output£©
    python 
            from ROC import DataOfRoc
            DataOfRoc.DataOfRoc("truth","test")
    output£ºtp(wrong num£©,pos£¨Total correct number £©,rate£¨recall rate£©


scoreRoc:
    input£ºlistdata(list[1/0,1/0,score]),image(path of image to besaved£©,titlestr(title of image£©
    python 
            from ROC import scoreRoc
            scoreRoc.scoreRoc(listdata,"image","titlestr")
    output£ºroc image
    PS:'image' not have format£¨such as£º'D:\\python_work\\image')


txt2xml:
    input£ºtxt_file(folder with txt format Annotation information£©
    python
            from transform import txt2xml
            txt2xml.txt2xml("txt_file","xml_file")
    output£ºxml_file(folder with xml format Annotation information£©  


xml2txt:
    input£ºxml_file(folder with xml format Annotation information£©
    python
            from transform import xml2txt
            xml2txt.xml2txt("xml_file","txt_file")
    output£ºtxt_file(folder with txt format Annotation information£©



nms:
    input£º
    python
            from nms import nms
            nms.nms()
    output£º

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java从时间复杂度重要的值数组映射键值   java GSON未为无效输入引发错误   java程序在多次运行后给出错误的结果   java在第二个活动的recyclerview中显示单词   java如何在传递上下文时避免AlertDialog崩溃   java如何在Spring MVC中存储特定于请求的值?   java如何防止多部分文件在Spring Boot中自动保存到本地目录?   java Android线性布局背景透明度   coin算法的java复杂性   java在JPA标准生成器中将不相关的实体左键联接到根表   java如何延迟多个帧?   java在安卓中设置简单的自定义选项卡   java如何找到需要添加到类路径以引用类的jar文件   在Java中更改对象引用   java在求和和和for循环方面有问题