360° and 2D video analytics in network and energy constrained environments