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 6701881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:59:13+00:00 2026-05-26T06:59:13+00:00

I use OpenCV and its Python wrappers on a daily basis to produce computer

  • 0

I use OpenCV and its Python wrappers on a daily basis to produce computer vision algorithms.

For several complex functions, we need to keep the C version which allows lower computation time and easier reuse.

In this way, I would like to bind C functions that use opencv structures like iplimage to use them in Python. Could you give me some tips on it? I
don’t really know where to start actually.

Here is my structure which contains iplimages.

typedef struct{
    int nbBlobs;
    IplImage *labels;
    IplImage *contours;
}ccl_conf_t;

And here are the propotypes of my function:

int ccl_init(ccl_conf_t *conf, IplImage *frame);
void ccl_unInit(ccl_conf_t *conf);
int ccl_label(ccl_conf_t *conf, IplImage *frame, int option);

I would be grateful for any hint you could give me!

  • 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-26T06:59:14+00:00Added an answer on May 26, 2026 at 6:59 am

    Making a Python loadable module in C is quite easy. Start here: http://docs.python.org/c-api/

    It’s easy to take a small example from the Python source itself, extend to your own use. Look in the ‘Modules’ dir of the Python source.

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

Sidebar

Related Questions

I need to use OpenCV with a GigE Vision Ethernet Camera, but I couldn't
I have been developing some computer vision tools with openCV, but every time that
I'm trying to use OpenCV with Python and converting some C++ code. Anyway, if
HI! I'm trying to install opencv and use it with python, but when I
I'm trying to use the new OpenCV 2.0 API in MS Visual C++ 2008
How can I subtract one image from another using openCV? Ps.: I coudn't use
I'm trying to use the new 2.0 c++ version of OpenCV , but everything
I have no background in computer vision, but I was curious to know how
The image resizing function provided by Emgu (a .net wrapper for OpenCV) can use
I am trying to install OpenCV on my Mac (OS X v10.6.3) for use

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.