Sha256: 89db06a49c451b9b06e798d7e209b0bcc13a3bd3d7628475e233ec929561ac13

Contents?: true

Size: 610 Bytes

Versions: 45

Compression:

Stored size: 610 Bytes

Contents

# Implements just_export for quickly pushing trackers out through an exporter without using Pipeline
# plumbing
module Tracksperanto::SimpleExport
  # Acccepts an array of Tracker objects and comp size.
  # Before calling this, initialize the exporter with the proper
  # IO handle
  def just_export(trackers_array, comp_width, comp_height)
    start_export(comp_width, comp_height)
    trackers_array.each do | t |
      start_tracker_segment(t.name)
      t.each do | kf |
        export_point(kf.frame, kf.abs_x, kf.abs_y, kf.residual)
      end
      end_tracker_segment
    end
    end_export
  end
end


Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
tracksperanto-2.3.0 lib/tracksperanto/simple_export.rb
tracksperanto-2.2.4 lib/tracksperanto/simple_export.rb
tracksperanto-2.2.2 lib/tracksperanto/simple_export.rb
tracksperanto-2.2.0 lib/tracksperanto/simple_export.rb
tracksperanto-2.1.1 lib/tracksperanto/simple_export.rb
tracksperanto-2.1.0 lib/tracksperanto/simple_export.rb
tracksperanto-2.0.2 lib/tracksperanto/simple_export.rb
tracksperanto-2.0.1 lib/tracksperanto/simple_export.rb
tracksperanto-2.0.0 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.9 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.8 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.6 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.5 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.4 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.3 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.2 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.1 lib/tracksperanto/simple_export.rb
tracksperanto-1.9.0 lib/tracksperanto/simple_export.rb
tracksperanto-1.8.4 lib/tracksperanto/simple_export.rb
tracksperanto-1.8.2 lib/tracksperanto/simple_export.rb