Skip to main content

just a simple test of vipkid

Project description

ÔËÐа취£º

»·¾³£ºpython2    
ÔËÐÐǰÏȰ²×°ROC,transformºÍconRoc,°²×°°ì·¨£º
pip install roc2.1.2


roc:
    ÊäÈ룺Îļþ¼Ðtruth£¨±ê×¢½á¹ûÎļþ¼Ð£©,test£¨Ä£ÐÍÊä³öµÄ½á¹ûÎļþ¼Ð£©,result(Òª±£´æµÄtxtÎı¾ÎĵµÂ·¾¶£©£¬roc(Òª±£´æµÄͼƬ·¾¶£©
    python 
            from ROC import roc
            roc.roc("truth","test","result","roc")
    Êä³ö£ºrocºÍ·ÖÊýÕÛÏßͼ,½á¹ûµÄÎı¾Îĵµ
    PS:result ºÍroc²»´ø¸ñʽ£¨Àý£º'D:\\python_work\\result')


conRoc:
    ÊäÈ룺Îļþ¼Ðpre_file(ÐèÒª»æÍ¼µÄtxtËùÔÚµÄÎļþ¼Ð£©,image(Òª±£´æµÄͼƬ·¾¶£©,titlestr(ͼƬ±êÌ⣩
    python 
            from ROC import conRoc
            conRoc.conRoc("pre_file","image")
    Êä³ö£ºrocÕÛÏßͼ
    PS:image²»´ø¸ñʽ£¨Àý£º'D:\\python_work\\image') 
 

txt2xml:
    ÊäÈ룺txt_file(txt¸ñʽ±ê×¢ÐÅÏ¢Ëù´æ·ÅÎļþ¼Ð£©
    python
            from transform import txt2xml
            txt2xml.txt2xml("txt_file","xml_file")
    Êä³ö£ºxml_file(xml¸ñʽ±ê×¢ÐÅÏ¢Ëù´æ·ÅÎļþ¼Ð£©  

Îļþ¼Ð˵Ã÷£º

transformÎļþ¼Ð£º

txt2xml £º½«txt¸ñʽÎı¾×ª»»ÎªxmlÎļþ£¨Ã¿¸ötxtÎļþת»»ÎªÒ»¸öxmlÎļþ£© ÐèҪת»»µÄËùÓÐtxtÎļþ·ÅÔÚtxt_fileÖУ¬×ª»»ºóµÄxmlÎļþ´æ·ÅÔÚxml_fileÖÐ

ROCÎļþ¼Ð£º

roc: »æÖÆrocÇúÏߺͷÖÊýÇúÏß²¢¼ÆËãacu¡£Êý¾ÝÀ´Ô´ÓÚdbÁбí

IOU: ¼ÆËãÁ½¾ØÐÎIOU,´«ÈëÊý¾ÝΪÿ¸ö¾ØÐÎÁ½Ìõ¶Ô½ÇÏߵĺá×Ý×ø±êReframe=[X1,Y1,X2,Y2],GTframe=[X1,Y1,X2,Y2]¡£

read:¶ÁÈ¡xmlÎļþµÄËùÓбê×¢µÄ±êÇ©Êý¾Ý(xmin,ymin,xmax,ymax)¡£´«ÈëÊý¾ÝΪ´ý²âÊÔxmlÎĵµµÄÔªËØ¶ÔÏó¡£

Analyze_xml£º½âÎöxmlÎļþ²¢µÃ³öIOU±È¶ÔÖбȶԴíÎó(ÖØµþ±ÈÂÊСÓÚ0.5£©ºÍ±È¶ÔÕýÈ·µÄ¸öÊý¡£ ÊäÈ룺truthΪ±ê×¼xmlÎļþËùÔÚµÄÎļþ¼Ð£¬testΪ´ý±È¶ÔµÄxmlÎļþËùÔÚµÄÎļþ¼Ð¡£

conROCÎļþ¼Ð:

conRoc:¸ù¾ÝÎļþ¼ÐÖеÄËùÓÐtxtÎļþÄÚÈÝ»æÖÆÇúÏßͼ£¨Ã¿¸öÎļþ¶ÔÓ¦Á½ÌõͬɫµÄÕÛÏߣ©

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.1-2.1.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roc2.1.1-2.1.2-py2.7.egg (14.2 kB view details)

Uploaded Egg

File details

Details for the file roc2.1.1-2.1.2.tar.gz.

File metadata

  • Download URL: roc2.1.1-2.1.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15

File hashes

Hashes for roc2.1.1-2.1.2.tar.gz
Algorithm Hash digest
SHA256 e6e9cb090bba485baa0e9b5c77483db8efd4eb256e846565162094c04ad4effe
MD5 276c32f5d9c2583cef646d9ac21820e3
BLAKE2b-256 08d782c9def6edcf0256d7415edc6f2ac98376e7a58a2391c4113f8ed51e8d3c

See more details on using hashes here.

File details

Details for the file roc2.1.1-2.1.2-py2.7.egg.

File metadata

  • Download URL: roc2.1.1-2.1.2-py2.7.egg
  • Upload date:
  • Size: 14.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15

File hashes

Hashes for roc2.1.1-2.1.2-py2.7.egg
Algorithm Hash digest
SHA256 289644b9ebff03c11c1a424a7773ed5e8d80c92adc19c8690ed6473f09010b7b
MD5 3c7daffeb250586dbec7af130b4bb659
BLAKE2b-256 37d7ef11d8a14b7453ff0efa0cc4937e16e85d432c5d52ed64ba396a042462f7

See more details on using hashes here.

Supported by

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