This is a piece of code based off of Sony SDK to download pictures as they are clicked and directly store them on a raspberry pi or NVIDIA Jetson.
Run run.py
(you will have to change the directory in run.py after running this)
- Change directories to the folder where main.cpp is stored
- Remove the build folder
- In CMakeLists.txt file change the file paths for libraries and directories to match their actual location in Cameraremote_SDK
- Change directory to build folder:
cd build
- Generate the build files:
cmake ..
- Make the project:
make
- To run use:
./CameraApp
Use RemoteCli.cpp as reference
For camera change SSH password in CameraDevice.cpp line 179