Visual Studio
Download the Visual Studio from https://visualstudio.microsoft.com/downloads/ and install on your Windows/Mac OS.
Camera SDK
Download the SDK for the Camera from https://support.d-imaging.sony.co.jp/app/sdk/licenseagreement_d/en-US.html
Choose the option for windows:
...
Extract the contents of ‘CrSDK_v1.05.00_20211207a_Win64.zip’ in a folder called ‘SDK’.
Inside the SDK folder, follow instructions on pages 7 to 9 in the document “RemoteSampleApp_IM_v1.05.00.pdf” to connect your camera properly and install the camera drivers.
Next, create an empty folder called ‘build’ inside the SDK folder. Open the camera SDK directory in Visual Studio, and in the menu under ‘Build’ option, click on ‘Install RemoteCli’. You will get a success message on installation.
...
Python
Download and install Python using this link https://www.python.org/downloads/
Open the command line and install pip by running the following commands
Code Block |
---|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py |
Create and activate a python virtual environment
Code Block |
---|
python -m venv myenv
myenv\Scripts\activate.bat |
GUI
Clone the github repository
Code Block |
---|
git clone https://github.com/precision-sustainable-ag/BenchBot.git |
In the cloned repository, navigate to BenchBot/Laptop setup/GUI/
Install the required libraries
Code Block |
---|
pip install -r requirements.txt |
Code Block |
---|
pip install -U socketIO-client
pip install pathlib2
pip install -U paho-mqtt
python -m pip install --upgrade PyQt6
pip install paramiko
pip install python-dotenv |
Run the GUI.py script
Code Block |
---|
python GUI.py |