zivid / zivid-cpp-samples

Code samples for the usage of a Zivid 3D camera in C++
BSD 3-Clause "New" or "Revised" License
22 stars 16 forks source link

Cannot find Zivid::Experimental::Calibration::detectFeaturePoints #245

Closed Kanteloper closed 1 year ago

Kanteloper commented 1 year ago

Hi,

I used 'Zivid::Calibraion::detectFeaturePoints' function in SDK v2.8.1. When I updated to SDK v2.9.0, there is a comment that the function is deprecated and I should use one of two functions.

But two functions are not declared in 'Calibration.h' files.

image

SatjaSivcev commented 1 year ago

Hi,

These functions are declared indirectly via Zivid.h (Detector.h). Are you not able to run a program with this function? Can you share more details about the code and maybe a minimal reproducer?

SatjaSivcev commented 1 year ago

My bad, I was thinking about ZIVID_CORE_EXPORT DetectionResult detectFeaturePoints(const PointCloud &cloud);

The ones you are looking for are in Zivid/Experimental/Calibration/InfieldCorrection.h. I see now that this is a bin unintuitive so we will probably move it in Calibration.h where it more naturally belongs. Thanks for informing us!

Kanteloper commented 1 year ago

Thanks for answering me!