I am new to raspberry pi and have started a project. I have a pi 3 and I am making an infrared night vision remote controlled car with a infrared pi camera I found on Amazon. So far everything is working good expect I can’t see the camera preview over VNC or ssh. Is there any way that I can see what my camera sees without streaming it to a website? I’m not worried about security, it’s more that I just want to be able to access it with some sort of local script without using a browser. I have attempted using python pi camera but it won’t let me see the preview either.
If you're using the RealVNC server which comes pre-installed in Raspbian, then you need to enable "experimental direct capture mode" (found under vnc options > troubleshooting) in order to see things like the camera preview. This is because they are drawn directly by the gpu and not part of the X11 desktop that vnc would normally be able to capture.
Understand that SSH can be thought of as a encoded communication pipe you can send data through. And VNC is a protocol for displaying a desktop from the host computer on a remote computer. The host does not even need a monitor. In fact, a Unix or Linux host (unlike Windows) can have several desktops independently running at the same time.
At no time when using SSH nor VNC does one need to use a web-browser.
If an application is displaying the image of what the camera sees on the VNC server computer's desktop, then that desktop with the image of what the camera sees should be visible on the VNC client. If there are problems, check the VNC setting on the server and desktop instances of VNC. Often the settings are tuned for slower events such as word processing or web browsing. It may be necessary to change the VNC's settings to allow for faster screen updates.