Skip to main content

just a simple test of vipkid

Project description

Operation method £º

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£º

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roc2.1.5-2.1.5.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

roc2.1.5-2.1.5-py2.7.egg (23.4 kB view details)

Uploaded Egg

File details

Details for the file roc2.1.5-2.1.5.tar.gz.

File metadata

  • Download URL: roc2.1.5-2.1.5.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15

File hashes

Hashes for roc2.1.5-2.1.5.tar.gz
Algorithm Hash digest
SHA256 a3d3de5b6d50f52e9686434ee08b071f63755fd4df95851f47b5ef945f42379f
MD5 5e55bdbda5035417848f1acf47ee4eb6
BLAKE2b-256 fe9fbd10c29ff2a4eebdb7514bb856a1c85eb1696157f958807e4d2f9c332306

See more details on using hashes here.

File details

Details for the file roc2.1.5-2.1.5-py2.7.egg.

File metadata

  • Download URL: roc2.1.5-2.1.5-py2.7.egg
  • Upload date:
  • Size: 23.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15

File hashes

Hashes for roc2.1.5-2.1.5-py2.7.egg
Algorithm Hash digest
SHA256 26960ab8128140d94993fbfa4eaa818e4d11c191fd8c567de5934987e98ac8e2
MD5 953aebda86f30990b79e4e6df13c10b8
BLAKE2b-256 2f2328ab75aae16dbba67d75669b8c17db61a1f9697832a2fe53656114d745bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page