Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6235069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:36:23+00:00 2026-05-24T10:36:23+00:00

I have a project that use to use OpenCV1.1 and now has moved to

  • 0

I have a project that use to use OpenCV1.1 and now has moved to use OpenCV2.2. This project uses opencv’s face detection, and this happens to be about twice slower in version 2.2 that in 1.1. This slow down is affecting the realtime performance of this project.

I wondered if I could use the facedetector in 1.1 while using 2.2 for other not time critical parts of the project. So I tried a couple of things with limited success.
First I tried to use both versions in the same project but I had various built problems I couldn’t resolve.
Then I tried to make a dll with just the face detector in 1.1 and use this dll in the project that used 2.2. This works but, strangely, despite I can measure a speed increase for the face detection (which is opencv1.1 wrapped in the dll), the rest of parts in the project seem to have slowed down. I don’t know what is happening, maybe some internal conflict between opencv versions, deadlocking or something like this.

Has anybody tried this before?
Any help would be appreciated

Martin.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:36:24+00:00Added an answer on May 24, 2026 at 10:36 am

    It can work. Don’t link your project to the v1.1 DLLs. It’s also probably best to rename OpenCV 1.1 DLLs to something else and prevent possible conflicts on your system with the v2.2 DLLs.

    The trick consists in loading DLLs dinamically. Use LoadLibrary() to load v1.1 DLLs into your application and GetProcAddress() to retrieve the addresses of the functions (to be able to call them later on your code).

    Note: you need to call GetProcAddress() once for every function of OpenCV v1.1 you are using on your code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My use case is this... I have a project that has two production branches.
We have a Library Project that we use for all our central reused code
Good day, I have a library project that i use to create a paid
I have inherited a web site project that makes use of a number of
I have a maven project that contains a certain api I need to use
I have a working project that Im amending, it crashes after trying to use
I want to add more functionality to a project I have that makes use
I have a PhoneGap/Cordova project that means I must use a combination of JQuery
I know that I can use popToRootViewController if I have navigationController in my project
I have teamcity project that use mercurial. I did a few manually changes to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.