just a simple test of vipkid
Project description
Operation method £º
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£º
Project details
Release history Release notifications | RSS feed
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.4-2.1.4.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
roc2.1.4-2.1.4-py2.7.egg
(23.2 kB
view details)
File details
Details for the file roc2.1.4-2.1.4.tar.gz.
File metadata
- Download URL: roc2.1.4-2.1.4.tar.gz
- Upload date:
- Size: 8.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d00994f90fe6dcca4742673de089c99a940efb2e5b9ca742a696ba16a315430b
|
|
| MD5 |
bbdb621498d8275268dfc7db5ad18ea9
|
|
| BLAKE2b-256 |
4199d24bafef76e867bbffa5bc2661be8a8d09a56ba4b1e15d72fa214ae42a4d
|
File details
Details for the file roc2.1.4-2.1.4-py2.7.egg.
File metadata
- Download URL: roc2.1.4-2.1.4-py2.7.egg
- Upload date:
- Size: 23.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67a9983771b2e142cf804daecc6f5eb52a2429043279a5712dda8fc8a8544d80
|
|
| MD5 |
790e610d09b3e773998394ee122c5147
|
|
| BLAKE2b-256 |
369f85d4997c45ad835c1b9e104ee306900db07d691ea375c0981ec905dcab73
|