DDColor tiny LiteRT
on-device black-and-white photo colorization
2 min read
This is a converted .tflite version of DDColor paper tiny built for local color restoration on mobile devices via LiteRT. Using a ConvNeXt-T encoder and a multi-scale color decoder, it restores color to old or black-and-white photos. The weights are stored in fp16 to shrink the file size while keeping computation accuracy in fp32. It is a solid fit for mobile app developers and hobbyists who want offline photo colorization without sending images to a server.
Key features
- On-device execution: runs directly on mobile devices using LiteRT.
- Optimization: weights are saved in fp16 to reduce system overhead.
- Accuracy: minimal conversion loss, with Lab a/b prediction differences capped at 0.17.
- Performance: processes a photo in 7 to 10 seconds on a Pixel 10 Pro.
What you can do
- Mobile apps: integrate the model to colorize photos locally offline.
- Archival photos: automate batch colorization of old family snapshots on compatible hardware.
- On-device benchmarking: run the model in LiteRT-compatible environments to test GPU or CPU inference speeds.
Example
The model takes a 512x512 NCHW image with luminance mapped as neutral gray, outputting the Lab a and b channels ready to be merged back with the original image detail.
Read more
DetailsFile: ddcolor_tiny_fp16.tflite (133,183,696 bytes)
License: Apache-2.0
Authors: converted from the original DDColor work (Xiaoyang Kang et al., Alibaba DAMO Academy) and the ONNX port by ipsilondev.










Comments