How to use OpenCV in C language code

I want to deploy and use OpenCV in C language. Is there a corresponding API interface that I can use?

unfortunately, there is no C-api (any more), you MUST use c++ today.

if you need to wrap it into C, write c++ code, and wrap it into C callable functions