Giter VIP home page Giter VIP logo

ncut_1081_maze's Introduction

圖像化自動追蹤紀錄動物軌跡8臂迷宮系統平台 (Ver.1.16)

國立勤益科大陳啟鈞教授團隊與台南市奇美醫院產學合作,進行【以路徑預測失智症之八臂迷宮系統】計畫,目的是探討使用紀錄被測者行走路徑來判斷出被測者是否有失智症傾向,以協助醫師診斷被測者是否罹患失智症。

系統開啟後截圖 image

實驗參數相關設定畫面截圖 image

Steps for System

File Requirements (CSV)

ARMS_LINE.csv (八臂座標點)

  1. 該檔案會有8x8二維陣列的數值,格式為[[[臂一X1, 臂一Y1], [臂一X2, 臂一Y2], ...], ..., [[臂八X1, 臂八Y1], [臂八X2, 臂八Y2], ...]]
  2. 面對八臂迷宮,畫面中朝下為第一臂,以順時鐘開始編號。臂尾(外側)面對自己/時,內側右邊為第1點、外側右邊為第2點、外側左邊為第3點、內側左邊為第4點。
1 2 3 4 5 6 7 8
第一臂第1個X座標 第一臂第1個Y座標 第一臂第2個X座標 第一臂第2個Y座標 第一臂第3個X座標 第一臂第3個Y座標 第一臂第4個X座標 第一臂第4個Y座標
第二臂第1個X座標 第二臂第1個Y座標 第二臂第2個X座標 第二臂第2個Y座標 第二臂第3個X座標 第二臂第3個Y座標 第二臂第4個X座標 第二臂第4個Y座標
第三臂第1個X座標 第三臂第1個Y座標 第三臂第2個X座標 第三臂第2個Y座標 第三臂第3個X座標 第三臂第3個Y座標 第三臂第4個X座標 第三臂第4個Y座標
第四臂第1個X座標 第四臂第1個Y座標 第四臂第2個X座標 第四臂第2個Y座標 第四臂第3個X座標 第四臂第3個Y座標 第四臂第4個X座標 第四臂第4個Y座標
第五臂第1個X座標 第五臂第1個Y座標 第五臂第2個X座標 第五臂第2個Y座標 第五臂第3個X座標 第五臂第3個Y座標 第五臂第4個X座標 第五臂第4個Y座標
第六臂第1個X座標 第六臂第1個Y座標 第六臂第2個X座標 第六臂第2個Y座標 第六臂第3個X座標 第六臂第3個Y座標 第六臂第4個X座標 第六臂第4個Y座標
第七臂第1個X座標 第七臂第1個Y座標 第七臂第2個X座標 第七臂第2個Y座標 第七臂第3個X座標 第七臂第3個Y座標 第七臂第4個X座標 第七臂第4個Y座標
第八臂第1個X座標 第八臂第1個Y座標 第八臂第2個X座標 第八臂第2個Y座標 第八臂第3個X座標 第八臂第3個Y座標 第八臂第4個X座標 第八臂第4個Y座標

IPCAM_INFO.csv (攝影機資訊)

  1. 本系統使用RTSP架構,格式為:rtsp://[攝影機帳號]:[攝影機密碼]@[攝影機IP]:554/[攝影機連線參數]
  2. 裡面內部以一列為一台攝影機資訊,格式為:
1 2 3 4 5 6 7
攝影機名稱 攝影機帳號 攝影機密碼 攝影機IP 攝影機連線參數 攝影機影像左上X座標 攝影機影像左上X座標

NEW_MODEL_LIST.csv (下拉式選單項目)

  1. 放置本系統下拉式選單之Model與Group選單項目
  2. 以下分別為Model與Group選單項目格式:
  • Model 格式
1 2 3
Model Model項目編號 Model項目內容
  • Group 格式
1 2 3 4
Groups Model項目編號 Group項目編號 Group項目內容

Python Libarary

Python需安裝下列套件才可成功執行:

sudo apt install python3-tk #tkinter, 要裝在系統層(此為ubuntu命令)(import tkinter)
pip install opencv-python #OpenCV(import cv2)
pip install winsound #winsound(import winsound)
pip install Pillow #PIL(from PIL impory Image)

Prepare

  1. 開啟紅外線攝像視窗,確認八臂迷宮是否對齊預設框線
  2. 設定寫入檔案路徑以及老鼠編號(RatID)
  3. 勾選放置食物的臂腳位
  4. 點擊開始按鈕,開始計時

Run

  1. 系統會記錄進臂順序並顯示於[Route]輸入框
  2. 當老鼠將所有食物吃完時,時間暫停並記錄總時間
  3. 紀錄該老鼠的短期記憶錯誤(Short Term)、長期記憶錯誤(Long Term)以及完成總時間(Latency)
  4. 將老鼠編號(RatID)、記憶錯誤(Short Term)、長期記憶錯誤(Long Term)、完成總時間(Latency)以及進臂順序(Route)寫入紀錄檔案

短期記憶錯誤(Short Term):當該臂進入兩次(含)以上,則紀錄錯誤乙次

長期記憶錯誤(Long Term):當第一次進入無食物臂,則紀錄錯誤乙次

Designer

National Chin-Yi University of Techology Department of Electronic Engineering

ncut_1081_maze's People

Contributors

dakeouo avatar s92475mark avatar

Forkers

s92475mark

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.