- Introduction
- Setup Environment
- Setup Libraries
- Start Electron
- Build Structure
- Show WebCAM stream in Electron
- Capture WebCAM stream
- Detect Face with Cognitive API
์ด ๋ฌธ์๋ Typescript๋ฅผ ๊ธฐ๋ณธ์ผ๋กํ, Angular2์ Electron์ ์ด์ฉํด Desktop Application์ ๋ง๋๋ ๊ฒ์ ๋ํด ๋ค๋ฃน๋๋ค.
์ด ๋ฌธ์๋ WebCAM Stream๊ณผ Cognitive๋ฅผ ์ด์ฉํด์ Electron์ ํ์ฉํ์ฌ ์ผ๊ตด ๊ฐ์ง App์ ๋ง๋๋ ๋ฐฉ๋ฒ์ ๋ํ์ฌ ๊ธฐ์ ํฉ๋๋ค.
Angular2, Electron์ Typescript ์ด๋ณด์ ๋์์ผ๋ก ๋ง๋ค์ด์ก์ต๋๋ค.
์์ฑ๋ ํํ๋ ์์ ๊ฐ์ต๋๋ค.
Electron์ Chromium๊ณผ Node.js๋ฅผ ์ด์ฉํ์ฌ ๋ฐ์คํฌํฑ ์ฑ์ HTML, CSS, JS(Typescript)๋ก ์ฝ๊ฒ ๋ง๋ค ์ ์๊ฒ ํด์ฃผ๋ Framework์
๋๋ค. ๋ณธ๋๋ Github์์ Atom Editor๋ฅผ ๊ฐ๋ฐํ๊ธฐ ์ํ์ฌ ์์๋ ํ๋ก์ ํธ๋ก, Atom Shell์ด๋ผ๋ ์ด๋ฆ์ผ๋ก ์์๋์๋ค๊ฐ Electron์ผ๋ก ์ด๋ฆ์ด ๋ฐ๋์์ต๋๋ค.
Electon์ ์ฅ์ ์ ๊ธฐ์กด์ ์น ๊ธฐ์ ์ ์ด์ฉํ์ฌ ์์ฝ๊ฒ Cross-platform ๋ฐ์คํฌํฑ ์ฑ์ ๊ฐ๋ฐ ํ ์ ์์ต๋๋ค. ์ด๋ฏธ ์น์ผ๋ก ๋ง๋ค์ด์ง ์๋น์ค๋ผ๋ฉด ์ต์ํ ์ธ์ด์ ์ฝ๋๋ฅผ ์ฌ์ฌ์ฉํ์ฌ ์ฝ๊ฒ ๋ฐ์คํฌํฑ ์ฑ์ ๊ฐ๋ฐํ ์ ์๊ฒ ๋ฉ๋๋ค.

