Is there any C++ wrapper for exiftool for extracting metadata

I have tried to use tinyxiff and easyexif but the data reported is different or is incomplete in comparison to the exiftool output. I was wondering is there any usb api command or wrapper that can provide complete metadata for jpeg image.

Can you advise if you are running the command inside the camera as a plug-in with NDK or if you are downloading the image to another device first and then extracting the metadata there.

From inside the camera with a plug-in, you can access the webapi on a local web server running inside the camera. The webapi has a command to get the metadata of the image, but it is not complete. Please provide a little more information on your use case.

camera._getMetadata