Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.7.1 影像回收/辨識狀況 #16

Closed
5 tasks done
ghost opened this issue Nov 5, 2018 · 22 comments · Fixed by #143
Closed
5 tasks done

2.7.1 影像回收/辨識狀況 #16

ghost opened this issue Nov 5, 2018 · 22 comments · Fixed by #143

Comments

@ghost
Copy link

ghost commented Nov 5, 2018

  • a. 列出樣區
  • d. 顯示樣區名稱
  • e. 顯示最後更新時間
  • f. 切換年份,得到該年資料呈現在圖表上
  • i. 切換帶入影像辨識進度資料

文件:

@ghost ghost created this issue from a note in API 介接及完成 UI 互動 (To do) Nov 5, 2018
@diabloevagto
Copy link
Contributor

api 缺少最後更新時間

@AJANelson
Copy link
Contributor

已有畫面,待驗證

@ghost ghost added this to the 計畫資料管理及更新 WF1 WF2 WF3 milestone Nov 22, 2018
@oahehc
Copy link
Collaborator

oahehc commented Nov 23, 2018

是否需要提供 API for 樣區/子樣區名單
image

@diabloevagto
Copy link
Contributor

目前是自己湊出來的可以參考 project/cameraLocations,不過這部分湊的方式很難看
如果直接有 api 取得是最好的

除了樣區跟子樣區以外,也要補上相機位置

@oahehc
Copy link
Collaborator

oahehc commented Nov 23, 2018

最後更新時間是顯示該專案最後更新時間, 還是針對目前篩選樣區/子樣區?
image

若是針對目前篩選條件, 最後更新時間會放在哪支API?

影像辨識狀況 (特定年度特定計畫) WF 2.6, WF 2.7, WF 2.8
 /project/location-month-identified-num
影像回收狀況 (特定年度特定計畫) WF 2.6, WF 2.7, WF 2.8
 /project/location-month-retrieved-num

@ghost
Copy link
Author

ghost commented Nov 24, 2018

應該是目前篩選樣區/子樣區的
最後更新時間應該是目前該樣區的最新資料時間 (@rwu823 這個可能是待做的 API)

@oahehc
Copy link
Collaborator

oahehc commented Nov 25, 2018

i. 切換帶入影像辨識進度資料
wireframe 圖表是顯示每個月 已辨識 / 資料未完整 兩種狀態,
但 API 給的是每個月的數量, 這段不清楚應該如何串接

API

影像辨識狀況 (特定年度特定計畫) WF 2.6, WF 2.7, WF 2.8
 /project/location-month-identified-num
...
      "monthly_num": [
        {
          "month": 3,
          "num": 6
        },
        {
          "month": 2,
          "num": 115
        },
        {
          "month": 1,
          "num": 21
        }
      ],
...

Wireframe

image

@ghost
Copy link
Author

ghost commented Nov 25, 2018

這個以 API 的現況應該要配合 location-month-retrieved-num
需要比較 monthly_num 中是否有同個一 month 值的物件

如果兩者都有同一個月份的物件,那麼長條圖就可以畫到有 month 值最大的那個月
顏色部分則需要比較同一個月的 num,一樣的話就是藍色,不一樣的話就是灰色

這樣可以瞭解?

@oahehc
Copy link
Collaborator

oahehc commented Nov 25, 2018

如果兩支 api 的 month 不一致, 是統一歸屬到灰色, 還是有其他處理邏輯?

@ghost
Copy link
Author

ghost commented Nov 25, 2018

應該是以 retrieved-num 統一歸屬到灰色
(灰色的定義是已辨識但資料未完整,應該修改說明為已回收但未完成辨識)

@oahehc
Copy link
Collaborator

oahehc commented Nov 25, 2018

請問以下理解正確嗎?
retrieved-num / location-month-identified-num 該月份都有資料

  • 兩者數量相同, 則歸為 當月資料已辨識
  • 數量不同, 則歸為 當月資料已辨識, 但資料未完整

@ghost
Copy link
Author

ghost commented Nov 25, 2018

yes :)

@rwu823 rwu823 self-assigned this Nov 26, 2018
@oahehc
Copy link
Collaborator

oahehc commented Nov 27, 2018

影像回收狀況:圖表有三種狀態, API 目前只有一個數量, 請問要如何對應?
image

@ghost
Copy link
Author

ghost commented Nov 27, 2018

https://github.com/TaiBIF/camera-trap-api/wiki/retrieval-status
就我的理解是如果資料長這樣:

      "monthly_num": [
        {
          "month": 4,
          "num": 33
        },
        {
          "month": 3,
          "num": 6
        },
        {
          "month": 2,
          "num": 115
        }
      ],

那就會是上面花蓮處的情況,因為一月沒有結果。

@oahehc
Copy link
Collaborator

oahehc commented Nov 27, 2018

所以不會有相機撤除這個情況?

@ghost
Copy link
Author

ghost commented Nov 28, 2018

會 但得確認算法 可先不處理

Sent with GitHawk

@ghost
Copy link
Author

ghost commented Nov 28, 2018

@oahehc 這裡 TaiBIF/camera-trap-api#39 的說明是否有解決上面 #16 (comment) 列出樣區、子樣區及相機地點的需求?

@oahehc
Copy link
Collaborator

oahehc commented Nov 28, 2018

會 但得確認算法 可先不處理
建議是否先定義 response 格式, 以免後續要增加時會影響到其他兩個類別的計算?

@ghost
Copy link
Author

ghost commented Nov 28, 2018

相機撤除本年度不處理。#83

格式已更新在 回收狀況辨識狀況

@ghost
Copy link
Author

ghost commented Nov 28, 2018

@oahehc 目前 是否需要提供 API for 樣區/子樣區名單 還有需要嗎?

@trashmai
Copy link
Contributor

目前切換年份呈現資料似乎有點問題,可否請 @oahehc 協助確認一下狀況?有時資料跟年份會對不起來,不知是否與送出的 request 順序與 response 回傳順序不一致導致。

API 介接及完成 UI 互動 automation moved this from To do to Done Dec 20, 2018
@ghost ghost reopened this Apr 19, 2019
API 介接及完成 UI 互動 automation moved this from Done to To do Apr 19, 2019
@ghost ghost unassigned rwu823 May 1, 2019
@ghost
Copy link
Author

ghost commented May 1, 2019

no longer applicable.

@ghost ghost closed this as completed May 1, 2019
API 介接及完成 UI 互動 automation moved this from To do to Done May 1, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

5 participants