16 lines
388 B
C++
16 lines
388 B
C++
|
#include "yolo.h"
|
||
|
#include "depthProcess.h"
|
||
|
|
||
|
|
||
|
int main(int argc, char** argv) {
|
||
|
|
||
|
// initialize yolo
|
||
|
Yolo detector = Yolo(modelPath);
|
||
|
// initialize depthProcessor
|
||
|
DepthProcess depthProcessor = DepthProcess(mk);
|
||
|
// read image
|
||
|
// read depth
|
||
|
// do object detection (new thread)
|
||
|
// do depth process
|
||
|
// get boxes and do obstacleRecognize
|
||
|
}
|