只是一个简单的vipkid测试

roc2.1.6的Python项目详细描述


操作方法:

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


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在不使用RequestDispatcher的情况下将值从servlet传递到JSP文件   java在安卓 studio的Bundle类中是什么   java如何根据组合框选择更改UI   java在上传到AWS S3 bucket时更改文件名   GAE上的java Play框架是否过时?   如何使用Java8从字符串中提取子字符串?   将项从一个表重新插入到另一个表的java SQL逻辑?e、 g活动记录变为非活动记录   java如何将地图封装到自定义对象中   时间格式的java问题   依赖java的jar不会部署到tomcat,因为工作区中打开了带有此jar的项目   java OnTouchListener没有响应   java如何使用imagebutton和复制图像制作gridview   《时代》杂志称0年是闰年,但0年从未存在过