| 470 | } |
| 471 | |
| 472 | bool PipelineParser::parse_direct_hit_param( |
| 473 | const json::value& input, |
| 474 | MAA_VISION_NS::DirectHitParam& output, |
| 475 | const MAA_VISION_NS::DirectHitParam& default_value) |
| 476 | { |
| 477 | if (!parse_roi_target(input, output.roi_target, default_value.roi_target)) { |
| 478 | LogError << "failed to parse_roi_target" << VAR(input); |
| 479 | return false; |
| 480 | } |
| 481 | |
| 482 | return true; |
| 483 | } |
| 484 | |
| 485 | bool PipelineParser::parse_template_matcher_param( |
| 486 | const json::value& input, |
nothing calls this directly
no outgoing calls
no test coverage detected