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-1.8.1 lib/tracksperanto/simple_export.rb
tracksperanto-1.8.0 lib/tracksperanto/simple_export.rb
tracksperanto-1.7.5 lib/tracksperanto/simple_export.rb
tracksperanto-1.7.4 lib/tracksperanto/simple_export.rb
tracksperanto-1.7.3 lib/tracksperanto/simple_export.rb
tracksperanto-1.7.2 lib/tracksperanto/simple_export.rb
tracksperanto-1.7.1 lib/tracksperanto/simple_export.rb
tracksperanto-1.7.0 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.9 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.8 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.7 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.6 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.5 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.4 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.3 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.2 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.1 lib/tracksperanto/simple_export.rb
tracksperanto-1.6.0 lib/tracksperanto/simple_export.rb
tracksperanto-1.5.7 lib/tracksperanto/simple_export.rb
tracksperanto-1.5.6 lib/tracksperanto/simple_export.rb