Mercurial > hg > nsaunier > traffic-intelligence
comparison scripts/compute-homography.py @ 1199:6a6a4d5958f7
adding explicit choice of matplotlib backend
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 18 Nov 2022 15:55:09 -0500 |
| parents | 7b4d732f82b3 |
| children |
comparison
equal
deleted
inserted
replaced
| 1198:fa07a78b29f6 | 1199:6a6a4d5958f7 |
|---|---|
| 1 #! /usr/bin/env python3 | 1 #! /usr/bin/env python3 |
| 2 | 2 |
| 3 import sys, argparse | 3 import sys, argparse |
| 4 | |
| 5 import matplotlib | |
| 6 matplotlib.use('TkAgg') | |
| 4 | 7 |
| 5 import matplotlib.pyplot as plt | 8 import matplotlib.pyplot as plt |
| 6 import numpy as np | 9 import numpy as np |
| 7 import cv2 | 10 import cv2 |
| 8 | 11 |
