Search found 14 matches

by sjurado
Tue Nov 12, 2024 5:04 pm
Forum: 3DMASC
Topic: feature verticality
Replies: 3
Views: 4881

Re: feature verticality

Hello,
Would VERT also be available in python ?
I've tried adding VERT to my parameter file and got the following error :

[18:02:47] Malformed file: unrecognized token 'VERT' after 'feature:' on line #10

Thanks
by sjurado
Tue Nov 12, 2024 4:42 pm
Forum: 3DMASC
Topic: Error when computing features
Replies: 5
Views: 1034

Re: Error when computing features

It does work on small samples but it still isn't working on bigger samples of data.
I'm now splitting and then merging the clouds. I found a way to deal with it but not to properly fix it.
I'm not planning on fixing this issue so I guess we can close this post.
by sjurado
Fri Oct 04, 2024 9:00 am
Forum: 3DMASC
Topic: Error when computing features
Replies: 5
Views: 1034

Re: Error when computing features

Hello, I can't test it with the GUI because I'm using scikit to train my classifier (if I've understand right the plugin works with the OpenCV models). I'm going to try switching to OpenCV as well to fix my issue. I've tried using a smaller point cloud and using subset of data and it worked fine. I'...
by sjurado
Thu Oct 03, 2024 3:57 pm
Forum: 3DMASC
Topic: Error when computing features
Replies: 5
Views: 1034

Error when computing features

Hello, I've trained a classifier and I now want to classify (large) point clouds. Before classifying, I'm computing the features with python using the following command : cc.q3dmasc(clouds, PARAMETERS_PATH + parameter_file, only_features=True, verbose=True) It seems like the command can't compute th...
by sjurado
Fri Jun 14, 2024 12:33 pm
Forum: 3DMASC
Topic: Features selection function
Replies: 1
Views: 2514

Features selection function

Hello, Could you provide some more informations on the features selection step ? There are various functions available, how to choose the right one ? For example, I have tried the function get_n_optimal_sc_ft as following: nscales = 10 nfeats = 10 eval_sc = 5 best_ft = get_n_optimal_sc_ft(trads, tes...
by sjurado
Fri Jun 14, 2024 7:58 am
Forum: 3DMASC
Topic: Scale 0.x in the parameters
Replies: 2
Views: 2473

Re: Scale 0.x in the parameters

Hello,
Thanks for your help !
Indeed I wasn't loading the correct sbf file !
It's all working now, thanks
by sjurado
Thu Jun 13, 2024 3:07 pm
Forum: 3DMASC
Topic: Scale 0.x in the parameters
Replies: 2
Views: 2473

Scale 0.x in the parameters

Hello, How do you specify a scale underneath 1 in the parameter file ? I have tried : feature_PLANA_SC.5_PC1 and feature_PLANA_SC0.5_PC1 After computing features and when loading the sbf, I get the following error : KeyError: 'SPHER_PC1@0.5' This is my parameters_feature_sources.txt looks like : #Fe...
by sjurado
Tue Jun 04, 2024 1:27 pm
Forum: 3DMASC
Topic: Saving the classifier
Replies: 5
Views: 5354

Re: Saving the classifier

Thanks ! Indeed it works with the OpenCv Model. Although I have noticed I have significantly better results using the scikit-learn classifier. Is there a way to save the scikit-learn classifier to the required yaml format ? Can we only use the OpenCV classifier to classifiy pointclouds in CloudCompa...
by sjurado
Mon Jun 03, 2024 8:03 am
Forum: 3DMASC
Topic: Saving the classifier
Replies: 5
Views: 5354

Re: Saving the classifier

I train my classifier calling the following function : cc_3dmasc.get_acc_expe() This function returns a RandomForestClassifier. I would like to save it using the save function of cv2.ml.RTrees as advised in your documentation in order to use the classifier to classify other data. I couldn't find onl...
by sjurado
Tue May 28, 2024 8:13 am
Forum: 3DMASC
Topic: Saving the classifier
Replies: 5
Views: 5354

Saving the classifier

Hello, I am having issues saving the classifier in a .yaml format. Could you please provide the code you use for this part : "When using Python, you can also save a trained OpenCV random forest model and use it in the CloudCompare plugin (using the save function of cv2.ml.RTrees)." Thanks !