A computer-implemented of method for inspecting woven fabric, comprising: providing an on-loom fabric inspection system comprising at least one imaging device configured to collect images of at least one section of a weaving area of a loom and at least one image-capture trigger-mechanism ; characterized by the steps of: obtaining a reference matrix representing a required weaving pattern, said reference matrix comprising a two dimensional array of values arranged as a sequence of rows, each row corresponding to a series of required warp-risers and required warp-sinkers along a single pick; selecting a required instant during the weaving cycle, said required instant coinciding with the point in the cycle when the warp yarns in a shed are coplanar with a fell region and a newly woven fabric ; said at least one image-capture trigger-mechanism triggering said imaging device at said required instant during the weaving cycle to capture an image of a fell-pick along a fell line of the weaving area ; identifying in said image a characteristic sequence of warp-risers and warp-sinkers along said fell-pick ; generating a digital string corresponding to said characteristic sequence; and comparing said digital string with a corresponding row of the reference matrix . providing an on-loom fabric inspection system comprising at least one imaging device configured to collect images of at least one section of a weaving area of a loom and at least one image-capture trigger-mechanism ; characterized by the steps of: obtaining a reference matrix representing a required weaving pattern, said reference matrix comprising a two dimensional array of values arranged as a sequence of rows, each row corresponding to a series of required warp-risers and required warp-sinkers along a single pick; selecting a required instant during the weaving cycle, said required instant coinciding with the point in the cycle when the warp yarns in a shed are coplanar with a fell region and a newly woven fabric ; said at least one image-capture trigger-mechanism triggering said imaging device at said required instant during the weaving cycle to capture an image of a fell-pick along a fell line of the weaving area ; identifying in said image a characteristic sequence of warp-risers and warp-sinkers along said fell-pick ; generating a digital string corresponding to said characteristic sequence; and comparing said digital string with a corresponding row of the reference matrix . obtaining a reference matrix representing a required weaving pattern, said reference matrix comprising a two dimensional array of values arranged as a sequence of rows, each row corresponding to a series of required warp-risers and required warp-sinkers along a single pick; selecting a required instant during the weaving cycle, said required instant coinciding with the point in the cycle when the warp yarns in a shed are coplanar with a fell region and a newly woven fabric ; said at least one image-capture trigger-mechanism triggering said imaging device at said required instant during the weaving cycle to capture an image of a fell-pick along a fell line of the weaving area ; identifying in said image a characteristic sequence of warp-risers and warp-sinkers along said fell-pick ; generating a digital string corresponding to said characteristic sequence; and comparing said digital string with a corresponding row of the reference matrix . <EOS>