Create & Launch projects through Command Line [Windows]
In the PEKAT VISION Windows version, it is possible to create, launch projects, and choose a specific GPU to run a project, everything is set through CMD.
...
Info |
---|
C:\Program Files\PEKAT VISION 3.13.02\starter |
Create Project - Help Command
Code Block |
---|
.\pekat-vision.exe create -h |
...
Create Project - Usage Example
...
The command above will create a new project in the directory:C:\Users\User1\PekatVisionProjects\NewProject35
The project name in Projects Manager is defined as NewProject35.
...
Info |
---|
To display the project in projects manager UI, the user must use 'Open Project' in Projects Manager UI and select the target folder, in order to update Projects Manager UI. |
Launch Project through CMD
...
Info |
---|
C:\Program Files\PEKAT VISION 3.13.02\starter |
Launch Project - Help Command
Code Block |
---|
.\pekat-vision.exe start -h |
...
Launch Project (without log)
...
Shows all logs in the command line. Without this parameter, the logs are only saved in a file.
...
Starts the project with Secure image analyze enabled and sets the API key to a given value.
-g
Starts the project on a specific GPU
...
Example for running 2 projects on 2 different GPUs
While in the PEKAT installation folder, run this command in cmd to start a project on GPU 0
Code Block |
---|
.\pekat-vision.exe start -p 8000 -d path_to_project1 -g 0 -l |
Open another cmd and run this command to start a project on GPU 1
Code Block |
---|
.\pekat-vision.exe 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
...