将OpenCV项目升级到最新版本 [英] Upgrade OpenCV project to latest version

查看:1935
本文介绍了将OpenCV项目升级到最新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C ++徽标检测项目,它使用OpenCV 2.3.1。我需要将此项目升级到OpenCV 3.0。例如,而不是使用(我实际上意味着替换)IplImage我想使用cv :: Mat。我知道一切都不会自动升级没有一些手动编码。

I have a C++ logo detection project which uses OpenCV 2.3.1. I need to upgrade this project to OpenCV 3.0. For example instead of using (I actually mean replacing) IplImage I would like to use cv::Mat. I know that everything will not be automatically upgraded without some manual coding.

问题:我想知道是否有任何方式,至少做一些

推荐答案

我最近不得不升级一个旧的OpenCV项目,以利用2.4。*版本(来自版本2.2)中提供的一些额外功能。没有工具或库,将帮助你检测你需要改变什么。

I recently had to upgrade an old OpenCV project to make use of some extra features offered in 2.4.* versions (coming from version 2.2). There is no tool or library that will help you detect what you need to change. I had to upgrade and then fix certain parts of my code that used functions that had changed slightly.

你可以使用的一个真正的资源是这样的: OpenCV库的API更改/兼容性报告

A really neat resource you can use is this: API changes/compatibility report for the OpenCV library

它允许您检查版本之间的向后兼容性%,并查看每个库版本中引入的主要更改。所以你可以使用这个来修复你看到的每一个冲突,你更新库到你想要的版本。

It allows you to check the backward compatibility % between versions and see the main changes introduced in each library version. So you can use this to fix every conflict you see once you update the library to the version you want.

这篇关于将OpenCV项目升级到最新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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