cloud vs edge computing for inspection