forked from MasteringOpenCV/code
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
57 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
...codeproj/project.xcworkspace/xcuserdata/bloodaxe.xcuserdatad/WorkspaceSettings.xcsettings
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
...proj/project.xcworkspace/xcuserdata/bloodaxe.xcuserdatad/xcdebugger/Expressions.xcexplist
This file was deleted.
Oops, something went wrong.
87 changes: 0 additions & 87 deletions
87
...deproj/xcuserdata/bloodaxe.xcuserdatad/xcschemes/Example_MarkerBasedAR - Release.xcscheme
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
Chapter2_iPhoneAR/Example_MarkerBasedAR/Example_MarkerBasedAR/DebugHelpers.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef DEBUG_HELPERS_HPP | ||
#define DEBUG_HELPERS_HPP | ||
|
||
#include <string> | ||
#include <sstream> | ||
|
||
template <typename T> | ||
std::string ToString(const T& value) | ||
{ | ||
std::ostringstream stream; | ||
stream << value; | ||
return stream.str(); | ||
} | ||
|
||
namespace cv | ||
{ | ||
inline void showAndSave(std::string name, const cv::Mat& m) | ||
{ | ||
cv::imshow(name, m); | ||
cv::imwrite(name + ".png", m); | ||
} | ||
} | ||
|
||
#endif |
36 changes: 0 additions & 36 deletions
36
Chapter2_iPhoneAR/Example_MarkerBasedAR/Example_MarkerBasedAR/MarkerDetectionFacade.hpp
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
Chapter2_iPhoneAR/Example_MarkerBasedAR/Example_MarkerBasedAR/VisualizationController.h
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.