难道Android的OpenCV的二进制有数据持久化的功能呢? [英] Does the Android OpenCV binary have data persistence functions?

查看:91
本文介绍了难道Android的OpenCV的二进制有数据持久化的功能呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能坚持矩阵到磁盘。在C,C ++版本的OpenCV的支持与功能cvWrite。我不凌晨同等职能为Android二进制文件。是否还有其他选择吗?

I'd like to be able to persist matrices to disk. The c,c++ version of OpenCV supports with with the function cvWrite. I don't wee an equivalent function for the Android binary. Are there any other options?

推荐答案

在C / C ++,你拥有所有支持的平台上的完整的API:

In C/C++ you have the full API on all supported platforms:

XML / YAML持久性

XML / YAML持久性(C API)

的Andr​​oid的Java API不导出持久化API,但一些类提供保存/载入方法,它们的配置。

Android Java API does not export the persistence API, but some classes provide Save/Load methods for their configurations.

这篇关于难道Android的OpenCV的二进制有数据持久化的功能呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆