Raspberry Pi as your host

Download Raspberry Pi Imager software from this link and install on your Windows or Mac OS.

Launch the Raspberry Pi Imager, and click on “CHOOSE OS” button.

From the main menu, choose “Raspberry Pi OS (other)”.

From the list of available OSs, choose the option of “Raspberry Pi OS (64-bit)”.

Next, select your external storage device by clicking on “CHOOSE STORAGE”.

Then click on “WRITE” button. Click on “YES” in the pop-up dialogue to start the process.

Once the process is finished, user is prompted to remove the storage device.

 

Put the external storage device in the Raspberry Pi and boot it up. Follow the instructions to setup the Raspberry Pi. Once the setup process is done, launch a terminal window and type in the following command to verify the architecture:

uname -m

Modify the bulk transfer rate configuration file as follows:

sudo nano /etc/rc.local

Add this at the end of the file right before 'exit 0':

sudo sh -c 'echo 150 > /sys/module/usbcore/parameters/usbfs_memory_mb'

Save the file and reboot. Make sure of changes by running below in command prompt:

Install package by running the command in RPi terminal

Go to site: https://support.d-imaging.sony.co.jp/app/sdk/licenseagreement_d/en-US.html

Download the SDK by the name:

Extract the contents of the zip in a folder. I have extracted the contents in 'SDK' directory in '/home/bb-pi/'.

In the terminal type in the following commands:

Once the application builds successfully, connect the camera to the RPi using a USB cable and launch the application by

 

Download Miniforge using the below link:

https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh

Run below commands to install it:

 

Create conda env with python 3.9 using below command:

Install PyQt5 in raspberry pi using below commands:

Install PyQt in conda environment:

Install required packages: