Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MaybeShewill-CV committed Jun 17, 2020
1 parent aae6e38 commit 01b12d5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lanenet_model/lanenet_postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,6 @@ def postprocess(self, binary_seg_result, instance_seg_result=None,
if data_source == 'tusimple':
tmp_mask = np.zeros(shape=(720, 1280), dtype=np.uint8)
tmp_mask[tuple((np.int_(coords[:, 1] * 720 / 256), np.int_(coords[:, 0] * 1280 / 512)))] = 255
elif data_source == 'beec_ccd':
tmp_mask = np.zeros(shape=(1350, 2448), dtype=np.uint8)
tmp_mask[tuple((np.int_(coords[:, 1] * 1350 / 256), np.int_(coords[:, 0] * 2448 / 512)))] = 255
else:
raise ValueError('Wrong data source now only support tusimple and beec_ccd')
tmp_ipm_mask = cv2.remap(
Expand Down

0 comments on commit 01b12d5

Please sign in to comment.