Logo Search packages:      
Sourcecode: gnome-mousetrap version File versions  Download package

def mouseTrap::ocvfw::ocvfw::cmSwapLKPoints (   self  ) 

Swap the LK method variables so the new points will be the last points.
This function has to be called after showing the new points.

Arguments:
- self: The main object pointer.

Definition at line 232 of file ocvfw.py.

00232                               :
        """
        Swap the LK method variables so the new points will be the last points.
        This function has to be called after showing the new points.
        
        Arguments:
        - self: The main object pointer.
        """
        
        # swapping
        self.prevGrey, self.grey               = self.grey, self.prevGrey
        self.prevPyramid, self.pyramid         = self.pyramid, self.prevPyramid
        self.imgLKPoints["last"], self.imgLKPoints["current"] = self.imgLKPoints["current"], self.imgLKPoints["last"]
        
    def cmStartCamera( self, input, params = None ):


Generated by  Doxygen 1.6.0   Back to index