code: def setDetMode(self, det_mode=True):
      self.det_mode = det_mode
  
imports: from qtpy import QtWidgets, QtCore
  from qtpy.QtCore import Qt, QPointF
  from qtpy.QtGui import QPen, QColor
label_desc: Use image node_id 6 for calling the AnnotationScene obj's underlying member method code with example usage: obj.setDetMode(det_mode) without return types