v id="captureViewer" class="fullscreen"></div>
        <div id="perspectiveViewer" class="fullscreen"></div>
      </div>
    </div>
    <script type="text/javascript">
      let documentScanner;
      let captureViewer;
      let perspectiveViewer;
      let docManager;
      let doc;
      let detectHander;
      initDDV();

      var Module = {
        // https://emscripten.org/docs/api_reference/module.html#Module.onRuntimeInitialized
        onRuntimeInitialized() {
          documentScanner = new Docu