@Jay-Panchal i used motion on a rpi but have not tried it on omega2. it is available, was for an omega, not omega2, according to this post. but poster did not get it working.
just that i'd pass it along if it helps i don't know.
edit: i just remove comment from repos in /etc/opkg/distfeeds.conf and did a opkg update and then opkg install motion and it did install motion. thing is i have flash drive in usb port so can not test with webcam at the moment but gonna try to find hub and then test maybe tomorrow.