52Hz AI Lab
AI Lab
Models and algorithms I designed or built, quantized into lightweight inference models that run on your own device.
- Runs locally
- Nothing uploaded
- Open source
-
- PyTorch models exported to ONNX and run by ONNX Runtime Web inside a Web Worker, so the page stays responsive.
- With WebGPU the model runs on your graphics card. If the GPU supports shader-f16, weights and math are fp16 (reductions and softmax stay fp32 for accuracy); otherwise a copy with fp16 weights and fp32 math is used.
- Without WebGPU it falls back to WebAssembly on the CPU, with that same fp16 weight, fp32 math copy.
- Models download once from a CDN and stay in your browser's Cache Storage; your photos and videos never leave the device.
- Models with a fixed input size (SUNet), and every model on phones and tablets, process the photo in overlapping tiles blended back together; tracking runs detection, appearance features and Hungarian matching frame by frame.
A computer is recommended. Phones have much less memory for these models, so a run can be slow or the browser may close the page.
-
Photo Brightener
Brightens photos taken in the dark and cleans up the noise that comes with them.
Model · HWMNet · SRMNet-thesis Try it
-
Photo Denoiser
Removes grain from noisy photos and keeps the detail.
Model · SRMNet · SUNet · SRMNet-thesis Try it
-
Rain Removal
Clears raindrops on the glass and rain streaks in the air.
Model · CMFNet · SRMNet-thesis Try it
-
Deblur
Sharpens photos smeared by camera shake or moving subjects.
Model · CMFNet · SRMNet-thesis Try it
-
Auto Retouch
Adjusts a photo’s color and contrast the way a photo editor would.
Model · SRMNet-thesis Try it
-
Vehicle Tracking
Finds every car in traffic-camera footage and keeps the same number on it from frame to frame.
Model · YOLOv9-c · YOLOv8-x · YOLO-World v2 Try it
Photo Brightener
HWMNet, my low-light enhancement network (ICIP 2022), trained on the LOL dataset.
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on the LOL dataset.
Dehaze
CMFNet, my multi-branch restoration network (ICIP 2023), in its version trained on O-HAZE outdoor haze.
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on NH-HAZE outdoor haze.
Photo Denoiser
SRMNet, my real image denoising network (EUSIPCO 2022), trained on SIDD photos with real smartphone noise.
SRMNet (EUSIPCO 2022), in its version trained on synthetic Gaussian noise (AWGN) added to clean photos.
SUNet, my Swin Transformer U-Net denoiser (ISCAS 2022), trained on synthetic Gaussian noise.
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on SIDD smartphone noise.
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on DIV2K photos with synthetic Gaussian noise.
Rain Removal
CMFNet (ICIP 2023), in its version trained on DeRainDrop: photos taken through glass covered in raindrops.
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on DeRainDrop.
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on Rain13k rain streaks.
Deblur
CMFNet (ICIP 2023), in its version trained on GoPro motion blur.
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on GoPro motion blur.
Auto Retouch
SRMNet as in my master’s thesis (IEEE Taipei Section Best Dissertation Award 2022), trained on MIT-Adobe FiveK, photos retouched by professional editors.
Vehicle Tracking
Built for low-frame-rate video, where cars jump between frames: a slimmed-down version of our team’s 2nd-place AI CUP 2024 tracker. YOLOv9-c finds the cars, OSNet matches them by look.