Real-time FAST corner detector demo
Demo is available online: https://fast.dyum.in / https://fast-camera.vercel.app
git clone https://github.com/peterdee/fast-camera
cd ./fast-camera
nvm use 18
npm ci
Create a directory for certificates
mkdir certificates && cd ./certificates
Generate key.pem
and cert.pem
files in the certificates
directory
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 the server
npm run dev
Development server will be available at https://localhost:3000
WASM binary is compiled from Golang source (Golang v1.20 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 binary can be compiled with TinyGO, in that case the public/wasm_exec.js file should be replaced
release
branch of this repository is automatically deployed to Vercel