Create an TIEVisionSuperResModel instance to upscale images (i.e. increase image resolution).
See createNNet for the supported models.
Neural net supported types are: EDSR, ESPCN, FSRCNN, LapSRN
Parameter
Description
model
Model type
scale
Scale factor. This parameter must be tied to the specified model
// Increase the image resolution by a factor of three using FSRCNN pre-trained model var nnet: TIEVisionNNetSuperRes; img: TIEVisionImage; begin nnet:= IEVisionLib.createNNetSuperRes(ievFSRCNN, 3, 'FSRCNN_x3.pb'); img := nnet.upsample(ImageEnView1.IEBitmap.GetIEVisionImage()); ImageEnView1.IEBitmap.AssignIEVisionImage(img); ImageEnView1.Update(); end;