import cv2
import imutils

defaultThreshSettings = {
  "thresh": 50,
  "maxVal": 120,
  "erodeIteration": 10
}

class VideoCamera():
  def __init__(self, initThreshSettings = None):
    if initThreshSettings is None:
      self.threshSettings = defaultThreshSettings.copy()

  def getSettings(self):
    return self.threshSettings
552ad61dfd875849238416d0404ffa7de7990efe
<mask token>


class VideoCamera:
    <mask token>

    def getSettings(self):
        return self.threshSettings

<mask token>


class VideoCamera:

    def __init__(self, initThreshSettings=None):
        if initThreshSettings is None:
            self.threshSettings = defaultThreshSettings.copy()

    def getSettings(self):
        return self.threshSettings

<mask token>
defaultThreshSettings = {'thresh': 50, 'maxVal': 120, 'erodeIteration': 10}


class VideoCamera:

    def __init__(self, initThreshSettings=None):
        if initThreshSettings is None:
            self.threshSettings = defaultThreshSettings.copy()

    def getSettings(self):
        return self.threshSettings

import cv2
import imutils
defaultThreshSettings = {'thresh': 50, 'maxVal': 120, 'erodeIteration': 10}


class VideoCamera:

    def __init__(self, initThreshSettings=None):
        if initThreshSettings is None:
            self.threshSettings = defaultThreshSettings.copy()

    def getSettings(self):
        return self.threshSettings

import cv2
import imutils

defaultThreshSettings = {
  "thresh": 50,
  "maxVal": 120,
  "erodeIteration": 10
}

class VideoCamera():
  def __init__(self, initThreshSettings = None):
    if initThreshSettings is None:
      self.threshSettings = defaultThreshSettings.copy()

  def getSettings(self):
    return self.threshSettings