e13d154ad8b2217883cbedd085ffba00d8753f40,labelImg.py,MainWindow,showBoundingBoxFromAnnotationFile,#MainWindow#Any#,1109
Before Change
basename = os.path.basename(
os.path.splitext(filePath)[0])
filedir = filePath.split(basename)[0].split("/")[-2:-1][0]
xmlPath = os.path.join(self.defaultSaveDir, basename + XML_EXT)
txtPath = os.path.join(self.defaultSaveDir, basename + TXT_EXT)
After Change
def showBoundingBoxFromAnnotationFile(self, filePath):
if self.defaultSaveDir is not None:
basename = os.path.basename(os.path.splitext(filePath)[0])
filedir = os.path.basename(os.path.dirname(filePath))
xmlPath = os.path.join(self.defaultSaveDir, basename + XML_EXT)
txtPath = os.path.join(self.defaultSaveDir, basename + TXT_EXT)
jsonPath = os.path.join(self.defaultSaveDir, filedir + JSON_EXT)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: tzutalin/labelImg
Commit Name: e13d154ad8b2217883cbedd085ffba00d8753f40
Time: 2020-11-14
Author: tzu.ta.lin@gmail.com
File Name: labelImg.py
Class Name: MainWindow
Method Name: showBoundingBoxFromAnnotationFile
Project Name: evilsocket/pwnagotchi
Commit Name: 90b0e10e81a5a0e03753715ec1034278bdd5f600
Time: 2019-10-07
Author: evilsocket@gmail.com
File Name: pwnagotchi/plugins/default/api.py
Class Name:
Method Name: parse_pcap
Project Name: chainer/chainercv
Commit Name: c5e18acdbab1ab27c224d9928666bb7c0cf03b31
Time: 2017-05-22
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/faster_rcnn/faster_rcnn_vgg.py
Class Name: FasterRCNNVGG16
Method Name: __init__
Project Name: evilsocket/pwnagotchi
Commit Name: 2f948306ebeabf10050bb0c07a3254b420c30751
Time: 2019-11-01
Author: evilsocket@gmail.com
File Name: pwnagotchi/plugins/__init__.py
Class Name:
Method Name: load_from_path