Canupo CLI is not classifying or saving the SF?

For any question about plugins!
Post Reply
SamplePop
Posts: 1
Joined: Fri Oct 18, 2024 12:58 pm

Canupo CLI is not classifying or saving the SF?

Post by SamplePop »

Hi,

I am trying to use the CLI in CC to loop over 90 .laz files and classify them with CANUPO. Everything seems to work, the .laz files are saved, they have less kbs than the originals, but there are no classifications added. The original classes are what is found on the classified .laz. When I open it up in CC / lidR I cant find any new scalar fields added or the classifications changed.

Here is my powershell script that I am running.

# Set the path to CloudCompare executable
$CC_PATH = "C:\Program Files\CloudCompare\CloudCompare.exe"

# Define the directories to loop through
$directories = @(
"G:\dir\to\Group1",
"G:\dir\to\Group2",
"G:\dir\to\Group3"
)

# Define the output directory for the classified files
$output_base_dir = "G:\dir\to\vegetation_classified"

# Define the path to the CANUPO classifier
$classifier_path = "C:\Desktop\CloudCompare\otira_vegetsuper.prm"

# Loop through each directory
foreach ($dir in $directories) {
# Get all .laz files in the current directory
$laz_file
daniel
Site Admin
Posts: 7682
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Canupo CLI is not classifying or saving the SF?

Post by daniel »

Hi,

I don't see the call to CC in your script?

And an obvious question, but I'll ask it just in case: does it work with the GUI version with the same files?
Daniel, CloudCompare admin
Post Reply