Viktor Kocur
Viktor Kocur
The detect_bcs.py script should download an object detection model from tensorflow hub and then simply run it while saving the output bounding boxes. You do not need to use the...
Hi, there could be few problems. First the horizon line could actually be vertical leading to the error. Though this would not make much sense in a traffic camera calibration...
The square root of negative numbers should return NumPy NaNs. This should then be taken care of in the following lines: https://github.com/kocurvik/deep_vp/blob/349cf304446070d73683e2c665eaa4279fe14eee/eval/extract_calib.py#L198-L201 Negative numbers as squares of focal lengths are...
You can use the projector which is defined as: https://github.com/kocurvik/deep_vp/blob/349cf304446070d73683e2c665eaa4279fe14eee/eval/eval_calib.py#L24-L53 For example to measure distance between two points in pixel coordinates (p1 and p2) given already calculated calibration data (a...
The issue is that this method does not compute the scale. So you would have to set the scale parameter by first measuring a distance of two points for which...
Hi, s is assumed to be zero, the principal component (x_0, y_0) is assumed to be in the center of the image and therefore only the focal length (f) is...