-- TRAJECTORY SHAPE MATCHING -- ! To test the program, simply run shape_matching_final.py from command line with number 1-3 as an argument. If no argument is given, program uses matchShapes function version 1, which actually gives the best results. ! Route drawing: - route images are already generated from .txt files in 'sample_trajectories' folder - route_drawing.py can be used to generate more images - add new routes in sample_trajectories folder as .txt files - run route_drawing.py with file name (without .txt) as command line argument - e.g. 'python3 route_drawing.py route1' Shape matching: - shape_matching.py goes through all the route images in 'routes' folder and compares them to every sample image in 'samples' - user needs to press any button to iterate through the comparisons - final results are printed to command line - there is also possibility for rotating routes but it is not used since opencv matchShapes function is rotation invariant - note that by default route images are dilated a little bit to make the contours smoother and easier to compare