Computerized video analysis of tethered bacteria