Skip to content

Commit

Permalink
update format
Browse files Browse the repository at this point in the history
  • Loading branch information
jm12138 committed Sep 30, 2021
1 parent edb6333 commit 7d153e0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions labeling/AgentOCRLabeling.py
Expand Up @@ -22,11 +22,17 @@
import subprocess
import sys
from functools import partial
from collections import defaultdict
import json
import cv2



__dir__ = os.path.dirname(os.path.abspath(__file__))

import numpy as np


sys.path.append(__dir__)
sys.path.append(os.path.abspath(os.path.join(__dir__, '../..')))
sys.path.append("..")
Expand Down Expand Up @@ -1374,7 +1380,6 @@ def loadFile(self, filePath=None):
return False



def showBoundingBoxFromPPlabel(self, filePath):
imgidx = self.getImglabelidx(filePath)
if imgidx not in self.PPlabel.keys():
Expand Down Expand Up @@ -1610,7 +1615,6 @@ def openNextImg(self, _value=False):
print('file name in openNext is ',filename)
self.loadFile(filename)


def updateFileListIcon(self, filename):
pass

Expand Down Expand Up @@ -2174,6 +2178,7 @@ def main():


if __name__ == '__main__':

resource_file = './libs/resources.py'
if not os.path.exists(resource_file):
output = os.system('pyrcc5 -o libs/resources.py resources.qrc')
Expand Down

0 comments on commit 7d153e0

Please sign in to comment.