Text this: Optimizing Resources of an FPGA-based Smart Camera Architecture