#ifndef _FILEPROCESS_H_
#define _FILEPROCESS_H_
#include <stdint.h>
#include <string>
#include <vector>
typedef int (*handler_fn)(const std::string &input_path,
                          const std::vector<uint8_t> &input,
                          std::string &output_path,
                          std::vector<uint8_t> &output);

int run_server(const std::string &server_addr, handler_fn handle_image);

#endif
