Created
May 27, 2016 07:26
-
-
Save manashmandal/71ef90e0ca9e386cd183a0ad8125d0c9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| %{Cpp:LicenseTemplate}\ | |
| #include <iostream> | |
| #include <opencv2/highgui/highgui.hpp> | |
| #include <opencv2/core/core.hpp> | |
| using namespace cv; | |
| int main(int argc, char** argv) | |
| { | |
| namedWindow("Output", 1); | |
| Mat output = Mat::zeros(120, 350, CV_8UC3); | |
| putText(output, "Hello world", cvPoint(15,70), FONT_HERSHEY_PLAIN, 3 , cvScalar(0,255,0),4); | |
| imshow("Output", output); | |
| waitKey(0); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment