Namacha411
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    ###### tags: 大規模実験 仕様検討書             H班 井澤慶広 田中英行 # 4J大規模実験 ## 概要 画像認識を用いた自動出欠確認システムの作成 ## 仕様案 ### 仕様1 画像ファイルを読み込む - 案1 小型カメラとマイコンを使用して画像を送信 - 案2 データの送信可能なカメラ、スマートフォンを使用して画像を送信 - 案3 PCからカメラ(Webカメラ)ヘアクセスし、撮影・送信を命令する ### 仕様2 画像ファイルを解析する <u>解析する段階</u> - 案1 解析プログラムを、アプリとして使用者に配布する - 案2 サーバーなど外部の実行環境を用意しそこで解析するためのプログラムを配布する - 案3 マイコンに解析プログラムをインストールしておき、マイコンで解析する <u>解析する方法</u> - 案1 OpenCVを用いる - 案2 ImageJ, R/Rstudio, Photosyopを使用して画像を解析する ### 仕様3 解析結果(学生の出欠)を出欠ファイルに更新する <u>出力するファイル形式</u> - 案1 出欠ファイルをExcelで作成し・更新する - 案2 出欠ファイルをCSVファイルで作成・更新する - 案3 出欠ファイルをJsonファイルで作成・更新する <u>保存するデータ構造</u> - 案1 データを「クラス->学生->科目と累積欠課時数」という枝構造で記憶する - 案2 データを「クラス->科目ごとの出席状況(学校の名簿一覧のような形)」という構造で記憶する ### 仕様4 欠席者に個別に連絡する - 案1 Microsoft Teams のチャット機能で担任のアカウントから連絡 - 案2 Gmailのようなサービスを通して連絡を行う ### 仕様5 学校単位でデータを管理する - 案1 データベースを用意し、学校ごとにファイルを管理する - 案2 ホストPC内でファイルを管理する - 案3 外部のクラウドデータ保存サービスまたはNASを用意し管理する ## 仕様の比較検討 ### 仕様1 画像ファイルを読み込む - カメラの性能(画質)の点では、案1 = 案2 > 案3 - 汎用性からは、案1 = 案3 > 案2 - このシステムでは、カメラの画質が最重要事項 これらの点から、選んだ案は、案1「小型カメラとマイコンを使用して画像を送信」 (テスト形式ではスマートフォンを使用する) ### 仕様2 画像ファイルを解析する <u>解析する段階</u> - 作成費用の面では、案1>案3>案2(案2はサーバーを借りるから) - 実装の重さはどれも同じくらいだと考える - バグ修正などのプログラムの配布、適用の容易さでは、案2>案1=案3 - 汎用性の高さでは案3>案1=案2 カメラ、処理はまとめたほうが使いやすいと考え、案3を選ぶ <u>解析する方法</u> - システムの作成にはPythonを使用する また、PythonではOpenCVを使用できる →使用言語の統一性を考慮すると、案1>案2 - 過去にある資産の活用性では、案1>案2(Pythonはオープンソース) これらの比較に、「画像処理の勉強にOpenCVを利用したい」という考えを加え、案1「OpenCVを用いる」を選ぶ ### 仕様3 解析結果(学生の出欠)を出欠ファイルに更新する <u>出力するファイル形式</u> - 実用的な点では、案1 > 2 > 3であると考える - 実装の簡単さでは、案2 = 3 > 1である - どれか一つだけのファイル形式では汎用性が低くなると予想し、出力できるファイル形式は上記3つの形式すべてを採用し、ユーザーが選択できるようにする <u>保存するデータ構造</u> - 今までの出席簿と同じ形式のほうが、先生側も使いやすいと思う - 科目のクラスをjsonでシリアライズしそのまま出力すればよさそう という理由から、現在の群馬高専で使われている名簿と同じデータ構造で保存する。 ### 仕様4 欠席者に個別に連絡する - 実用的な点、実装の重さのどちらも同じくらいであると予想する - 群馬高専が使用しているアプリがMicrosoft Teamsだから - Gmailのようなメール送信よりもチャット機能のほうが手軽だから というような理由より、Microsoft Teamsを利用する ### 仕様5 学校単位でデータを管理する - 実装の重さは変わらないと思うが手続きの手間などを考えると手元で実験できたほうが楽である - 群馬高専の、one driveなどMicrosoftの有料会員サービスが利用できる利点を生かしたい - データを保存することだけを行うためスペックの高いPCを必要としない という理由で案3を採用する ## 仕様最終案 ### 操作方法の概略 - 基本的にはラズベリーパイにインストールした出席自動確認プログラムを使用 - 出席状況の確認・編集には、PCにインストールしたGUIアプリを使用 ### 処理の流れ - ラズベリーパイによって撮影(教室に設置したカメラ) →ラズベリーパイで画像解析 →ラズベリーパイでデータをまとめる →データをNASまたは外部クラウドに送信 - NASまたは外部クラウドでは学校の全クラス・全科目のデータを一括管理 - 先生のPCではNASまたは外部クラウドに接続し、閲覧・編集が可能 ### 開発環境 - windows10, 11 - python3 - opencv2 - numpy - pandas - tkinter ### 使用部品 - Wifi機能を持ったラズベリーパイ - 小型カメラ

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully