Recent developments in automatic on-loom fabric inspection