You can exchange Raspberry Pi 5 with Jetson SBC (single board computer). All the other components will remain the same, except that chassis and some other mechanical parts will have to be enlarged as this SBS is bigger.
Even the C++ program will not need any change, except in IsJetson.h file, where now should be true.
#pragma once
#define JETSON_BOARD true