You can install mjpg-streamer ipk.
Please refer to this guide. [OpenWrt Wiki] Webcam with the Linux UVC driver