Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We offer two host options that we have tested: windowsWindows/mac Mac laptop and raspberry pi Raspberry Pi. Both options work great and each has its unique advantages which we describe below.

...

Step by step, how to get your machine ready

Raspberry Pi Setup Instructions:

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)”.Download mini conda here(link)

...

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:

Code Block
uname -m
>> aarch64

Modify the bulk transfer rate configuration file as follows:

Code Block
sudo nano /etc/rc.local

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

Code Block
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:

Code Block
cat /sys/module/usbcore/parameters/usbfs_memory_mb
>> 150

Install package by running the command in RPi terminal

Code Block
sudo apt install autoconf libtool libudev-dev gcc g++ make cmake unzip libxml2-dev

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 SDK contents in 'SDK' directory in '/home/pi/'. In the terminal type in the following commands:

Code Block
cd SDK
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

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

Code Block
./RemoteCli

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:

Code Block
cd ~/Downloads
bash Miniforge3-Linux-aarch64.sh

Create conda env with python 3.9 using below command:

Code Block
conda create -n bbot python=3.9

Install PyQt5 in raspberry pi using below commands:

Code Block
sudo apt-get install qtbase5-dev qtchooser
sudo apt-get install qt5-qmake qtbase5-dev-tools
sudo apt-get install qtdeclarative5-dev

Install PyQt in conda environment:

Code Block
conda activate bbot
conda install -c conda-forge pyqt

Install required packages:

Code Block
conda install pandas
conda install -c anaconda openpyxl
conda install -c conda-forge python-dotenv