Text this: Edge-assisted UAV onboard video compression and transmission for efficient inference of patrolling tasks