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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:47:10+00:00 2026-06-12T20:47:10+00:00

The lack of documentation on the opencv 2 is a bit hard to work

  • 0

The lack of documentation on the opencv 2 is a bit hard to work with. I am trying to use kalman filter to track moving objects. I looked here for an example, but it uses a version before 2.x:

https://projects.developer.nokia.com/opencv/browser/opencv/opencv-2.3.1/samples/python/kalman.py

I know that the python bindings for opencv 2 uses numpy matrix. How does this translate from the old implementation? For example, in the link, a matrix is created this way:

state = cv.CreateMat(2, 1, cv.CV_32FC1)

But in numpy this doesn’t seem correct:

state = numpy.zeros(shape=(2,1))

There are examples where one could create a cv Matrix by converting it from numpy, but I wish to use only functions provided by cv2.

Also, I cannot find the equivalent of some functions in opencv 2:

cv.RandArr(...)

Is there an equivalent function for RandArr in cv2? I don’t quite understand how it works, so implementing it myself would take some time.

  • 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-06-12T20:47:11+00:00Added an answer on June 12, 2026 at 8:47 pm

    I am also facing the same problem. I am unable to use cv2.Kalman() properly. But as cv2 and cv are quite compatible, I worked my way around using cv.CreateKalman(). I think this might be useful. http://jayrambhia.wordpress.com/2012/07/26/kalman-filter/

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

Sidebar

Related Questions

I'm trying to get my way through Poppler and its (lack of) documentation. What
I'm trying to learn D but am struggling with lack of documentation (or my
Due to the lack of documentation for this on MSDN, I am forced to
There seems to be a distinct lack of documentation of the GObjects module for
The documentation of the ListView control (using WinApi) seem to lack some basic information,
I like NCommon project, but the lack of resources and documentation makes it very
I apologize for my lack of jquery knowledge. I'm using jquery 1.6.2, and trying
I've recently picked up renderscript and really loving it but the lack of documentation
I've noticed a big lack in documentation from mIRC scripting abilities so I apologize
I'm slightly puzzled by the lack of documentation on the issue, so I may

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.