Skip to content

Commit

Permalink
新增Webcam模組架構
Browse files Browse the repository at this point in the history
  • Loading branch information
TMineCola committed Jun 12, 2018
1 parent a548fd8 commit c37b043
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions modules/webCam.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const logSystem = require('./modules/logControl');

module.exports = webCamControl;

function webCamControl() {

var module = {};

var log = new logSystem(config.main.logDirectory, "webcam");

module.localStorage = function () {
let time = new Date().toISOString();

// 拍照
// 儲存
// 紀錄

// 回傳路徑
return photoSrc;
}
}

0 comments on commit c37b043

Please sign in to comment.