Updated to remove GPUImage dependency