Text this: Effect of Environmental Factors on the Accuracy of a Quality Inspection System Based on Transfer Learning