Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use this package with a 64-line LIDAR? #17

Open
tcjcxy30 opened this issue Aug 12, 2020 · 7 comments
Open

How do I use this package with a 64-line LIDAR? #17

tcjcxy30 opened this issue Aug 12, 2020 · 7 comments

Comments

@tcjcxy30
Copy link

Hi:
Thank you for your work. This is what I need.
I have a 64-line LIDAR but this package seems to only support 16-line LIDAR. What should I do to take my LIDAR data to use this package?
Looking forward to your reply.

@yzrobot
Copy link
Owner

yzrobot commented Aug 13, 2020

Hi, obviously you have more points to deal with. Since this "online learning" is actually a modular pipeline, you may need to consider "clustering" with your 64-line LIDAR first. To do so you could refer here: https://github.com/yzrobot/adaptive_clustering/blob/master/src/adaptive_clustering.cpp#L252. Alternatively, if real-time performance is affected, you may want to consider downsampling. The SVM part can remain unchanged for the time being, and improve when necessary. Cheers.

@yzrobot
Copy link
Owner

yzrobot commented Aug 13, 2020

@Carolbelieve
Copy link

Carolbelieve commented Aug 18, 2020

Hi:
First, I use downsampling with "setLeafSize(0.04f, 0.04f, 0.04f)" at "adaptive_clustering.cpp" with setting "VLP-16", the human can be clustered with box. The pointcloud size from "7xxxx" to "2xxxx", and at about 17FPS on a laptop.
Then, I use the same setting at "object3d_detector.cpp" and no boxes appear. So what are the problem I might run into here?

@Carolbelieve
Copy link

Hi, Yan, @yzrobot, thank you for your project first.
I have read your paper and check the code and find the probability models are abandoned in the line "if(svm_predict(svm_model_, svm_node_) != 1)". So I need to train a new svm model or tune the parameters?

@yzrobot
Copy link
Owner

yzrobot commented Aug 24, 2020

Hi, are you referring to here, if so:

- Function: double svm_predict(const struct svm_model *model,
                               const struct svm_node *x);

    This function does classification or regression on a test vector x
    given a model.

    For a classification model, the predicted class for x is returned.
    For a regression model, the function value of x calculated using
    the model is returned. For an one-class model, +1 or -1 is
    returned.

So the idea of the code is that, if it's 1 then we show the bounding-box, otherwise no. You don't need to train a new svm model, the code can handle it correctly.

@yzrobot
Copy link
Owner

yzrobot commented Aug 24, 2020

Hi:
First, I use downsampling with "setLeafSize(0.04f, 0.04f, 0.04f)" at "adaptive_clustering.cpp" with setting "VLP-16", the human can be clustered with box. The pointcloud size from "7xxxx" to "2xxxx", and at about 17FPS on a laptop.
Then, I use the same setting at "object3d_detector.cpp" and no boxes appear. So what are the problem I might run into here?

adaptive_clustering.cpp shows clusters, while object3d_detector.cpp shows humans (clustering + svm), so I guess that no cluster was recognized as human by svm.

@PranavShevkar
Copy link

Hello,
I am also working on a 64 line lidar. Did anyone actually manage to use this package to use with 64 line lidar. If so, can you share some valuable info or a link to the repo/

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants