For detection on JetPack 6.2, you can find below for the YOLO sample (not detecenet based):
If you want to run jetson-inference on JetPack 6.2, you may try it with JetPack 6.0 container on the r36.4.3 BSP.
Ideally, you should have the super mode configure and JetPack 6.0/TensorRT 8.6 software support.