Exemplo n.º 1
0
    def configure(self, rf):

        BaseModule.configure(self, rf)

        self.skeletonInPort = self.createInputPort('skeleton', 'buffered')
        self.skeletonOutPort = self.createOutputPort('skeleton', 'buffered')
        return True
Exemplo n.º 2
0
    def configure(self, rf):

        BaseModule.configure(self, rf)

        self.skeletonInPort  = self.createInputPort('skeleton',  'buffered')
        self.skeletonOutPort = self.createOutputPort('skeleton', 'buffered')
        return True
Exemplo n.º 3
0
    def configure(self, rf):

        BaseModule.configure(self, rf)

        self.facesPort     = self.createOutputPort('faces')
        self.skeletonPort  = self.createOutputPort('skeleton')

        self.imgInPort     = self.createInputPort('img')
        self.imgOutPort    = self.createOutputPort('img')

        self.bufImageIn,  self.bufArrayIn  = self.createImageBuffer(640, 480, 3)
        self.bufImageOut, self.bufArrayOut = self.createImageBuffer(640, 480, 3)

        return True
Exemplo n.º 4
0
    def configure(self, rf):

        BaseModule.configure(self, rf)

        self.facesPort = self.createOutputPort('faces')
        self.skeletonPort = self.createOutputPort('skeleton')

        self.imgInPort = self.createInputPort('img')
        self.imgOutPort = self.createOutputPort('img')

        self.bufImageIn, self.bufArrayIn = self.createImageBuffer(640, 480, 3)
        self.bufImageOut, self.bufArrayOut = self.createImageBuffer(
            640, 480, 3)

        return True
Exemplo n.º 5
0
    def configure(self, rf):

        BaseModule.configure(self, rf)

        self.markersPort = self.createOutputPort("markers")
        self.orderPort = self.createOutputPort("order")
        self.translationPort = self.createOutputPort("translation")

        self.imgInPort = self.createInputPort("img")
        self.imgOutPort = self.createOutputPort("img")

        self.bufImageIn, self.bufArrayIn = self.createImageBuffer(640, 480, 3)
        self.bufImageOut, self.bufArrayOut = self.createImageBuffer(640, 480, 3)

        self.order = HCMarker.O_HORIZONTAL
        self.orderIsReversed = False

        self.memory = {}

        return True
Exemplo n.º 6
0
    def configure(self, rf):

        BaseModule.configure(self, rf)

        self.markersPort = self.createOutputPort('markers')
        self.orderPort = self.createOutputPort('order')
        self.translationPort = self.createOutputPort('translation')

        self.imgInPort = self.createInputPort('img')
        self.imgOutPort = self.createOutputPort('img')

        self.bufImageIn, self.bufArrayIn = self.createImageBuffer(640, 480, 3)
        self.bufImageOut, self.bufArrayOut = self.createImageBuffer(
            640, 480, 3)

        self.order = HCMarker.O_HORIZONTAL
        self.orderIsReversed = False

        self.memory = {}

        return True