asdardevs / DeepC

Implementing Deep Convolutional Neural Network in C without External Libraries for YUV video Super-Resolution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeepC: Implementing Deep Convolutional Neural Network in C without External Libraries for YUV video Super-Resolution

This code uses FSRCNN algorithm to upsample the Y component of each frame of the YUV 4:2:0 video with scale factor of 2.

framework

No external liberaries are used and all required functions (including convolution, deconvolution and non-linearities) are written in main file source.c file.

For more information on the code, check my post on Towards Data Sceince.

To compile the code in Linux use:

gcc source.c -o videosr

Then run the code using following command:

./videosr <input_video_name> <output_video_name>

For example, in order to upsample foreman_qcif_146x144.yuv:

./videosr foreman_qcif_146x144.yuv output_foreman_352x288.yuv

About

Implementing Deep Convolutional Neural Network in C without External Libraries for YUV video Super-Resolution

License:MIT License


Languages

Language:C 100.0%