Skip to content

Commit

Permalink
Swap x/y coordinate fields in schema (fixes #20)
Browse files Browse the repository at this point in the history
  • Loading branch information
nebw committed Feb 28, 2017
1 parent 0a3f0c1 commit 219888b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bb_binary/bb_binary_schema.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ struct DetectionCVP {
struct DetectionDP {
idx @0 :UInt16; # sequential index of the detection, counted from 0 for every frame
# the combination (idx, Frame.id) is a global key
xpos @1 :UInt16; # x coordinate of the grid center wrt. the image
ypos @2 :UInt16; # y coordinate of the grid center wrt. the image
xposHive @3 :UInt16; # x coordinate of the grid center wrt. the hive
yposHive @4 :UInt16; # y coordinate of the grid center wrt. the hive
ypos @1 :UInt16; # y coordinate of the grid center wrt. the image
xpos @2 :UInt16; # x coordinate of the grid center wrt. the image
yposHive @3 :UInt16; # y coordinate of the grid center wrt. the hive
xposHive @4 :UInt16; # x coordinate of the grid center wrt. the hive
zRotation @5 :Float32; # rotation of the grid in z plane
yRotation @6 :Float32; # rotation of the grid in y plane
xRotation @7 :Float32; # rotation of the grid in x plane
Expand All @@ -44,10 +44,10 @@ struct DetectionDP {
struct DetectionTruth {
idx @0 :UInt16; # sequential index of the detection, counted from 0 for every frame
# the combination (idx, Frame.id) is a global key
xpos @1 :UInt16; # x coordinate of the grid center wrt. the image
ypos @2 :UInt16; # y coordinate of the grid center wrt. the image
xposHive @3 :UInt16; # x coordinate of the grid center wrt. the hive
yposHive @4 :UInt16; # y coordinate of the grid center wrt. the hive
ypos @1 :UInt16; # y coordinate of the grid center wrt. the image
xpos @2 :UInt16; # x coordinate of the grid center wrt. the image
yposHive @3 :UInt16; # y coordinate of the grid center wrt. the hive
xposHive @4 :UInt16; # x coordinate of the grid center wrt. the hive
decodedId @5 :Int32; # decoded id by human
readability @6 :Grade; # tags might be visible or (partially) obscured
enum Grade { # ranks for evaluation of a tag's readability are:
Expand Down

0 comments on commit 219888b

Please sign in to comment.