Mercurial Hosting > traffic-intelligence
comparison trafficintelligence/moving.py @ 1035:933588568bec
major update to learn motion pattern, see program description
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 20 Jun 2018 16:48:20 -0400 |
parents | aafbc0bab925 |
children | 6a6c37eb3a74 |
comparison
equal
deleted
inserted
replaced
1034:4069d8545922 | 1035:933588568bec |
---|---|
1780 return self.nMatchings | 1780 return self.nMatchings |
1781 def getMovingObject(self): | 1781 def getMovingObject(self): |
1782 return self.movingObject | 1782 return self.movingObject |
1783 def setMovingObject(self, o): | 1783 def setMovingObject(self, o): |
1784 self.movingObject = o | 1784 self.movingObject = o |
1785 | 1785 def __str__(self): |
1786 return '{} {} {}'.format(self.filename, self.num, self.trajectoryType) | |
1786 | 1787 |
1787 ################## | 1788 ################## |
1788 # Annotations | 1789 # Annotations |
1789 ################## | 1790 ################## |
1790 | 1791 |