But if we look into encoding time Arduino Due(500ms) is almost 4 times faster than Arduino Mega(2s) . The Arduino Mega has less memory as compared to Arduino Due which brings into conclusion, If the project requires encoding of visual data then the Arduino Due would be the ideal choice.