Esempio n. 1
0
  public MotionDetection(Other theOther) {
    super(theOther);

    _flob =
        new Flob(
            _theOther.get_videosource().get_width(),
            _theOther.get_videosource().get_height(),
            _theOther.get_videosource().get_width(),
            _theOther.get_videosource().get_height());
    _blobs = new ArrayList<trackedBlob>();

    _flob.setThresh(20).setSrcImage(0).setBlur(0).setOm(0).setFade(25).setMirror(true, false);
    _flob.settrackedBlobLifeTime(600);
  }