Skip to content

Commit

Permalink
Update checker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elerac committed Aug 15, 2020
1 parent ad5fe35 commit c3da8ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions structuredlight/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@

class Checker(StructuredLight):
def __init__(self, sqsize=3, step=1):
"""
sqsize : int
Square size of checker pattern (pixel)
step : int
step decide how much to move the checker
Smaller size reduces the number of artifacts. However, the number of projections will increase.
sqsize > step >= 1
"""
self.sqsize = sqsize
self.step = step

Expand Down

0 comments on commit c3da8ec

Please sign in to comment.