Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some common questions #58

Open
lucasjinreal opened this issue Jan 11, 2023 · 1 comment
Open

Some common questions #58

lucasjinreal opened this issue Jan 11, 2023 · 1 comment

Comments

@lucasjinreal
Copy link

Hi, this is a really wonderful try in rust. But for a DL user I mainly focus only on some core functions like:

  • resize
  • cvtColor
  • video open/write
  • image open/write

So, just wonder, how does the performance compare with opencv? for example, the resize sometimes is non-crutial since it time-costing ,in opencv, it using SIMD for accelerations, does cv able to do so?

@vadixidav
Copy link
Member

cv is currently more like a collection of various crates with glue to make them work together in addition to MVG primitives and algorithms. The ndarray-vision crate is where some of the image processing algorithms live. You also will find some in image and imageproc. Those two are not maintained by us, but I would look at their repo to see how they are doing it. I believe ndarray, which we are currently using for image processing of this sort, does have some SIMD support.

I would not consider cv to be useful for you if you are doing only image processing. Use the crates I mentioned above. cv is currently really only useful for MVG algorithms, and even then only a limited subset. I haven't had much time recently to maintain everything, so some of the dependencies are likely out of date as well. Best of luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants