Working with PEKAT VISION through Ubuntu terminal
Running starter
In the terminal go to the folder where PEKAT is installed (cd folder) and run
./pekat-vision -l
This both opens GUI (not available on Jetson) and also writes an address where you can access the web interface through your web browser. The -l option shows all logs also in the command line (without this option the logs are just written to file).
You can also use the host option for the same purpose:
./pekat-vision host -l
Creating project
In the terminal go to the folder where PEKAT is installed (cd folder) and run
./pekat-vision create -d path_to_new_project_directory -n name_of_project
Running specific existing project
In the terminal go to the folder where PEKAT is installed (cd folder) and run
./pekat-vision start -p port_number -d path_to_project
When a project is started, you can open it in a web browser at the address http://localhost:port_number
Running a project on a specific GPU
In the terminal go to the folder where PEKAT is installed (cd folder) and run
./pekat-vision start -p port_number -d path_to_project -g gpu_number -l
Note: GPU numbers start from 0
Example for running 2 projects on 2 different GPUs
In the terminal go to the folder where PEKAT is installed (cd folder) and run
./pekat-vision start -p 8000 -d path_to_project1 -g 0 -l
Open another terminal and run
./pekat-vision start -p 8010 -d path_to_project2 -g 1 -l
When projects are started, open them in a browser on http://localhost:8000 and http://localhost:8010
Help
To get information about different parameters, you can use the -h option.
Help for starter:
./pekat-vision -h
Help for creating a project:
./pekat-vision create -h
Help for starting a project:
./pekat-vision start -h