只是一个简单的vipkid测试

roc2.1.4的Python项目详细描述


操作方法:

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


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')


drampic:
    input:pre_file(folder with txt files£©,image(path of image to besaved£©,titlestr(title of image£©
    python 
            from ROC import conRoc
            conRoc.conRoc("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是一种获取键与条件匹配的所有映射值的有效方法   JavaCamelRedis:为什么不打印到控制台?   java无法在codechef ide中运行程序。获取CodeChef NZEC错误   java stsm白标错误页面   从Jython调用重载Java方法的数组   当我从命令行运行程序时,java无法删除文件   如何将mongoDB的输出转换为java对象(使用对象工厂)   Android中监听器内的java监听器按钮   java在JMH实验中GC什么时候应该设置为真   使用Rest-Assured RequestSpecification和testng时出现java错误   swing如何为JavaBean属性设置新值(日期)?   java是否可以将show_sql的所有输出放在一个单独的文件中?   解析XML文件(Java)中特定标记的内容   java在ArrayList中修改ArrayList   java是否可以通过stdin数据流的第一个字节触发bash命令来运行?   抽象类java中的静态变量   BufferedReader never ready(Java中的socket编程)   java主程序的结果。为什么一年被忽略?