일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 통계
- 빅 데이타
- Statistics
- 우리들교회
- Artificial Intelligence
- 확률
- 몽고디비
- 빅데이터
- No SQL
- probability
- WebGL
- Deep learning
- Machine Learning
- 빅 데이터
- 주일설교
- 인공지능
- R
- data science
- nodeJS
- 김양재
- 김양재 목사님
- 딥러닝
- 데이터 과학
- MongoDB
- c++
- Big Data
- 김양재 목사
- 빅데이타
- node.js
- openCV
- Today
- Total
목록Programming (202)
Scientific Computing & Data Science
[app.js]var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'); var routes = require('./routes/index'); var users = require('./routes/users'); var update = require('./routes/update'); var app = expr..
[app.js] var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'); var routes = require('./routes/index'); var users = require('./routes/users'); var posts = require('./routes/posts'); var rem = requi..
[app.js] var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'); var routes = require('./routes/index'); var users = require('./routes/users'); var posts = require('./routes/posts'); var rem = requi..
Express를 이용하여 웹 브라우저에서 입력한 쿼리를 MongoDB에 입력하는 방법에 대해 알아본다.[app.js]var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'); var routes = require('./routes/index'); var users = require('./routes/users')..
[index.js]var express = require('express'); var router = express.Router(); /* GET home page. */ /*router.get('/', function(req, res, next) { res.render('index', { title: 'GCHOI', age: 40 }); });*/ router.get('/users/:id', function(req, res, next){ console.log(req.params); res.send(req.params.id, 200); }); module.exports = router; [Web Browser] [Console]
PrototypeCV_EXPORTS_W void resize( InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR ); Example Code123456789101112131415161718192021222324252627282930313233343536#include "stdafx.h"#include "opencv2/imgproc/imgproc.hpp"#include "opencv2/highgui/highgui.hpp"#include #include #include using namespace cv; /// Global variablescv::Mat src, dst;char..
OpenCV에서 Webcam으로부터 camera frame을 얻어와서 Window에 띄우는 절차는 다음과 같습니다: (1) VideoCapture 인스턴스를 생성한다. (2) 생성한 인스턴스가 유효한지 검사한다. (3) Window를 생성한다. (4) Frame을 갱신한다. (5) 생성한 Window에 갱신된 frame을 디스플레이한다. (6) Window가 닫힐 때까지 (4) - (5)를 반복한다. Example Code 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253#include "stdafx.h"#include #include using namespace cv; /////..
TheoryImage PyramidImage Pyramid란, 원본 이미지로부터 원하는 만큼 연속적으로 다운샘플링(downsample)을 하는 것을 의미합니다. Image Pyramid의 종류Gaussian Pyramid : 이미지 다운샘플(downsample)Laplacian Pyramid : 이미지 업샘플(upsample)Gaussian Pyramidi 번째 레이어를 \(G_i\), (i + 1)번째 레이어를 \(G_{i+1}\)라고 하겠습니다.(i + 1)번째 레이어를 얻으려면 다음의 Gaussian 커널을 \(G_i\)를 컨벌루션합니다: \( \displaystyle{\frac{1}{16}} \begin{bmatrix} 1 & 4 & 6 & 4 & 1 \\ 4 & 16 & 24 & 16 & 4 \..
[Theory]wheref(i+k, j+l) : source imageh(k, l) : kernelg(i, j) : filtered image [File Types]Box FilterGaussian FilterMedian FilterBilateral Filter : refer to this link [Source Code]#include "stdafx.h" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" using namespace std; using namespace cv; // Global Variables int DELAY_CAPTION = 1500; int DELAY_BLUR = 100; int MAX_KE..
[cv::putText 함수의 Prototype]//! renders text string in the image CV_EXPORTS_W void putText( Mat& img, const string& text, Point org, int fontFace, double fontScale, Scalar color, int thickness=1, int lineType=8, bool bottomLeftOrigin=false ); [Source Code]123456789101112131415161718192021222324252627282930313233343536#include "stdafx.h"#include "opencv2/opencv.hpp" using namespace cv; int _tmain(..