Skip to content

Commit

Permalink
Opencv version issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfffff committed Jun 7, 2023
1 parent 0edbe34 commit 7312f31
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .conda/naps-track/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set PIP_NO_INDEX=False
set PIP_NO_DEPENDENCIES=False
set PIP_IGNORE_INSTALLED=False

pip install opencv-python-headless
pip install opencv-contrib-python-headless
pip install opencv-python-headless==4.6.0.66
pip install opencv-contrib-python-headless=4.6.0.66
pip install numpy==1.19.5
pip install attrs==21.2.0
pip install wheel==0.35
Expand Down
4 changes: 2 additions & 2 deletions .conda/naps-track/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export PIP_NO_INDEX=False
export PIP_NO_DEPENDENCIES=False
export PIP_IGNORE_INSTALLED=False

pip install opencv-python-headless
pip install opencv-contrib-python-headless
pip install opencv-python-headless==4.6.0.66
pip install opencv-contrib-python-headless=4.6.0.66
pip install numpy==1.19.5
pip install attrs==21.2.0
pip install wheel==0.35
Expand Down
2 changes: 1 addition & 1 deletion naps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Basic Information
__name__ = "naps-track"
__version__ = "1.0.5"
__version__ = "1.0.6"
__summary__ = "NAPS (NAPS is ArUco Plus SLEAP)"
__url__ = "https://github.com/kocherlab/naps"
__code__ = "https://github.com/kocherlab/naps"
Expand Down
14 changes: 7 additions & 7 deletions naps/naps_track.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ def build_parser():
required=True,
)

parser.add_argument(
"--aruco-marker-set",
help="The ArUco markers used in the video. This must match the specific set of ArUco markers used in the video for accurate detection and tracking. An example would be DICT_5X5_50, which is a set of 50 5x5 markers. More information can be found in the OpenCV documentation.",
type=str,
required=True,
)

parser.add_argument(
"--half-rolling-window-size",
help="Specifies the number of flanking frames (prior and subsequent) required in the rolling window for Hungarian matching a frame. The larger this window, the more frames will be used for matching. This can result in more robust tracks but in the event of an identity swap, it may take longer to correct the identity. The default is set to 5, resulting in an 11 frame window. You should change this depending on your intended use and your recording setup. ",
Expand All @@ -80,13 +87,6 @@ def build_parser():
type=int,
)

parser.add_argument(
"--aruco-marker-set",
help="The ArUco markers used in the video. This must match the specific set of ArUco markers used in the video for accurate detection and tracking. An example would be DICT_5X5_50, which is a set of 50 5x5 markers. More information can be found in the OpenCV documentation.",
type=str,
required=True,
)

parser.add_argument(
"--aruco-adaptive-thresh-win-size-min",
dest="adaptiveThreshWinSizeMin",
Expand Down

0 comments on commit 7312f31

Please sign in to comment.