This recipe is dependent on other components. These components are in the GitHub repository for this chapter, under AI_Benchtest. You can start the programs by going into their respective folders and running docker or docker-compose. To run the camera server in a Terminal, go into the AI_Benchtest_API folder and run the following command:
docker-compose up
Next, you must run the AI_Benchtest_Cam module. In a Terminal, CD into the AI_Benchtest_Cam folder and run the same docker-compose command that you ran to get the API server running. At this point, both the camera and compute servers will be up and running and transmitting their status to the API server. Next, you will need to run a UI server so that you can give commands to the other servers. To do this, CD into the AI_Benchtest_API folder and run the following docker command to start the UI application:
docker build -t sample:dev . docker run -v ${PWD}:/app -v /app/node_modules -p 3001:3000 --rm...