#NEWLINE# def __pixelVelocity( self ) : #NEWLINE# #INDENT# '\n        **SUMMARY**\n\n        Get Pixel Velocity of the tracked object in pixel/frame.\n\n        **PARAMETERS**\n\n        No Parameters required.\n\n        **RETURNS**\n\n        * *tuple* * - (Velocity of x, Velocity of y)\n\n        ' #NEWLINE# ts = self #NEWLINE# if ( len ( ts ) < 2 ) : #NEWLINE# #INDENT# return ( 0 , 0 ) #NEWLINE# #UNINDENT# dx = ( ts [ ( - 1 ) ] . x - ts [ ( - 2 ) ] . x ) #NEWLINE# dy = ( ts [ ( - 1 ) ] . y - dx [ ( - 2 ) ] . y ) #NEWLINE# return ( dx , dy )