---
# System prepended metadata

title: 2022/10/12 Navigation開發紀錄

---

# 2022/10/12 Navigation開發紀錄

- Model Init方式：
    - AIControllerFactory tmpAIControllerFactory;
    - auto tmpResult = tmpAIControllerFactory.createAIController(RecorderSettings::CADeSensitivityLevel, "CADe4.3_CADe4.0_two_version_combine", ip_threshold);
    - m_aiController = std::get<0>(tmpResult);
    - cadeModel = std::get<1>(tmpResult);
    - m_cadXModel = std::get<2>(tmpResult);
- Model Detection方式：
    - m_aiController->DetectionWithDiagnoseROI(tempImgData, drawModel2->GetCurDis(), RecorderSettings::IsPhantom, recordData->Get_WriteoutList()->size(), extra_inform); **//CADe + CADx+ Seq**
    - m_aiController->lesionFramesDict;

- Update() : Navigation即時畫面
    - 原程式:
        - CADeRect = cadeModel->GetCADeRectangle();
    - 設計條件：
        - 目前畫面的Lesion Rectangle

- timer_do() : Navigation檔案錄影
    - CADeRects = cadeModel->GetCADeRectangle();
    
- freeze() : 建立Snapshot檔案
    - vector<int> freezeFrames紀錄index
    - 擷取timerHandle到recData指標記錄

