Pix4Dengine Server First Processing

The purpose of this documentation is to introduce the fundamentals of command line processing with Pix4Dengine Server in standard environments. This article will cover basic and advanced project creation methods and the various ways you can run specific steps of the project process.
Important: To follow this article, you will need:
  • An installed version of Pix4Dengine. See instructions to install Pix4Dmapper on Windows and on Linux.
  • Imagery to process. Example datasets are available for download.

Other Notes:

  • If you are having issues with the command line not recognizing directories or file paths, try enclosing the parameters in quotes like so: "<path_to_project_images>", this will allow most command line functions to process inputs with spaces in them.
  • In order to use "pix4dmapper" as a system command, you will need to add the Pix4Dmapper application binary to your system path. If you do not wish to add Pix4Dmapper to your system path, you may replace "pix4dmapper" in the following examples with "C:\Program Files\Pix4Dmapper\pix4dmapper.exe" or the equivalent install location.

1. Creating a new project

 1. Creating a project using the default methods.

The following command creates a new project (-n) without launching the GUI (-c) using images from the image directory.

pix4dmapper -c -n --image-dir <path_to_project_images> <path_to_desired_project_directory/projectname.p4d>

This command should cause a command console or terminal console to create a .p4d file and project file structure in the folder indicated by <path to desired project directory>

 2. Creating a project using a template

pix4dmapper -c -n --image-dir <path_to_project_images> --template <template_arg> <path_to desired_project_directory/projectname.p4d>

Template <arg> can be:
     <template_name>: Use --template-list to display the list of pre-defined templates.
     <template_file>: Path to a custom template .tmpl file. The custom template file can be generated either by using the user interface or by manually creating the file: 205272989.

2. Starting the processing

 1. Run all processing steps
Once you have a project created and a path to a .p4d project file you can initiate processing.
The flag to run all three steps of processing is "-r"
pix4dmapper -r -c <path_to_desired_project_directory/projectname.p4d>
 2. Running individual processing steps
Each of Pix4Dmapper's main processing steps can be run individually on a project or in combination with other steps. The following flags represent each step: -i for initial (Step 1), -d for dense (Step 2), -o for ortho (Step 3)
pix4dmapper -i -c <path_to_desired_project_directory/projectname.p4d>
pix4dmapper -d -c <path_to_desired_project_directory/projectname.p4d>
pix4dmapper -o -c <path_to_desired_project_directory/projectname.p4d>
pix4dmapper -i -d -c <path_to_desired_project_directory/projectname.p4d>
pix4dmapper -i -o -c <path_to_desired_project_directory/projectname.p4d>

For a full listing of commands, use pix4dmapper -h  or see this article: 202560329.

Information: The project outputs are stored in a folder next to the .p4d file. For more information on the project folder structure: 202558649.

Going Forward

Look into more advanced features of the command line here: 202560329

Check out how to install Pix4Dengine Server on AWS EC2: 205252099

Was this article helpful?
0 out of 0 found this helpful