Giter Club home page Giter Club logo

ibushigincamera's Introduction

IbushiginCamera

IbushiginCamera for GR-LYCHEE - OpenCV

いぶし銀カメラ

2018/02/24 FlashAir Developers Summit 2018 場所:LODGE - Yahoo Japan
GR-LYCHEE - Mbed
GR-LYCHEE - GADGET RENESAS
GR-LYCHEE - CORE
AS-289R2 Thermal Printer Shield - Mbed
AS-289R2 Thermal Printer Shield - NADA ELECTRONICS
FlashAir W-04 - TOSHIBA  

IbushiginCamera

Mbed CLI & GR-LYCHEE OpenCV Sample

GR-Boards_OpenCV_sample
GR-LYCHEE用オフライン開発環境の手順

接続

GR-LYCHEE (D13) - シャッターSW
GR-LYCHEE (D1) - AS-289R2 Thermal Printer Shield

主な処理

シャッターSWが押されるとカメラで取得したグレースケール画像cv::Mat dstにコピー
グレースケール画像サイズをcv:resizeで384xautoに変換
cv::imwriteでxxx_gray.bmpをFlashAirに保存
cv::Mat dstをディザリング処理で2値化
cv::flipで反転(デモが反転印字の為)
cv::imwriteでxxx_color2.bmpをFlashAirに保存
FlashAirのxxx_color2.bmpファイルを読み出しながらAS-289R2 Thermal Printer Shieldにuart送信

今後

FlashAirにLuaスクリプト設置してゴニョゴニュしてみます。

ibushigincamera's People

Contributors

nada-electronics avatar

Stargazers

 avatar  avatar

Forkers

herosugi team-hsl

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.