UpscalerJS
V0.12.3
用JavaScript和AI增強圖像。增加分辨率,修飾,denoise等。開源,瀏覽器和節點兼容,麻省理工學院許可證。

現場演示在這裡。
import Upscaler from 'upscaler' ;
const upscaler = new Upscaler ( ) ;
upscaler . upscale ( '/path/to/image' ) . then ( upscaledImage => {
console . log ( upscaledImage ) ; // base64 representation of image src
} ) ; 在這裡查看文檔。
您可以查看可運行的代碼示例。您還可以在Github上找到指南。
在Github或❤️推文上添加配x星級以支持該項目!
麻省理工學院許可©凱文·斯科特(Kevin Scott)