File size: 852 Bytes
dffe123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html

// Author: abratchik

#ifndef LISTCONVERTERS_HPP
#define	LISTCONVERTERS_HPP

#include "opencv2/opencv_modules.hpp"
#include "opencv2/core.hpp"

jobject vector_String_to_List(JNIEnv* env, std::vector<cv::String>& vs);

std::vector<cv::String> List_to_vector_String(JNIEnv* env, jobject list);

void Copy_vector_String_to_List(JNIEnv* env, std::vector<cv::String>& vs, jobject list);


jobject vector_string_to_List(JNIEnv* env, std::vector<std::string>& vs);

std::vector<std::string> List_to_vector_string(JNIEnv* env, jobject list);

void Copy_vector_string_to_List(JNIEnv* env, std::vector<std::string>& vs, jobject list);

#endif	/* LISTCONVERTERS_HPP */