Giter Site home page Giter Site logo

opencv's Introduction

OpenCV

All about opencv in qt

Sample of Pro file

QT       += core

QT       -= gui

TARGET = untitled
CONFIG   += console
CONFIG   -= app_bundle

TEMPLATE = app


SOURCES += main.cpp
INCLUDEPATH += C://opencv//sources//release//install//include

CONFIG -= qt

LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_calib3d2410.dll.a

LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_contrib2410.dll.a

LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_core2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_features2d2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_flann2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_gpu2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_highgui2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_imgproc2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_legacy2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_ml2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_nonfree2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_objdetect2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_ocl2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_photo2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_stitching2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_superres2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_ts2410.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_video2410.dll.a
LIBS += C://opencv//sources//release//install//x64//mingw//lib//libopencv_videostab2410.dll.a

Sample of a program

#include "opencv2/opencv.hpp"
#include "opencv2/highgui/highgui.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;
}

opencv's People

Contributors

manashmandal avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.