Corrected the depth map indexing by swapping x and y for proper data retrieval. Commented out visualization flag in test data and simplified printed output to focus on the retrieved depth value.
Eliminated the depth map quantization, PNG encoding, and Base64 conversion. Simplifies the depth map handling to return only normalized results. Removed unused `cv2` import as it's no longer required.
Add compression and encoding to depth map for efficiency
The depth map is now quantized to 16-bit, encoded as a PNG, and base64-encoded for efficient transmission. This change reduces data size and ensures compatibility with various clients while maintaining depth precision within a 0-10m range.