MCPcopy Create free account
hub / github.com/SunOner/sunone_aimbot / parse

Method parse

logic/frame_parser.py:27–35  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

25 self._center_cache_key = None
26
27 def parse(self, result):
28 if result is None:
29 self._handle_no_detections()
30 return
31
32 if isinstance(result, sv.Detections):
33 self._process_sv_detections(result)
34 else:
35 self._process_yolo_detections(result)
36
37 def _process_sv_detections(self, detections):
38 if len(detections) > 0:

Callers 2

initFunction · 0.80
parseStreamOutputFunction · 0.80

Calls 3

_handle_no_detectionsMethod · 0.95

Tested by

no test coverage detected