PhotonVision / photonvision

PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition.
https://photonvision.org
GNU General Public License v3.0
260 stars 169 forks source link

Warn if object detection video mode (width or height) does not match model size #1301

Open mcm001 opened 3 months ago

mcm001 commented 3 months ago

If we feed a 640x640 model a 640x480 image we only have to pad, not also resize. This can reduce latency and overhead. Show a little warning if this is not the case