e="file" id="file" onchange="loadImageFromFile();" accept=".jpg,.jpeg,.png,.bmp" />
      </div>
      <div>
        <label>
          Enable Canny Edge Detection:
          <input type="checkbox" id="enableCanny"/>
        </label>
      </div>
      <div class="result">
        <div class="original">
          <img id="photo"/>
          <img id="photoRaw" style="display:none;"/>
        </div>
        <div class="processed">
          <img id="output"/>
        </div>
      </div>
      <div>
        <di