<h2 id="Image Enhancement Solution">Image Enhancement Solution <span className="tag_h2">On-App AI</span></h2>

### Challenges

To ensure that smart devices (such as door locks and IP cameras) can offer high-quality services, it is crucial to provide high-fidelity and high-definition image retrieval capabilities. However, in real-world scenarios, images captured by device cameras often suffer from the following issues due to environmental lighting conditions:

- Poor lighting conditions (such as evening): Images appear dark.
   <div style="margin-top: 10px;">
      <div style="text-align: center; width: 200px; margin-right: 3px">
        <img alt="Original image" src="https://images.tuyacn.com/rms-static/0fa5bb90-8c99-11f0-9fb9-e1834df84344-1757324946889.png?tyName=demo5.png" width="200" style="height:355px;">
      </div>
      </div>
- Strong light exposure: Images might be overexposed, and obstructions like water or other substances can cause blurriness.
   <div style="margin-top: 10px;">
       <div style="text-align: center; width: 200px; margin-right: 3px">
        <img alt="Original image" src="https://images.tuyacn.com/rms-static/8350c940-8c99-11f0-9f57-5d628208d2a7-1757325140949.jpg?tyName=demo8.jpg" width="200" style="height:355px;">
       </div>
      </div>

- Wide-angle camera distortion: Images captured by wide-angle cameras often exhibit edge distortion.
   <div style=" margin-top: 3px;">
        <div style="text-align: center; width: 200px; margin-right: 5px">
        <img alt="Original image" src="https://images.tuyacn.com/rms-static/7419d3e0-8c99-11f0-9fb9-e1834df84344-1757325115422.jpg?tyName=demo4.jpg" width="200" style="height:355px;">
      </div>
     </div>

### Solutions

**Image enhancement**:

- Perform local processing on mobile devices.
- Perform clarity enhancement on the image.
- Perform distortion correction (specifically for images taken with wide-angle cameras).

<div style="display: flex; align-items: center; justify-content: flex-start; margin-top: 10px;">
   <div style="text-align: center; width: 200px; margin-right: 5px">
     <img alt="Enhanced image" src="https://images.tuyacn.com/rms-static/a4134220-8de8-11f0-9fb9-e1834df84344-1757469077314.jpg?tyName=e385a316da46ecfb959f25b4d5687a67.jpg" width="200"style="height:355px;">
     <p style="margin: 0;">(Image brightness is increased)</p>
   </div>
   <div style="text-align: center; width: 200px; margin-right: 5px">
     <img alt="Enhanced image" src="https://images.tuyacn.com/rms-static/a4136930-8de8-11f0-9fb9-e1834df84344-1757469077315.jpg?tyName=60d74e97ea096d6b4ee9f6eb56f3d25b.jpg" width="200" style="height:355px;">
     <p style="margin: 0;">(Image exposure and clarity are optimized)</p>
   </div>
     <div style="text-align: center; width: 200px; margin-right: 5px">
     <img alt="Enhanced image" src="https://images.tuyacn.com/rms-static/a413b750-8de8-11f0-9f57-5d628208d2a7-1757469077317.jpg?tyName=f86258a8bedd39304352aa6fdaa5e340.jpg" width="200" style="height:355px;">
     <p style="margin: 0;">(Image distortion is corrected)</p>
   </div>
  </div>

### Technical advantages

- Efficient computation: Optimized for popular mobile device capabilities.
- Intelligent processing: AI-driven image quality improvement.

### Application scenarios

| Application scenarios | Feature description |
| ------------ | ------------------------------ |
| Door lock album notifications | Provides high-definition images to enhance the experience of event notifications. |
