# Python scripts- İmport camera and stmaps issue

**URL:** <https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599>\
**Category:** Flame Questions\
**Tags:** stmap, import-camera\
**Created:** [January 29, 2023, 2:44pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599 "2023-01-29T14:44:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnzyc](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dnzyc](https://forum.logik.tv/u/dnzyc)\
**Post date:** [January 29, 2023, 2:44pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/1 "2023-01-29T14:44:10Z")

</div>

Hi Guys, I have alembic camera and stmaps provided by nuke.  
I do exactly as in the video. [Logik Academy - The Logik Portal - YouTube](https://youtu.be/Wp__7HlqyUY?t=475)  
I choose Stmaps and nothing happens. Should I update my Python scripts ? Because I use an Alembic camera ? I also can’t choose the camera. Or is there a problem with stmaps?

I don’t know exactly where I’m doing wrong.

I need to work und-redistort with my footage.

I also used the matcbox Ls\_UVewa. it works, for und-redistort. I think I’m having a filtering problem.

Thank you in advance for your help.  
Deniz

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [January 29, 2023, 3:12pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/2 "2023-01-29T15:12:10Z")

</div>

Is there any way you can screen record what you are doing? That’d make it much, much easier for us to help.

---

<div class="post-metadata">

**Author:** ![BrittCiampa](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@BrittCiampa](https://forum.logik.tv/u/BrittCiampa)\
**Post date:** [January 29, 2023, 3:16pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/3 "2023-01-29T15:16:24Z")

</div>

I can’t speak to the python stuff, but probably don’t want to use Ls\_UVewa for the distortion workflow. It’s EWA filtering so it’s giving you more of a filtering kick than necessary. I use the matchbox that ships with flame, UV32 I think it’s called. And make sure the ST maps are 32-bit.

---

<div class="post-metadata">

**Author:** ![MikeV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/mikev/32/399_2.png) [@MikeV](https://forum.logik.tv/u/MikeV)\
**Post date:** [January 29, 2023, 8:12pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/4 "2023-01-29T20:12:38Z")

</div>

Are you getting any errors in the shell when you try to use the script? What version of Flame and the script are you using?

Mike

---

<div class="post-metadata">

**Author:** ![dnzyc](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dnzyc](https://forum.logik.tv/u/dnzyc)\
**Post date:** [January 29, 2023, 9:48pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/5 "2023-01-29T21:48:37Z")

</div>

thank you @randy I’m not on the computer right now, but I’ll be recording as soon as possible.

---

<div class="post-metadata">

**Author:** ![dnzyc](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dnzyc](https://forum.logik.tv/u/dnzyc)\
**Post date:** [January 29, 2023, 9:55pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/6 "2023-01-29T21:55:20Z")

</div>

I’m not getting any errors or warnings. I use other scripts. Thats great and very useful.

Flame version 2022.0.0

Thanks  
Deniz

---

<div class="post-metadata">

**Author:** ![dnzyc](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dnzyc](https://forum.logik.tv/u/dnzyc)\
**Post date:** [January 29, 2023, 10:02pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/7 "2023-01-29T22:02:59Z")

</div>

UVwarp32 I used that.  
There is still a filtering issue. I see little pixels and lines. Stmaps 16 Bit. I’m using resize for 32-bit. I’ll get Stmaps from nuke in 32-bit. Maybe this can solve the pixel problem. I will try it

Thank you  
Deniz

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [January 29, 2023, 10:33pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/8 "2023-01-29T22:33:24Z")

</div>

Yeah 16bit Stmaps is not good enough. Start with 32.

---

<div class="post-metadata">

**Author:** ![dnzyc](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dnzyc](https://forum.logik.tv/u/dnzyc)\
**Post date:** [February 3, 2023, 12:49pm UTC](https://forum.logik.tv/t/python-scripts-import-camera-and-stmaps-issue/7599/9 "2023-02-03T12:49:37Z")

</div>

> [@BrittCiampa](#):
>
> UV32

I have 32 bit Stmaps now. But I used UV32 and it still has pixel and lines. Instead, I used stmaps as a Uv map in action. It works better that way.
