just a simple test of vipkid
Project description
Operation method £º
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£º
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.6-2.1.6.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.6-2.1.6-py2.7.egg
(23.3 kB
view details)
File details
Details for the file roc2.1.6-2.1.6.tar.gz.
File metadata
- Download URL: roc2.1.6-2.1.6.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 |
f8562acbefda121ce59372667fb76b950ccc7bf90625326f733f8fb72baba6bb
|
|
| MD5 |
c4c14483ae49a7580f86329d968e3d39
|
|
| BLAKE2b-256 |
da7db1fc4fd39b3dae702e5c96ac43a39ef2608d4a14489fb6c79d133d698e96
|
File details
Details for the file roc2.1.6-2.1.6-py2.7.egg.
File metadata
- Download URL: roc2.1.6-2.1.6-py2.7.egg
- Upload date:
- Size: 23.3 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 |
c1c69c4f74ab5c8f3b6dfc7b8c2ebb31c273652cd4f0853c9ba4232b6bde9011
|
|
| MD5 |
2e8b66a358cd1012daf70925b381fbfb
|
|
| BLAKE2b-256 |
9babcc1918ee214aa4b21c9531f5986a719627a024b2bf8ec6f5bc9326c45cb3
|