Ask Your Question
1

iOS Framework includes

asked 2012-10-14 05:13:41 -0600

dima.choen gravatar image

updated 2012-10-14 05:15:33 -0600

Adi gravatar image

Why doesn't the iOS framework (2.4.2) include the cv.h header file ?

As a result opencv2/legacy/compat.hpp needs to be manually included as it isn't included in opencv.hpp

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2012-10-23 21:28:47 -0600

AlexanderShishkov gravatar image

On iOS we support only C++ interface.

edit flag offensive delete link more

Comments

Is there a reason for this?
The C interface actually works fine when the headers are replaced. Is there any (core) functionality that should not work on iOS?

Adi gravatar imageAdi ( 2012-10-24 02:17:42 -0600 )edit

All C functions should work on iOS, but C interface is obsolete. We are trying to teach all OpenCV users to use new C++ interface. It is more powerful and more easy.

AlexanderShishkov gravatar imageAlexanderShishkov ( 2012-11-01 16:56:30 -0600 )edit

Teaching is good, but there's still a large amount of existing ("legacy") code out there. Making sure older APIs still work is essential for any gradual transition of a system.

Adi gravatar imageAdi ( 2012-11-02 13:43:48 -0600 )edit

Question Tools

Stats

Asked: 2012-10-14 05:13:41 -0600

Seen: 371 times

Last updated: Oct 23 '12