From a372427828904cb04cb02af1286fb4bf0c11f742 Mon Sep 17 00:00:00 2001
From: Qiu Dinghao <46046604+mmmmimic@users.noreply.github.com>
Date: Sat, 16 May 2020 18:37:33 +0200
Subject: [PATCH] Update main.py

---
 src/main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.py b/src/main.py
index 8f83d6a..65e129e 100644
--- a/src/main.py
+++ b/src/main.py
@@ -480,9 +480,9 @@ class Tracker(object):
             self.depth = np.load('depthOcc/'+f'{i+1:04d}.npy')
             # adjust the depth(because the former depth data is not so exact, the focal length is 700 and basiline is 3.5)
             # focal length of the camera
-            fl = 702.75482843
+            fl = 704.4922
             # baseline
-            bl = math.sqrt(((-120)**2+(-0.00914604)**2+0.02945485**2))
+            bl = math.sqrt(((-120.0307)**2+(-0.2427)**2+(-0.4453)**2))
             self.depth = self.depth/(700*3.5)*fl*bl
             #the max depth is set to be 100
             self.depth[self.depth>100] = 0
-- 
GitLab