File size: 700 Bytes
07444d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import os
from pathlib import Path
import numpy as np
import cv2

from AbstractControllerNewPolyInterface import AbstractControllerNewPolyInterface
from Constants import Constants
from IntermediateFile import IntermediateFile
from NewPolygonsDrawer import NewPolygonsDrawer
from XMLPKLotReader import XMLPKLotReader
from EnumKeys import EnumKeys

class CNRControllerNewPolyInterface(AbstractControllerNewPolyInterface):
    def __init__(self, rootOriginalDataset, pathJsonDataset):
        super().__init__(rootOriginalDataset, pathJsonDataset)
        self.intermediateFilesHandler = IntermediateFile()

    def _getOriginalPolys(self):
        return [] #no original polygon will be used in the CNR