Skip to content

BaDjinn/MyCommonForms-web

 
 

Repository files navigation

PLEASE

Refer to the original page from where I forked from. This is my PERSONAL spin on the original, and i don't do support.

Major differences

  • confidence thershold now with 2 decimals
  • ONNX runtime web now in the WebCNN version with fallback: NPU->GPU->WebGPU->WASM(CPU)
  • minor aestethical changes

To Do

[] Add "Keep previous modules" [] Add a label which states the type of accelerator used

CommonForms in Browser

Screenshot 2025-10-19 at 11 35 20

About this repository

This repository show-cases the use of CommonForms in the browser, powered by ONNX Runtime Web

The most important pieces of logic are located over here:

  • formFieldDetection: the core logic using the model to detect the fields
  • applyAcroFields: the logic responsible for turning the detected fields into acrofields, ie, fillable widgets.

Running locally

  1. Install the dependencies
npm install
  1. Run the dev server
npm run dev
  1. Open your browser and navigate to http://localhost:5173/

About

My spin of detection form fields in PDFs with CommonForms using ONNX Runtime Web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 94.7%
  • HTML 4.9%
  • Other 0.4%