code: def postActivate_(self):
          
          self.tmpfile = os.path.join(constant.tmpdir,"valkka-"+str(os.getpid())) # e.g. "/tmp/valkka-10968" 
          self.analyzer = ExternalDetector(
              executable = self.executable,
              image_dimensions = self.image_dimensions,
              tmpfile = self.tmpfile
              )
docs: Create temporary file for image dumps and the analyzer itself