# Unexpected import problem RT1062 and SD card

**URL:** <https://forums.openmv.io/t/unexpected-import-problem-rt1062-and-sd-card/9124>\
**Category:** OpenMV Boards\
**Created:** [January 19, 2024, 4:09pm UTC](https://forums.openmv.io/t/unexpected-import-problem-rt1062-and-sd-card/9124 "2024-01-19T16:09:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [January 22, 2024, 7:23pm UTC](https://forums.openmv.io/t/unexpected-import-problem-rt1062-and-sd-card/9124/6 "2024-01-22T19:23:07Z")

</div>

Yeah, I am getting the same error…

Not sure what’s wrong. However, this works instead and better. You should be able to do 30 FPS at 1280x720 from the OV5640:

Replace the sensor code with this:

```auto
sensor.set_pixformat(sensor.JPEG)
sensor.set_framesize(sensor.HD)
sensor.set_quality(80)

```

And use this binary for the RT1062.  
[firmware.zip](https://forums.openmv.io/uploads/short-url/AiKGzWKHqZ0vWeDPK1LM1eyciOX.zip) (1.3 MB)

Once this PR is merged [port/mimxrt: Improve Sensor Driver. by kwagyeman · Pull Request #2102 · openmv/openmv (github.com)](https://github.com/openmv/openmv/pull/2102) JPEG support will be mainlined.

I can also start on eDMA offload support afterwards for the RT1062 which should bring the performance generally up to the STM32H7 when the system is loaded at larger resolutions. This will remove the CPU load from copying image lines to the frame buffer as the image streams in.

---

_[View the full topic](https://forums.openmv.io/t/unexpected-import-problem-rt1062-and-sd-card/9124)._
