# Execution trop longue

**URL:** <https://forums.openmv.io/t/execution-trop-longue/7141>\
**Category:** OpenMV Boards\
**Created:** [May 21, 2022, 6:59pm UTC](https://forums.openmv.io/t/execution-trop-longue/7141 "2022-05-21T18:59:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raumin](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@raumin](https://forums.openmv.io/u/raumin)\
**Post date:** [May 21, 2022, 6:59pm UTC](https://forums.openmv.io/t/execution-trop-longue/7141/1 "2022-05-21T18:59:13Z")

</div>

Bonjour,  
Pour mon projet j’effectue du traitement d’image avec la bibliothèque sensor, puis j’extrait chaque pixel un à un avec get\_pixel. Seulement le temps d’exécution du programme est de 10 secondes, pourquoi est-ce si long ? Comment le reduire ?

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [May 22, 2022, 1:54am UTC](https://forums.openmv.io/t/execution-trop-longue/7141/2 "2022-05-22T01:54:00Z")

</div>

Hi, you don’t want to use get pixel to do any type of processing. You want to use our python methods. If you need to do pixel manipulation then you need to edit our C firmware.

---

<div class="post-metadata">

**Author:** ![raumin](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@raumin](https://forums.openmv.io/u/raumin)\
**Post date:** [May 22, 2022, 9:35am UTC](https://forums.openmv.io/t/execution-trop-longue/7141/3 "2022-05-22T09:35:58Z")

</div>

je ne comprends pas trop ce que vous voulez dire, comment je peux accélérer l’exécution de mon programme ?

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [May 22, 2022, 8:04pm UTC](https://forums.openmv.io/t/execution-trop-longue/7141/4 "2022-05-22T20:04:50Z")

</div>

We have a library of image processing methods that run C code internally: [image — machine vision — MicroPython 1.15 documentation](https://docs.openmv.io/library/omv.image.html)
