RESTful API in C++ for document scanning and PDF generation, utilizing the C++ REST SDK and SANE scanner interface. Image processing using opencv