Files
GdCpp12/include/json/jsonCVWrapper.h

17 lines
596 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#pragma once
// opencv不是所有项目都包含按需要添加到pch.h
// 对应jsonCVWrapper.cpp源码添加到项目
#ifndef _JSON_OPENCV_WRAPPER_
#define _JSON_OPENCV_WRAPPER_
void to_json(jsonobj& j, const cv::Point& p);
void from_json(const jsonobj& j, cv::Point& p);
void to_json(jsonobj& j, const cv::Point2f& p);
void from_json(const jsonobj& j, cv::Point2f& p);
void to_json(jsonobj& j, const cv::Size& p);
void from_json(const jsonobj& j, cv::Size& p);
void to_json(jsonobj& j, const cv::Rect& p);
void from_json(const jsonobj& j, cv::Rect& p);
#endif //_JSON_OPENCV_WRAPPER_