# Why can't the panning tool work in Video Object Detection and Tracking?

**URL:** <https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294>\
**Category:** Label Studio Support\
**Tags:** ui-issue\
**Created:** [July 11, 2024, 8:20pm UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294 "2024-07-11T20:20:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcOlivierFecteau](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@MarcOlivierFecteau](https://community.labelstud.io/u/MarcOlivierFecteau)\
**Post date:** [July 11, 2024, 8:20pm UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294/1 "2024-07-11T20:20:43Z")

</div>

**Issue**

I’m currently labelling a bunch of videos with the Video Object Detection and Tracking template, and I appreciate the additional precision the Zoom tool provides, but the “ZoomPanTool” from the Image template is not available, and when zooming close to the edge of a frame, the Zoom tool does NOT go “out of bounds”, so I cannot center the edge of a frame in the editor, and I find it VERY annoying.

What I have difficulty understanding is, considering a video frame is basically an image, why the Video’s Zoom tool behaves differently from the Image’s Zoom tool. Couldn’t the same tool be used in both templates?

I’d gladly implement this feature in the Video OD&T’s tools. However, I don’t have a lot of experience in development, let alone web development, and this is my first exposure to React, so I find it quite difficult to understand how the code works.

**Setup**

Using Docker to run the application.

- Label Studio Docker Image: 20240711.125956-ls-release-1-13-0-d11e5ebf6

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 11, 2024, 8:37pm UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294/2 "2024-07-11T20:37:19Z")

</div>

Could you please record a video about this issue?

---

<div class="post-metadata">

**Author:** ![MarcOlivierFecteau](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@MarcOlivierFecteau](https://community.labelstud.io/u/MarcOlivierFecteau)\
**Post date:** [July 12, 2024, 11:54am UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294/3 "2024-07-12T11:54:05Z")

</div>

Here is a video where I try to:

1. Center the frame on the vehicle located at the edge of the screen with the Zoom tool;
2. Pan the frame to do (1).

Since there is no option to select the panning tool, I try moving the frame with:

1. Left click =\> draws a rectangle;
2. Right click =\> draws a rectangle;
3. Middle click =\> draws a rectangle.

_N.B._ I’m a new user, so I can’t upload attachments, so [here](https://drive.google.com/file/d/1G42_h2Y6ssgQJtKmBOEvA4A0VpUgDXur/view?usp=sharing) is the link to the video.

The shortcuts tab does not show the panning tool as available.

Update: I changed the permisisons of the video (sorry…)

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 12, 2024, 7:50pm UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294/4 "2024-07-12T19:50:03Z")

</div>

Hi, have you tried using shift+drag?

---

<div class="post-metadata">

**Author:** ![MarcOlivierFecteau](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@MarcOlivierFecteau](https://community.labelstud.io/u/MarcOlivierFecteau)\
**Post date:** [July 12, 2024, 11:44pm UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294/5 "2024-07-12T23:44:29Z")

</div>

Yes, I have. I also tried:

- ctrl + drag;
- ctrl + shift + drag;
- alt + drag;
- alt + shift + drag;
- even ctrl + alt + shift + drag.

Maybe it’s because I’m on Windows? I’ll give it a try with Linux.

---

<div class="post-metadata">

**Author:** ![MarcOlivierFecteau](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@MarcOlivierFecteau](https://community.labelstud.io/u/MarcOlivierFecteau)\
**Post date:** [July 15, 2024, 11:06am UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294/6 "2024-07-15T11:06:29Z")

</div>

I works on Linux (Debian 12), though it’s not perfect (the pan does not allow to move _outside_ the image; edges can’t be move to the center of editor).

I’ll investigate for Windows.

---

<div class="post-metadata">

**Author:** ![MarcOlivierFecteau](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@MarcOlivierFecteau](https://community.labelstud.io/u/MarcOlivierFecteau)\
**Post date:** [July 15, 2024, 11:47am UTC](https://community.labelstud.io/t/why-cant-the-panning-tool-work-in-video-object-detection-and-tracking/294/7 "2024-07-15T11:47:47Z")

</div>

@makseq Ctrl + drag (left, right, middle) works on Windows (unsurprisingly). Apparently it was the one combination I didn’t try.

Is there a reason why the panning tool can’t pan move “out of bounds”?
