MikePiTop

Untitled

Nov 12th, 2021
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.53 KB | None | 0 0
  1. pitop/processing/algorithms/ball_detect.py:102: error: Function is missing a return type annotation
  2. pitop/processing/algorithms/ball_detect.py:106: error: Missing type parameters for generic type "tuple"
  3. pitop/processing/algorithms/ball_detect.py:111: error: Incompatible return value type (got "Optional[Any]", expected "Tuple[Any, ...]")
  4. pitop/processing/algorithms/ball_detect.py:114: error: Function is missing a return type annotation
  5. pitop/processing/algorithms/ball_detect.py:114: error: Missing type parameters for generic type "tuple"
  6. pitop/processing/algorithms/ball_detect.py:126: error: Function is missing a return type annotation
  7. pitop/processing/algorithms/ball_detect.py:130: error: Missing type parameters for generic type "deque"
  8. pitop/processing/algorithms/ball_detect.py:145: error: Function is missing a return type annotation
  9. pitop/processing/algorithms/ball_detect.py:164: error: Call to untyped function "import_libs" in typed context
  10. pitop/processing/algorithms/ball_detect.py:168: error: Call to untyped function "Ball" in typed context
  11. pitop/processing/algorithms/ball_detect.py:177: error: Function is missing a return type annotation
  12. pitop/processing/algorithms/ball_detect.py:177: error: Function is missing a type annotation for one or more arguments
  13. pitop/processing/algorithms/ball_detect.py:177: error: Missing type parameters for generic type "list"
  14. pitop/processing/algorithms/ball_detect.py:178: error: Function is missing a type annotation
  15. pitop/processing/algorithms/ball_detect.py:197: error: Call to untyped function "import_libs" in typed context
  16. pitop/processing/algorithms/ball_detect.py:198: error: Call to untyped function "convert" in typed context
  17. pitop/processing/algorithms/ball_detect.py:204: error: Call to untyped function "parse_colors" in typed context
  18. pitop/processing/algorithms/ball_detect.py:205: error: Call to untyped function "__find_most_likely_ball" in typed context
  19. pitop/processing/algorithms/ball_detect.py:213: error: Call to untyped function "__draw_ball_contrail" in typed context
  20. pitop/processing/algorithms/ball_detect.py:215: error: Call to untyped function "__draw_ball_position" in typed context
  21. pitop/processing/algorithms/ball_detect.py:217: error: Call to untyped function "convert" in typed context
  22. pitop/processing/algorithms/ball_detect.py:224: error: Function is missing a return type annotation
  23. pitop/processing/algorithms/ball_detect.py:224: note: Use "-> None" if function does not return a value
  24. pitop/processing/algorithms/ball_detect.py:229: error: Function is missing a type annotation
  25. pitop/processing/algorithms/ball_detect.py:230: error: Item "None" of "Optional[Any]" has no attribute "circle"
  26. pitop/processing/algorithms/ball_detect.py:231: error: Item "None" of "Optional[Any]" has no attribute "circle"
  27. pitop/processing/algorithms/ball_detect.py:235: error: Call to untyped function "tuple_for_color_by_name" in typed context
  28. pitop/processing/algorithms/ball_detect.py:239: error: Function is missing a type annotation
  29. pitop/processing/algorithms/ball_detect.py:245: error: Item "None" of "Optional[Any]" has no attribute "line"
  30. pitop/processing/algorithms/ball_detect.py:249: error: Call to untyped function "tuple_for_color_by_name" in typed context
  31. pitop/processing/algorithms/ball_detect.py:253: error: Function is missing a return type annotation
  32. pitop/processing/algorithms/ball_detect.py:253: error: Function is missing a type annotation for one or more arguments
  33. pitop/processing/algorithms/ball_detect.py:254: error: Call to untyped function "convert" in typed context
  34. pitop/processing/algorithms/ball_detect.py:256: error: Item "None" of "Optional[Any]" has no attribute "bitwise_and"
  35. pitop/processing/algorithms/ball_detect.py:258: error: Call to untyped function "convert" in typed context
  36. pitop/processing/algorithms/ball_detect.py:262: error: Function is missing a return type annotation
  37. pitop/processing/algorithms/ball_detect.py:262: error: Function is missing a type annotation for one or more arguments
  38. pitop/processing/algorithms/ball_detect.py:263: error: Item "None" of "Optional[Any]" has no attribute "blur"
  39. pitop/processing/algorithms/ball_detect.py:264: error: Item "None" of "Optional[Any]" has no attribute "COLOR_BGR2HSV"
  40. pitop/processing/algorithms/ball_detect.py:264: error: Item "None" of "Optional[Any]" has no attribute "cvtColor"
  41. pitop/processing/algorithms/ball_detect.py:26: error: Function is missing a return type annotation
  42. pitop/processing/algorithms/ball_detect.py:26: note: Use "-> None" if function does not return a value
  43. pitop/processing/algorithms/ball_detect.py:278: error: Item "None" of "Optional[Any]" has no attribute "inRange"
  44. pitop/processing/algorithms/ball_detect.py:282: error: Item "None" of "Optional[Any]" has no attribute "erode"
  45. pitop/processing/algorithms/ball_detect.py:283: error: Item "None" of "Optional[Any]" has no attribute "dilate"
  46. pitop/processing/algorithms/ball_detect.py:287: error: Function is missing a type annotation
  47. pitop/processing/algorithms/ball_detect.py:291: error: Item "None" of "Optional[Any]" has no attribute "grab_contours"
  48. pitop/processing/algorithms/ball_detect.py:292: error: Item "None" of "Optional[Any]" has no attribute "findContours"
  49. pitop/processing/algorithms/ball_detect.py:293: error: Item "None" of "Optional[Any]" has no attribute "CHAIN_APPROX_SIMPLE"
  50. pitop/processing/algorithms/ball_detect.py:293: error: Item "None" of "Optional[Any]" has no attribute "RETR_EXTERNAL"
  51. pitop/processing/algorithms/ball_detect.py:298: error: Function is missing a type annotation
  52. pitop/processing/algorithms/ball_detect.py:299: error: Item "None" of "Optional[Any]" has no attribute "resize"
  53. pitop/processing/algorithms/ball_detect.py:29: error: Call to untyped function "import_opencv" in typed context
  54. pitop/processing/algorithms/ball_detect.py:300: error: Call to untyped function "__find_contours" in typed context
  55. pitop/processing/algorithms/ball_detect.py:314: error: Call to untyped function "BallLikeness" in typed context
  56. pitop/processing/algorithms/ball_detect.py:31: error: Call to untyped function "import_imutils" in typed context
  57. pitop/processing/algorithms/ball_detect.py:333: error: Call to untyped function "center_reposition" in typed context
  58. pitop/processing/algorithms/ball_detect.py:336: error: Call to untyped function "get_object_target_lock_control_angle" in typed context
  59. pitop/processing/algorithms/ball_detect.py:35: error: Function is missing a type annotation
  60. pitop/processing/algorithms/ball_detect.py:36: error: Call to untyped function "import_libs" in typed context
  61. pitop/processing/algorithms/ball_detect.py:39: error: Item "None" of "Optional[Any]" has no attribute "minEnclosingCircle"
  62. pitop/processing/algorithms/ball_detect.py:40: error: Item "None" of "Optional[Any]" has no attribute "contourArea"
  63. pitop/processing/algorithms/ball_detect.py:42: error: Item "None" of "Optional[Any]" has no attribute "matchShapes"
  64. pitop/processing/algorithms/ball_detect.py:43: error: Call to untyped function "__circular_match_contour" in typed context
  65. pitop/processing/algorithms/ball_detect.py:49: error: Function is missing a return type annotation
  66. pitop/processing/algorithms/ball_detect.py:56: error: Item "None" of "Optional[Any]" has no attribute "circle"
  67. pitop/processing/algorithms/ball_detect.py:65: error: Item "None" of "Optional[Any]" has no attribute "grab_contours"
  68. pitop/processing/algorithms/ball_detect.py:66: error: Item "None" of "Optional[Any]" has no attribute "findContours"
  69. pitop/processing/algorithms/ball_detect.py:67: error: Item "None" of "Optional[Any]" has no attribute "CHAIN_APPROX_SIMPLE"
  70. pitop/processing/algorithms/ball_detect.py:67: error: Item "None" of "Optional[Any]" has no attribute "RETR_EXTERNAL"
  71. pitop/processing/algorithms/ball_detect.py:70: error: Item "None" of "Optional[Any]" has no attribute "contourArea"
  72. pitop/processing/algorithms/ball_detect.py:78: error: Function is missing a type annotation
  73. pitop/processing/algorithms/ball_detect.py:86: error: Need type annotation for "_center_points"
  74. pitop/processing/algorithms/ball_detect.py:99: error: Incompatible return value type (got "Optional[Any]", expected "float")
  75. pitop/processing/algorithms/faces/core/emotion.py:12: error: Function is missing a return type annotation
  76. pitop/processing/algorithms/faces/core/emotion.py:16: error: Function is missing a type annotation
  77. pitop/processing/algorithms/faces/core/emotion.py:20: error: Function is missing a return type annotation
  78. pitop/processing/algorithms/faces/core/emotion.py:24: error: Function is missing a type annotation
  79. pitop/processing/algorithms/faces/core/emotion.py:28: error: Function is missing a return type annotation
  80. pitop/processing/algorithms/faces/core/emotion.py:2: error: Function is missing a return type annotation
  81. pitop/processing/algorithms/faces/core/emotion.py:2: note: Use "-> None" if function does not return a value
  82. pitop/processing/algorithms/faces/core/emotion.py:32: error: Function is missing a type annotation
  83. pitop/processing/algorithms/faces/core/emotion.py:36: error: Function is missing a return type annotation
  84. pitop/processing/algorithms/faces/core/emotion.py:7: error: Function is missing a return type annotation
  85. pitop/processing/algorithms/faces/core/emotion.py:7: note: Use "-> None" if function does not return a value
  86. pitop/processing/algorithms/faces/core/face.py:101: error: Function is missing a return type annotation
  87. pitop/processing/algorithms/faces/core/face.py:105: error: Function is missing a type annotation
  88. pitop/processing/algorithms/faces/core/face.py:109: error: Function is missing a return type annotation
  89. pitop/processing/algorithms/faces/core/face.py:113: error: Function is missing a type annotation
  90. pitop/processing/algorithms/faces/core/face.py:117: error: Function is missing a return type annotation
  91. pitop/processing/algorithms/faces/core/face.py:121: error: Function is missing a type annotation
  92. pitop/processing/algorithms/faces/core/face.py:17: error: Function is missing a return type annotation
  93. pitop/processing/algorithms/faces/core/face.py:17: note: Use "-> None" if function does not return a value
  94. pitop/processing/algorithms/faces/core/face.py:24: error: Function is missing a return type annotation
  95. pitop/processing/algorithms/faces/core/face.py:24: note: Use "-> None" if function does not return a value
  96. pitop/processing/algorithms/faces/core/face.py:30: error: Function is missing a return type annotation
  97. pitop/processing/algorithms/faces/core/face.py:37: error: Call to untyped function "center_reposition" in typed context
  98. pitop/processing/algorithms/faces/core/face.py:43: error: Function is missing a return type annotation
  99. pitop/processing/algorithms/faces/core/face.py:53: error: Function is missing a type annotation
  100. pitop/processing/algorithms/faces/core/face.py:57: error: Function is missing a return type annotation
  101. pitop/processing/algorithms/faces/core/face.py:58: error: Call to untyped function "get_face_angle" in typed context
  102. pitop/processing/algorithms/faces/core/face.py:61: error: Function is missing a return type annotation
  103. pitop/processing/algorithms/faces/core/face.py:62: error: Call to untyped function "pupil_distance" in typed context
  104. pitop/processing/algorithms/faces/core/face.py:65: error: Function is missing a return type annotation
  105. pitop/processing/algorithms/faces/core/face.py:66: error: Call to untyped function "left_eye_center" in typed context
  106. pitop/processing/algorithms/faces/core/face.py:69: error: Function is missing a return type annotation
  107. pitop/processing/algorithms/faces/core/face.py:70: error: Call to untyped function "left_eye_dimensions" in typed context
  108. pitop/processing/algorithms/faces/core/face.py:73: error: Function is missing a return type annotation
  109. pitop/processing/algorithms/faces/core/face.py:74: error: Call to untyped function "right_eye_center" in typed context
  110. pitop/processing/algorithms/faces/core/face.py:77: error: Function is missing a return type annotation
  111. pitop/processing/algorithms/faces/core/face.py:78: error: Call to untyped function "right_eye_dimensions" in typed context
  112. pitop/processing/algorithms/faces/core/face.py:81: error: Function is missing a return type annotation
  113. pitop/processing/algorithms/faces/core/face.py:82: error: Call to untyped function "mouth_center" in typed context
  114. pitop/processing/algorithms/faces/core/face.py:85: error: Function is missing a return type annotation
  115. pitop/processing/algorithms/faces/core/face.py:86: error: Call to untyped function "mouth_dimensions" in typed context
  116. pitop/processing/algorithms/faces/core/face.py:89: error: Function is missing a return type annotation
  117. pitop/processing/algorithms/faces/core/face.py:90: error: Call to untyped function "nose_bottom" in typed context
  118. pitop/processing/algorithms/faces/core/face.py:93: error: Function is missing a return type annotation
  119. pitop/processing/algorithms/faces/core/face.py:97: error: Function is missing a type annotation
  120. pitop/processing/algorithms/faces/core/face_utils.py:102: error: Call to untyped function "feature_center" in typed context
  121. pitop/processing/algorithms/faces/core/face_utils.py:105: error: Function is missing a type annotation
  122. pitop/processing/algorithms/faces/core/face_utils.py:113: error: Call to untyped function "feature_center" in typed context
  123. pitop/processing/algorithms/faces/core/face_utils.py:116: error: Function is missing a type annotation
  124. pitop/processing/algorithms/faces/core/face_utils.py:127: error: Function is missing a type annotation
  125. pitop/processing/algorithms/faces/core/face_utils.py:138: error: Function is missing a return type annotation
  126. pitop/processing/algorithms/faces/core/face_utils.py:138: error: Function is missing a type annotation for one or more arguments
  127. pitop/processing/algorithms/faces/core/face_utils.py:156: error: Function is missing a return type annotation
  128. pitop/processing/algorithms/faces/core/face_utils.py:156: error: Function is missing a type annotation for one or more arguments
  129. pitop/processing/algorithms/faces/core/face_utils.py:157: error: Call to untyped function "get_landmarks_dict" in typed context
  130. pitop/processing/algorithms/faces/core/face_utils.py:161: error: Function is missing a type annotation
  131. pitop/processing/algorithms/faces/core/face_utils.py:162: error: Call to untyped function "feature_center" in typed context
  132. pitop/processing/algorithms/faces/core/face_utils.py:162: error: Call to untyped function "mouth_landmarks" in typed context
  133. pitop/processing/algorithms/faces/core/face_utils.py:165: error: Function is missing a type annotation
  134. pitop/processing/algorithms/faces/core/face_utils.py:174: error: Function is missing a type annotation
  135. pitop/processing/algorithms/faces/core/face_utils.py:175: error: Call to untyped function "mouth_landmarks" in typed context
  136. pitop/processing/algorithms/faces/core/face_utils.py:181: error: Function is missing a type annotation
  137. pitop/processing/algorithms/faces/core/face_utils.py:195: error: Function is missing a type annotation
  138. pitop/processing/algorithms/faces/core/face_utils.py:199: error: Function is missing a type annotation
  139. pitop/processing/algorithms/faces/core/face_utils.py:203: error: Incompatible types in assignment (expression has type "OrderedDict[str, object]", variable has type "OrderedDict[str, Tuple[int, int]]")
  140. pitop/processing/algorithms/faces/core/face_utils.py:25: error: Function is missing a type annotation
  141. pitop/processing/algorithms/faces/core/face_utils.py:59: error: "builtins.object*" object is not iterable
  142. pitop/processing/algorithms/faces/core/face_utils.py:60: error: "builtins.object*" object is not iterable
  143. pitop/processing/algorithms/faces/core/face_utils.py:79: error: Function is missing a type annotation
  144. pitop/processing/algorithms/faces/core/face_utils.py:87: error: Call to untyped function "left_eye_center" in typed context
  145. pitop/processing/algorithms/faces/core/face_utils.py:88: error: Call to untyped function "right_eye_center" in typed context
  146. pitop/processing/algorithms/faces/core/face_utils.py:94: error: Function is missing a type annotation
  147. pitop/processing/algorithms/faces/emotion_classifier.py:149: error: Call to untyped function "get_svc_feature_vector" in typed context
  148. pitop/processing/algorithms/faces/emotion_classifier.py:161: error: Call to untyped function "running_mean" in typed context
  149. pitop/processing/algorithms/faces/emotion_classifier.py:170: error: Call to untyped function "convert" in typed context
  150. pitop/processing/algorithms/faces/emotion_classifier.py:171: error: Call to untyped function "__draw_on_frame" in typed context
  151. pitop/processing/algorithms/faces/emotion_classifier.py:177: error: Function is missing a type annotation
  152. pitop/processing/algorithms/faces/emotion_classifier.py:17: error: Function is missing a return type annotation
  153. pitop/processing/algorithms/faces/emotion_classifier.py:17: note: Use "-> None" if function does not return a value
  154. pitop/processing/algorithms/faces/emotion_classifier.py:181: error: Item "None" of "Optional[Any]" has no attribute "getTextSize"
  155. pitop/processing/algorithms/faces/emotion_classifier.py:189: error: Call to untyped function "tuple_for_color_by_name" in typed context
  156. pitop/processing/algorithms/faces/emotion_classifier.py:191: error: Call to untyped function "tuple_for_color_by_name" in typed context
  157. pitop/processing/algorithms/faces/emotion_classifier.py:193: error: Call to untyped function "tuple_for_color_by_name" in typed context
  158. pitop/processing/algorithms/faces/emotion_classifier.py:195: error: Item "None" of "Optional[Any]" has no attribute "putText"
  159. pitop/processing/algorithms/faces/emotion_classifier.py:206: error: Item "None" of "Optional[Any]" has no attribute "circle"
  160. pitop/processing/algorithms/faces/emotion_classifier.py:20: error: Call to untyped function "import_opencv" in typed context
  161. pitop/processing/algorithms/faces/emotion_classifier.py:210: error: Call to untyped function "tuple_for_color_by_name" in typed context
  162. pitop/processing/algorithms/faces/emotion_classifier.py:22: error: Call to untyped function "import_face_utils" in typed context
  163. pitop/processing/algorithms/faces/emotion_classifier.py:28: error: Function is missing a type annotation for one or more arguments
  164. pitop/processing/algorithms/faces/emotion_classifier.py:29: error: Call to untyped function "import_libs" in typed context
  165. pitop/processing/algorithms/faces/emotion_classifier.py:31: error: Item "None" of "Optional[Any]" has no attribute "FACIAL_LANDMARKS_68_IDXS"
  166. pitop/processing/algorithms/faces/emotion_classifier.py:34: error: Item "None" of "Optional[Any]" has no attribute "FACIAL_LANDMARKS_68_IDXS"
  167. pitop/processing/algorithms/faces/emotion_classifier.py:40: error: Call to untyped function "load_emotion_model" in typed context
  168. pitop/processing/algorithms/faces/emotion_classifier.py:43: error: Call to untyped function "Emotion" in typed context
  169. pitop/processing/algorithms/faces/emotion_classifier.py:44: error: Item "None" of "Optional[Any]" has no attribute "FONT_HERSHEY_PLAIN"
  170. pitop/processing/algorithms/faces/emotion_classifier.py:52: error: Function is missing a type annotation
  171. pitop/processing/algorithms/faces/emotion_classifier.py:53: error: Call to untyped function "convert" in typed context
  172. pitop/processing/algorithms/faces/emotion_classifier.py:58: error: Call to untyped function "clear" in typed context
  173. pitop/processing/algorithms/faces/emotion_classifier.py:62: error: Call to untyped function "__get_emotion" in typed context
  174. pitop/processing/algorithms/faces/emotion_classifier.py:66: error: Function is missing a type annotation
  175. pitop/processing/algorithms/faces/emotion_classifier.py:83: error: Function is missing a type annotation
  176. pitop/processing/algorithms/faces/face_detector.py:104: error: Call to untyped function "__prepare_face_data" in typed context
  177. pitop/processing/algorithms/faces/face_detector.py:116: error: Function is missing a return type annotation
  178. pitop/processing/algorithms/faces/face_detector.py:116: note: Use "-> None" if function does not return a value
  179. pitop/processing/algorithms/faces/face_detector.py:119: error: Call to untyped function "import_opencv" in typed context
  180. pitop/processing/algorithms/faces/face_detector.py:121: error: Call to untyped function "import_dlib" in typed context
  181. pitop/processing/algorithms/faces/face_detector.py:123: error: Call to untyped function "import_face_utils" in typed context
  182. pitop/processing/algorithms/faces/face_detector.py:125: error: Call to untyped function "import_imutils" in typed context
  183. pitop/processing/algorithms/faces/face_detector.py:127: error: Function is missing a type annotation
  184. pitop/processing/algorithms/faces/face_detector.py:136: error: Item "None" of "Optional[Any]" has no attribute "cvtColor"
  185. pitop/processing/algorithms/faces/face_detector.py:137: error: Item "None" of "Optional[Any]" has no attribute "resize"
  186. pitop/processing/algorithms/faces/face_detector.py:138: error: Item "None" of "Optional[Any]" has no attribute "COLOR_BGR2GRAY"
  187. pitop/processing/algorithms/faces/face_detector.py:142: error: Function is missing a type annotation
  188. pitop/processing/algorithms/faces/face_detector.py:149: error: Call to untyped function "__process_detected_rectangles" in typed context
  189. pitop/processing/algorithms/faces/face_detector.py:156: error: Function is missing a type annotation
  190. pitop/processing/algorithms/faces/face_detector.py:172: error: Item "None" of "Optional[Any]" has no attribute "rect_to_bb"
  191. pitop/processing/algorithms/faces/face_detector.py:180: error: Call to untyped function "__get_dlib_face_features" in typed context
  192. pitop/processing/algorithms/faces/face_detector.py:184: error: Function is missing a type annotation
  193. pitop/processing/algorithms/faces/face_detector.py:193: error: Item "None" of "Optional[Any]" has no attribute "shape_to_np"
  194. pitop/processing/algorithms/faces/face_detector.py:195: error: Function is missing a type annotation
  195. pitop/processing/algorithms/faces/face_detector.py:196: error: Item "None" of "Optional[Any]" has no attribute "correlation_tracker"
  196. pitop/processing/algorithms/faces/face_detector.py:197: error: "None" has no attribute "start_track"
  197. pitop/processing/algorithms/faces/face_detector.py:199: error: Item "None" of "Optional[Any]" has no attribute "rectangle"
  198. pitop/processing/algorithms/faces/face_detector.py:207: error: Function is missing a return type annotation
  199. pitop/processing/algorithms/faces/face_detector.py:207: note: Use "-> None" if function does not return a value
  200. pitop/processing/algorithms/faces/face_detector.py:210: error: Function is missing a type annotation
  201. pitop/processing/algorithms/faces/face_detector.py:218: error: Function is missing a type annotation
  202. pitop/processing/algorithms/faces/face_detector.py:223: error: Item "None" of "Optional[Any]" has no attribute "rectangle"
  203. pitop/processing/algorithms/faces/face_detector.py:225: error: "None" has no attribute "update"
  204. pitop/processing/algorithms/faces/face_detector.py:232: error: Call to untyped function "convert_dlib_rect_to_int_type" in typed context
  205. pitop/processing/algorithms/faces/face_detector.py:233: error: "None" has no attribute "get_position"
  206. pitop/processing/algorithms/faces/face_detector.py:235: error: Call to untyped function "__get_dlib_face_features" in typed context
  207. pitop/processing/algorithms/faces/face_detector.py:237: error: Item "None" of "Optional[Any]" has no attribute "rect_to_bb"
  208. pitop/processing/algorithms/faces/face_detector.py:245: error: Function is missing a type annotation
  209. pitop/processing/algorithms/faces/face_detector.py:250: error: Call to untyped function "convert" in typed context
  210. pitop/processing/algorithms/faces/face_detector.py:258: error: Call to untyped function "convert" in typed context
  211. pitop/processing/algorithms/faces/face_detector.py:259: error: Call to untyped function "__draw_on_frame" in typed context
  212. pitop/processing/algorithms/faces/face_detector.py:264: error: Function is missing a type annotation
  213. pitop/processing/algorithms/faces/face_detector.py:266: error: Item "None" of "Optional[Any]" has no attribute "rectangle"
  214. pitop/processing/algorithms/faces/face_detector.py:270: error: Call to untyped function "tuple_for_color_by_name" in typed context
  215. pitop/processing/algorithms/faces/face_detector.py:274: error: Item "None" of "Optional[Any]" has no attribute "drawMarker"
  216. pitop/processing/algorithms/faces/face_detector.py:277: error: Call to untyped function "tuple_for_color_by_name" in typed context
  217. pitop/processing/algorithms/faces/face_detector.py:278: error: Item "None" of "Optional[Any]" has no attribute "MARKER_CROSS"
  218. pitop/processing/algorithms/faces/face_detector.py:281: error: Item "None" of "Optional[Any]" has no attribute "FILLED"
  219. pitop/processing/algorithms/faces/face_detector.py:286: error: Function is missing a return type annotation
  220. pitop/processing/algorithms/faces/face_detector.py:286: note: Use "-> None" if function does not return a value
  221. pitop/processing/algorithms/faces/face_detector.py:45: error: Call to untyped function "__import_libs" in typed context
  222. pitop/processing/algorithms/faces/face_detector.py:49: error: "None" has no attribute "get_frontal_face_detector"
  223. pitop/processing/algorithms/faces/face_detector.py:50: error: Call to untyped function "load_face_landmark_predictor" in typed context
  224. pitop/processing/algorithms/faces/face_detector.py:53: error: "None" has no attribute "createCLAHE"
  225. pitop/processing/algorithms/faces/face_detector.py:55: error: Call to untyped function "Face" in typed context
  226. pitop/processing/algorithms/faces/face_detector.py:65: error: Function is missing a type annotation
  227. pitop/processing/algorithms/faces/face_detector.py:71: error: Call to untyped function "__import_libs" in typed context
  228. pitop/processing/algorithms/faces/face_detector.py:72: error: Call to untyped function "convert" in typed context
  229. pitop/processing/algorithms/faces/face_detector.py:82: error: Call to untyped function "__get_frame_to_process" in typed context
  230. pitop/processing/algorithms/faces/face_detector.py:86: error: Call to untyped function "__detect_largest_face" in typed context
  231. pitop/processing/algorithms/faces/face_detector.py:91: error: Call to untyped function "__start_tracker" in typed context
  232. pitop/processing/algorithms/line_detect.py:15: error: Function is missing a return type annotation
  233. pitop/processing/algorithms/line_detect.py:35: error: Function is missing a type annotation
  234. pitop/processing/algorithms/line_detect.py:36: error: Call to untyped function "import_opencv" in typed context
  235. pitop/processing/algorithms/line_detect.py:37: error: Call to untyped function "convert" in typed context
  236. pitop/processing/algorithms/line_detect.py:42: error: Call to untyped function "calculate_blue_limits" in typed context
  237. pitop/processing/algorithms/line_detect.py:43: error: Call to untyped function "color_mask" in typed context
  238. pitop/processing/algorithms/line_detect.py:44: error: Call to untyped function "find_largest_contour" in typed context
  239. pitop/processing/algorithms/line_detect.py:52: error: Call to untyped function "find_centroid" in typed context
  240. pitop/processing/algorithms/line_detect.py:53: error: Call to untyped function "center_reposition" in typed context
  241. pitop/processing/algorithms/line_detect.py:56: error: Call to untyped function "get_object_target_lock_control_angle" in typed context
  242. pitop/processing/algorithms/line_detect.py:58: error: Call to untyped function "robot_view" in typed context
  243. pitop/processing/algorithms/line_detect.py:63: error: Call to untyped function "convert" in typed context
  244. pitop/processing/algorithms/line_detect.py:75: error: Function is missing a type annotation
  245. pitop/processing/algorithms/line_detect.py:76: error: Call to untyped function "import_opencv" in typed context
  246. pitop/processing/algorithms/line_detect.py:82: error: Call to untyped function "draw_contour_bound" in typed context
  247. pitop/processing/algorithms/line_detect.py:97: error: Function is missing a type annotation
  248. pitop/processing/algorithms/line_detect.py:98: error: Call to untyped function "import_opencv" in typed context
  249. pitop/processing/core/load_models.py:24: error: Function is missing a type annotation
  250. pitop/processing/core/load_models.py:48: error: Call to untyped function "download_file" in typed context
  251. pitop/processing/core/load_models.py:52: error: Call to untyped function "extract_file" in typed context
  252. pitop/processing/core/load_models.py:59: error: Function is missing a type annotation
  253. pitop/processing/core/load_models.py:5: error: Function is missing a type annotation
  254. pitop/processing/core/load_models.py:67: error: Call to untyped function "retrieve_model" in typed context
  255. pitop/processing/core/load_models.py:6: error: Function is missing a type annotation
  256. pitop/processing/core/load_models.py:81: error: Function is missing a type annotation
  257. pitop/processing/core/load_models.py:84: error: Call to untyped function "import_dlib" in typed context
  258. pitop/processing/core/load_models.py:86: error: Call to untyped function "retrieve_model" in typed context
  259. pitop/processing/core/math_functions.py:14: error: Function is missing a type annotation
  260. pitop/processing/core/math_functions.py:25: error: Call to untyped function "calculate_mean" in typed context
  261. pitop/processing/core/math_functions.py:29: error: Function is missing a type annotation
  262. pitop/processing/core/math_functions.py:4: error: Function is missing a type annotation
  263. pitop/processing/core/vision_functions.py:100: error: Function is missing a type annotation
  264. pitop/processing/core/vision_functions.py:118: error: Function is missing a type annotation
  265. pitop/processing/core/vision_functions.py:150: error: Function is missing a type annotation
  266. pitop/processing/core/vision_functions.py:15: error: Function is missing a return type annotation
  267. pitop/processing/core/vision_functions.py:26: error: Function is missing a return type annotation
  268. pitop/processing/core/vision_functions.py:37: error: Function is missing a type annotation
  269. pitop/processing/core/vision_functions.py:38: error: Call to untyped function "import_opencv" in typed context
  270. pitop/processing/core/vision_functions.py:4: error: Function is missing a return type annotation
  271. pitop/processing/core/vision_functions.py:51: error: Function is missing a type annotation
  272. pitop/processing/core/vision_functions.py:52: error: Call to untyped function "import_opencv" in typed context
  273. pitop/processing/core/vision_functions.py:70: error: Function is missing a type annotation
  274. pitop/processing/core/vision_functions.py:71: error: Call to untyped function "import_opencv" in typed context
  275. pitop/processing/core/vision_functions.py:80: error: Incompatible types in assignment (expression has type "None", variable has type "int")
  276. pitop/processing/core/vision_functions.py:81: error: Incompatible types in assignment (expression has type "None", variable has type "int")
  277. pitop/processing/core/vision_functions.py:86: error: Function is missing a type annotation
Advertisement
Add Comment
Please, Sign In to add comment