Real-time FAST corner detector demo
Demo is available online: https://fast.dyum.in / https://fast-camera.vercel.app
Engines: Node v22 & Golang v1.24
Clone the repository and install dependencies
cd ./fast-camera
nvm use 22
npm ci
HTTPS is required in order to use camera (even for local development)
Create a directory for certificates
mkdir certificates && cd ./certificates
Generate key.pem
and cert.pem
files in the certificates
directory using OpenSSL
openssl genrsa -out key.pem 2048
openssl req -new -sha256 -key key.pem -out csr.csr
openssl req -x509 -sha256 -days 365 -key key.pem -in csr.csr -out cert.pem
More details regarding certificates can be found here
- Run local development server
npm run dev
Application will be available at https://localhost:3000
- Build static files for production
npm run build
WASM binary is compiled from Golang source (Golang v1.24 is required)
Golang FAST implementation is based on https://github.com/peterdee/go-fast
WASM binary is already included in the project, it can be recompiled with the following command
npm run compile-wasm
release
branch of this repository is automatically deployed to Vercel