Skip to content

Commit

Permalink
gst-plugin-apriltag: use BSD-2-clause license
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jan 1, 2021
1 parent fcbce7a commit 431b2ee
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 3 deletions.
1 change: 1 addition & 0 deletions gst-plugin-apriltag/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "gst-plugin-apriltag"
description = "support for April Tag fiducial markers"
version = "0.1.0"
license = "BSD-2-Clause"
authors = ["Andrew Straw <[email protected]>"]
edition = "2018"
repository = "https://github.com/strawlab/strand-braid"
Expand Down
24 changes: 24 additions & 0 deletions gst-plugin-apriltag/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
BSD 2-Clause License

Copyright (c) <year> <owner>. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8 changes: 8 additions & 0 deletions gst-plugin-apriltag/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# gst-plugin-apriltag

## Prerequisites:

Expand Down Expand Up @@ -44,3 +45,10 @@ perform more debugging.
For example:

GST_DEBUG=2,apriltagdetector:6 gst-launch-1.0 videotestsrc num-buffers=5 is-live=1 ! apriltagdetector family=16h5 ! filesink location=trash.csv

## License

Like apriltag itself, gst-plugin-apriltag is licensed under the BSD-2-Clause license.

Portions of the code derive from the gst-plugin tutorial (C) 2018 Sebastian
Dröge, licensed under the Apache License, Version 2.0 or the MIT license.
3 changes: 1 addition & 2 deletions gst-plugin-apriltag/src/apriltagdetector.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (C) 2020 Andrew Straw <[email protected]>
//
// Proprietary software. All rights reserved. This file may not be copied,
// modified, or distributed.
// Licensed under the BSD 2 Clause License. See LICENSE.txt.
//
// Copyright (C) 2018 Sebastian Dröge <[email protected]>
//
Expand Down
2 changes: 1 addition & 1 deletion gst-plugin-apriltag/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ gst_plugin_define!(
env!("CARGO_PKG_DESCRIPTION"),
plugin_init,
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
"Proprietary",
"BSD",
env!("CARGO_PKG_NAME"),
env!("CARGO_PKG_NAME"),
env!("CARGO_PKG_REPOSITORY"),
Expand Down

0 comments on commit 431b2ee

Please sign in to comment.