This commit is contained in:
JiatongSun
2019-04-27 15:24:59 +08:00
parent 024b718a3b
commit 9cfd26cc23
5 changed files with 95 additions and 31 deletions

View File

@@ -73,6 +73,9 @@ int main(int argc, char *argv[])
imshow("armor src", armor_src);
}
if(state == ENERGY_STATE){
if(from_camera==0){
energy.extract(energy_src);
}
energy.run(energy_src);
}else{
armorFinder.run(armor_src);