航线面板视频显示 算法分析调用服务器案例
This commit is contained in:
@@ -54,3 +54,18 @@ export function submitSegmentationAnalyze(formData: FormData) {
|
||||
export function getSegmentationHistory() {
|
||||
return fetch(`${SEGMENT_BASE}/api/v1/segmentation/analyses/report`).then(res => res.json());
|
||||
}
|
||||
|
||||
//热成像调用服务器案例
|
||||
|
||||
export function getHotDemo() {
|
||||
return fetch(`${SEGMENT_BASE}/demo/run`, {
|
||||
method: 'POST',
|
||||
}).then(res => res.json());
|
||||
}
|
||||
|
||||
//目标检测 调用服务器案例
|
||||
export function getTargetDemo() {
|
||||
return fetch(`${DETECT_BASE}/demo/run`, {
|
||||
method: 'POST',
|
||||
}).then(res => res.json());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user