question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unclear why stabilizer.transforms is returning so many entries

See original GitHub issue
from vidstab import VidStab, layer_overlay, layer_blend
import cv2
import os

# init vid stabilizer
stabilizer = VidStab()

INPUT_FILE_PATH = ".../image_%06d.jpg"
OUT_FILE_PATH = ".../image_%06d.jpg"


stabilizer.stabilize(input_path=INPUT_FILE_PATH,
                     output_path=OUT_FILE_PATH,
                     border_type='black',
                     border_size= 0)

transforms = stabilizer.transforms
print("......", len(transforms))

Unclear why stabilizer.transforms is returning so many entries. This doesn’t happen when border_size = ‘auto’

Using input path “image_%06d.jpg” I am able to read and apply transforms. Why for an input of 48 images do I get len(transforms) = 78?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AdamSpannbauercommented, Jun 11, 2020

Hi thanks for reporting. I’ll look into this tomorrow.

Would you please provide an example code snippet that you are using to make investigating and understanding your issue easier?

0reactions
AdamSpannbauercommented, Jun 12, 2020

Progress is limited to converting test to use stabilize method so that this issue causes tests to fail

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stabilizer Codes and Quantum Error Correction
5.3 Transformations of the Stabilizer . ... so much work has been done attempting to solve it that the consensus is that it....
Read more >
Improved Simulation of Stabilizer Circuits - Scott Aaronson
This paper improves that theorem in several directions. First, by removing the need for Gaussian elimination, we make the simulation algorithm much faster...
Read more >
Transformers: Basics, Maintenance, and Diagnostics
Modern transformers are designed to closer tolerances than transformers in the past. Thus, effective, regular maintenance and testing is even more essential to....
Read more >
(PDF) Transformations of Stabilizer States in Quantum Networks
This framework allows us to study decompositions of stabilizer states into tensor products of indecomposable ones, that is, decompositions into ...
Read more >
Mood Stabilizing Medications - CAMH
Mood stabilizers are used in treating bipolar disorder, where a person's mood goes from a depressed feeling to a high “manic” feeling or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found