Limited resolution in helloAIworld

You would need to look at the source code and modify width and height. Please follow the steps in Jetson Nano FAQ
Q: I have a USB camera. How can I lauch it on Jetson Nano?
Check if you can launch the mode successfully in gst-launch-1.0, ad then apply the mode to HelloAIWorld code.