Automated Behavioral Analysis Using Instance Segmentation