photonvision
photonvision copied to clipboard
Add mrgingham corner detector
The new detector is a performance hit when a chessboard hasn't moved much beteween frames (about 5x), but a huge boost with blurry chessboards or images with no chessboards. Native libraries are built from CI in https://github.com/mcm001/mrgingham .
mrgingham on a ryzen 7 4800h: 11x11 chessboard, 100 corners, 53ms at 1280x720
opencv on a ryzen 7 4800h: 350ms-400ms if the image has a blurry chessboard, 10-20ms if no chessboard in the image, 8-11ms if it sees a stationary chessboard
OpenCV: https://github.com/PhotonVision/photonvision/assets/29715865/f7954afe-dd39-4925-9393-91b6a5290730
Mrgingham: https://github.com/PhotonVision/photonvision/assets/29715865/042c7dcc-6b37-42fd-a643-c7f7ecf61181