From 7a9c404eca7b256033fa1ec413bdfd4089283c3b Mon Sep 17 00:00:00 2001 From: arorajatin Date: Tue, 22 Mar 2016 13:22:05 +0530 Subject: [PATCH 1/2] Update README.md file to show latest libc++'s framework format Starting XCode7 Apple starting providing text-based stub libraries (tbd's) instead of dylibs. Hence updating the readme file to avoid confusion. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb5a48c..01f337b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Also add following frameworks to your project: Also add following libs : -- libc++.dylib +- libc++.tdb ## OpenCV README From c1408ab58e6bc28ed002f0e9e7e9e494df3b321c Mon Sep 17 00:00:00 2001 From: arorajatin Date: Tue, 22 Mar 2016 13:27:31 +0530 Subject: [PATCH 2/2] Improve cv::Rect documentation The documentation seems incomplete as x & y origins are to be calculated from bottom-left in algorithms than top-left. Adding this line helps in clearifying the meaning of x & y in terms of algorithms. Documentation in code provides quick access to definitions rather than going online and searching through the official documentation. --- opencv2.framework/Versions/A/Headers/core/core.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencv2.framework/Versions/A/Headers/core/core.hpp b/opencv2.framework/Versions/A/Headers/core/core.hpp index cafba0f..2851ddb 100644 --- a/opencv2.framework/Versions/A/Headers/core/core.hpp +++ b/opencv2.framework/Versions/A/Headers/core/core.hpp @@ -880,7 +880,7 @@ template class Rect_ //! checks whether the rectangle contains the point bool contains(const Point_<_Tp>& pt) const; - _Tp x, y, width, height; //< the top-left corner, as well as width and height of the rectangle + _Tp x, y, width, height; //< the top-left corner, as well as width and height of the rectangle. Though, in your algorithms you may count x and y from the bottom-left corner };