How can I check weather a Code 128 bar-code is "EAN 128" or not. I am creating an application that uses both Code 128 and EAN 128 bar-code. While scanning a "EAN128" bar code the Android Vision API is returning the type as Code 128. From google I came to know that EAN 128 is a subset of Code 128 barcode. But how I can validate it separately like if it is valid EAN128 bar code or not since the device is not providing bar code sub type information.
Please help