Smart target flow meter: Precise flow measurement in industrial pipelines