Machine learning based AFP inspection: A tool for characterization and integration