Skip to content

Commit

Permalink
Add copyright header to AR_simple.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shuochsu authored Oct 2, 2023
1 parent 61b71f0 commit 26ac783
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion AR_simple.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

import cv2
import numpy as np
import os
Expand Down Expand Up @@ -50,4 +56,4 @@
if depth[place_current[0]+i, place_current[1]+j] > depth_obj: # simple z-buffer
back_c[place_current[0]+i, place_current[1]+j, :] = object_img[i, j, :3]

cv2.imwrite(f'{TAR_DIR}/{l:03d}.png', back_c)
cv2.imwrite(f'{TAR_DIR}/{l:03d}.png', back_c)

0 comments on commit 26ac783

Please sign in to comment.