rust-cv / cv

Rust CV mono-repo. Contains pure-Rust dependencies which attempt to encapsulate the capability of OpenCV, OpenMVG, and vSLAM frameworks in a cohesive set of APIs.
792 stars 62 forks source link

Fix the image path in the tutorial code #41

Closed Muqito closed 2 years ago

Muqito commented 2 years ago

The chapter2-first-pogram ../../res/0000000000.png were not working for me on Windows. However this chapter-3-akaze example works great.

This commit makes both example resolve the images in a similar fashion.

Also took the liberty to change the implementations to share variable names and spacing.

vadixidav commented 2 years ago

@Muqito Looks like you need to run cargo fmt (or set your IDE up to format on save). Once you format it and push that change, I think this is good to go.

Muqito commented 2 years ago

@vadixidav

Updated :) Thanks