Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
singer-yang committed Sep 12, 2023
1 parent 00ada6c commit c76e0a8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# AutoLens
Automated lens design from flat planes.

Automated lens design from scratch.

##### How to run

1. clone or download this repo
2. run ```python auto_lens_design.py```


##### Lens Design Examples

1. A video of automated design of a FoV 80deg, F/2.0, 4.55mm focal length.

<div style="text-align:center;">
<img src="imgs/lens_design.gif" alt="AutoLens" style="width:450px; height:400px;"/>
</div>

1. 20 random automated lens design results for FoV 80deg, F/2.0, 4.55mm focal length.

<div style="text-align:center;">
<img src="imgs/lens_design.png" alt="AutoLens" style="width:800px; height:550px;"/>
</div>

##### If you find this repo helpful, please cite our paper:

```
@article{yang2023curriculum,
title={Curriculum learning for ab initio deep learned refractive optics},
author={Yang, Xinge and Fu, Qiang and Heidrich, Wolfgang},
journal={arXiv preprint arXiv:2302.01089},
year={2023}
}
```
7 changes: 4 additions & 3 deletions configs/auto_lens_design.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# => experiment options
DEBUG: True
brute_force: True
EXP_NAME: '6P exp'
EXP_NAME: '6P, 80deg, F/2.0, 7.66mm sensor, lens design'
seed: 1

# Experiment settings
Expand All @@ -12,11 +12,12 @@ curriculum_steps: 5
# Design spec
HFOV: 0.7
FNUM: 2.0
FNUM_START: 2.8
DIAG: 7.66

FNUM_START: 2.8
DIAG_START: 4

# Brute force search
# Random initialization
ai_degree: 6
flange: 1.2
rff: 0.9
Expand Down
Binary file added imgs/lens_design.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/lens_design.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c76e0a8

Please sign in to comment.