Skip to content

Commit

Permalink
Fixed first time focus error
Browse files Browse the repository at this point in the history
  • Loading branch information
lee committed Apr 15, 2021
1 parent 902a67b commit 114ae62
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified Motorized_Focus_Camera/python/lib/libarducam_vcm.so
Binary file not shown.
4 changes: 2 additions & 2 deletions Motorized_Focus_Camera/python/multi_cameras_auto_focus.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def calculation(camera):
#set camera resolution to 2592x1944
camera.resolution = (1920,1080)
#save image to file.
camera.capture("test.jpg")
camera.capture("test_A.jpg")
print("max index = %d,max value = %lf" % (max_index,max_value))
print("Start focusing 2")
max_index = 10
Expand Down Expand Up @@ -121,7 +121,7 @@ def calculation(camera):
#set camera resolution to 2592x1944
camera.resolution = (1920,1080)
#save image to file.
camera.capture("test.jpg")
camera.capture("test_B.jpg")
print("max index = %d,max value = %lf" % (max_index,max_value))


Expand Down
Binary file removed Motorized_Focus_Camera/python/test.jpg
Binary file not shown.

0 comments on commit 114ae62

Please sign in to comment.