Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
glddiv committed Nov 18, 2020
1 parent b1a2dbb commit a04171d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions Jetson/JetsonNano_PTZ/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,37 @@
## Hardware Connection
![IMAGE ALT TEXT](data/hardware.png)

##Focuser.py
## Usage
1. Download source code
```
git clone https://www.github.com/arducam/MIPI_Camera.git
```
2. Installation dependencies
```
sudo apt install python-smbus
```
3. Enter the source directory
```
cd MIPI_Camera/Jetson/JetsonNano_PTZ/
```
4. Run the example script
```
python FocuserExample.py
```
## Focuser.py
* zoom-lens basic control component.

##AutoFocus.py
* Provide two autofocus methods are available, depending on Focuser.py, opencv, picamera
* Use the `sudo apt-get install python-opencv` command to install opencv.
## AutoFocus.py
* Provide two autofocus methods are available, depending on Focuser.py, opencv
* Use the `sudo apt-get install python-smbus` command to install smbus.

##AutoFocusExample.py
## AutoFocusExample.py
* Example of using autofocus, depending on AutoFocus.py

##FocuserExample.py
## FocuserExample.py
* zoom-lens controller.
```bash
lee@lee-desktop:~/JetsonNano_PTZ$ python FocuserExample.py
lee@lee-desktop:~/MIPI_Camera/Jetson/JetsonNano_PTZ$ python FocuserExample.py
```
![IMAGE ALT TEXT](data/command.png)

Expand Down
Binary file modified Jetson/JetsonNano_PTZ/data/hardware.png
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 a04171d

Please sign in to comment.