# Camera Usage

AugeLab Studio supports various camera blocks, each designed to handle different types of communication.

Here’s how to set up the hardware wiring for each camera type:

<details>

<summary>USB Camera</summary>

Supports USB communication, allowing higher FPS delivery over IP cameras.

Depending on the BUS width your of setup, usually, up to 4 USB Cameras per computer is recommended.

To use more than 4 cameras, you'll need a USB controller expansion card.

**Setup:**

* **Hardware Requirements:** A USB camera and a computer with an available USB port.
* **Connection Steps:**
  1. Plug the USB camera into an available USB port on your computer.
  2. Ensure that any necessary drivers for the camera are installed on your computer.
  3. Open AugeLab Studio and select the "Camera USB" block to start capturing images.
  4. Click on _Scan Connnected USB Cameras_, this will scan all connected USB devices.
  5. Any found devices will be shown under.

<img src="https://63608322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH8gla5D8g5pQAK8IzR8%2Fuploads%2Fgit-blob-9882b3bd1ea7f0dfab3f5c28cbb27fa25981d393%2Fusb-camera.png?alt=media" alt="Simple USB Camera Usage" data-size="original">

</details>

<details>

<summary>IP Camera - RTSP Communication</summary>

Recommended for fast data exchange when total number of IP cameras are not about 4 at the same time per computer.

**Setup:**

* **Hardware Requirements:** An IP camera, a network switch/router, and Ethernet cables.
* **Wiring Steps:**
  1. Connect the IP camera to your network switch or router using an Ethernet cable.
  2. Ensure the camera is powered on.
  3. Configure the camera’s IP address (refer to the camera’s manual for detailed instructions).
  4. Check if there is a username/password protection. You'll usually find it with the usermanual provided with the camera. If not:
  5. Most cameras use `admin`/`admin` for username and password
  6. Contact your provider.
  7. Open AugeLab Studio, select the "Camera IP" block, and enter the RTSP URL to start streaming.

<img src="https://63608322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH8gla5D8g5pQAK8IzR8%2Fuploads%2Fgit-blob-e7b3f0710155e2da3235fab05550decc77febbf8%2Frtsp-camera.png?alt=media" alt="Simple IP Camera Usage" data-size="original">

</details>

<details>

<summary>IP Camera - ONVIF</summary>

Recommended for cameras that support [ONVIF](https://www.onvif.org/about/member-list/) protocol.

Recommended when more than 4 IP cameras need processing. However, does not provide a fast frame rate.

**Setup:**

* **Hardware Requirements:** An ONVIF-compliant IP camera, a network switch/router, and Ethernet cables.
* **Wiring Steps:**
  1. Connect the ONVIF camera to your network switch or router using an Ethernet cable.
  2. Ensure the camera is powered on and connected to the network.
  3. Configure the camera’s IP address and enable ONVIF settings (refer to the camera’s manual for detailed instructions).
  4. Open AugeLab Studio, select the "Camera IP (ONVIF)" block, and enter the camera credentials to start capturing frames.

<img src="https://63608322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH8gla5D8g5pQAK8IzR8%2Fuploads%2Fgit-blob-83865829af262b330655d1bfe68b402a6c54a013%2Fonvif-camera.png?alt=media" alt="Simple ONVIF Camera Usage" data-size="original">

</details>

<details>

<summary>HIKROBOT Industrial Camera</summary>

* **Hardware Requirements:**
  1. HikRobot Camera
  2. A network switch/router (optional if direct connection)
  3. Gig-e cable
  4. Gig-e supporting ethernet adapter
  5. Power supply for camera
* **Steps:**
  1. Connect the HikRobot camera to your network switch or router using an Ethernet cable.
  2. You need to install [MVS (Machine Vision Software)](https://www.hikrobotics.com/en/machinevision/service/download/) on your computer.
  3. Ensure the camera is powered on via the power supply.
  4. Run MVS and check if your camera is open and running.
  5. Configure the camera’s HikRobot address by setting a static IP.
  6. Login to [AugeLab Marketplace](https://marketplace.augelab.com/) with your AugeLab account and add _HikCameraBasic_ to your chart and purchase it for free.
  7. Go to the [Plugin Window](../key-features/share-your-solutions-with-community) in AugeLab Studio and download _HikCameraBasic_.
  8. Type in your cameras IP and use it.

<img src="https://63608322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH8gla5D8g5pQAK8IzR8%2Fuploads%2Fgit-blob-afe682c743f6bdc808015c69b1118da5be88bca6%2Fhik-camera.png?alt=media" alt="HikCamera Usage" data-size="original">

</details>

<details>

<summary>Basler Industrial Camera</summary>

* **Hardware Requirements:**
  1. Basler Camera
  2. A network switch/router (optional if direct connection)
  3. Gig-e cable
  4. Gig-e supporting ethernet adapter
  5. Power supply for camera
* **Steps:**
  1. Connect the Basler camera to your network switch or router using an Ethernet cable.
  2. You need to install [pylon Viewer for Windows](https://www2.baslerweb.com/en/downloads/software-downloads/#type=pylonsoftware;language=all;version=7.4.0) on your computer.
  3. Ensure the camera is powered on via the power supply.
  4. Run **pylon** and check if your camera is open and running.
  5. Configure the camera’s pylon address by setting a static IP.
  6. Go to the [Package Window](../key-features/instal-custom-packages-with-package-window) and download **pylon** package.
  7. Restart AugeLab Studio.

Contact info@augelab.com for further steps after you've completed these.

</details>
