4 ms·
Yes, it definitely is! Part of this comes from the fact that the images that I'm pulling from the drone are raw, meaning that there's a certain amount of distor
by qchris 5y ago
Yes, it definitely is! Part of this comes from the fact that the images that I'm pulling from the drone are raw, meaning that there's a certain amount of distortion [1] that is induced. As a result, the pixels themselves are not only necessarily square, but may not even have uniform geometry at all point in the image. While it's technically possible to minimize these effects using calibration[2], doing so was kind of out-of-scope for this experiment since it's both non-trivial and frankly not really accessible in Rust.
At some point, I'm expecting to try to extend some of this work using stitched images, which will probably require digging around the OpenCV toolkit anyway. If that happens, I'll probably spend some time experimenting with adding in that camera calibration to see if there might be a good way to account for it without requiring a ton of work before each flight.
[1] https://en.wikipedia.org/wiki/Distortion_%28optics%29 https://en.wikipedia.org/wiki/Distortion_%28optics%29
[2] https://docs.opencv.org/3.4/dc/dbb/tutorial_py_calibration.html https://docs.opencv.org/3.4/dc/dbb/tutorial_py_calibration.h...