Mercurial > hg > nsaunier > traffic-intelligence
comparison scripts/learn-motion-patterns.py @ 948:584b9405e494
added safety analysis parameters for motion patterns
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 21 Jul 2017 12:11:55 -0400 |
| parents | c030f735c594 |
| children | d6c1c05d11f5 |
comparison
equal
deleted
inserted
replaced
| 947:053484e08947 | 948:584b9405e494 |
|---|---|
| 34 # 2. load proto, load objects, update proto, save proto | 34 # 2. load proto, load objects, update proto, save proto |
| 35 # 3. assign objects from one db to proto | 35 # 3. assign objects from one db to proto |
| 36 # 4. load objects from several files, save in another -> see metadata: site with view and times | 36 # 4. load objects from several files, save in another -> see metadata: site with view and times |
| 37 # 5. keep prototypes, with positions/velocities, in separate db (keep link to original data through filename, type and index) | 37 # 5. keep prototypes, with positions/velocities, in separate db (keep link to original data through filename, type and index) |
| 38 | 38 |
| 39 # TODO add possibility to clutesr with velocities | 39 # TODO add possibility to cluster with velocities |
| 40 # TODO add possibility to start with saved prototypes so that one can incrementally learn from several databases | 40 # TODO add possibility to start with saved prototypes so that one can incrementally learn from several databases |
| 41 # save the objects that match the prototypes | 41 # save the objects that match the prototypes |
| 42 # write an assignment function for objects | 42 # write an assignment function for objects |
| 43 | 43 |
| 44 trajectoryType = args.trajectoryType | 44 trajectoryType = args.trajectoryType |
