\begin{comment}
# Summarize Commands
python -m ibeis.scripts.gen_cand_expts --exec-parse_latex_comments_for_commmands --fname figdefindiv.tex
gvim ~/code/ibeis/regen_figdefindiv.sh
~/code/ibeis/regen_figdefindiv.sh --overwrite
\end{comment}


% -------------------------------------------
% Individual Results


\begin{comment}
#
NonDistinct 16644 PZ
Pose 4709 PZ
\end{comment}

\newcommand{\textwidthII}{1\textwidth}


%\begin{comment}
%python -m ibeis.dev -e draw_cases -a timectrl -t best --filt :fail=True,with_tag=Viewpoint,sortdsc=gfscore --db PZ_Master1 --qaid 2814 \
%    --hargv=match --render  --cmdaug="FailViewpoint" \
%    --cappref="Failure case due to different viewpoints. The viewpoint of the query image is mislabeled. "
%\end{comment}
%\newcommand{\PZMasterICaseFailViewpoint}{
%\begin{figure*}
%\centering
%\fboxII{\includegraphics[width=\textwidthII]{cases_PZ_Master1/individual_results/qaid=2814/best:K=3,AI=F,QRH=T+timectrl.png}}
%\caption{
%    Failure case due to different viewpoints. The viewpoint of the query image is mislabeldThis figure depicts correct and incorrect matches from configuration: 
%    {\tt best:K=3,\hspace{0pt}AI=F,\hspace{0pt}QRH=T\hspace{0pt}+\hspace{0pt}timectrl}.}
%\label{fig:PZMasterICaseFailViewpoint}
%\end{figure*}
%}


% --- ORIENTATION
\begin{comment} 
python -m ibeis.dev -e draw_cases -a timectrl -t best --filt :fail=True,with_tag=Orientation,sortdsc=gfscore  --db GZ_Master1 --qaid 1291 \
    --hargv=match --render  --cmdaug="FailOrientation" \
    --cappref="The orientation of the query image is specified incorrectly." 
    %--qaid 509 \
\end{comment}
\SingleImageCommand{FailOrientation}{1}{
Orientation failure case
}{
% ---
The orientation of the query image is specified incorrectly.
% ---
}{figuresC/case_FailOrientation.png}


% --- Lighting
\begin{comment}
python -m ibeis.dev -e draw_cases -a timectrl -t best --filt :fail=True,with_tag=Lighting,sortdsc=gfscore --db GIRM_Master1 --qaid 274 \
    --hargv=match --render  --cmdaug="FailLighting" \
    --cappref="Failure case due to poor illumination of the query image." --vert
\end{comment}
\SingleImageCommand{FailLighting}{1}{
Lighting failure case
}{
% ---
Failure case due to poor illumination of the query image.
Feature extraction is unreliable in underexposed images.
% ---
}{figuresC/case_FailLighting.png}

% --- Pose

\begin{comment}
python -m ibeis.dev -e draw_cases -a timectrl -t best --filt :fail=True,with_tag=Pose,sortdsc=gfscore --db PZ_Master1 \
--qaid=1680 \
--cappref="Failure Case: Pose. " --hargv=match \
--capsuf="" \
--cmdaug=FailPose --render --overwrite
#
%781
#python -m ibeis.dev -e draw_cases -a timectrl -t best --filt :fail=True,with_tag=Pose,sortdsc=gfscore --db PZ_Master1 --qaid=4709 \
\end{comment}
\SingleImageCommand{FailPose}{1}{
Pose failure case
}{
% ---
 A failure case due to pose.
% ---
}{figuresC/case_FailPose.png}

% --- Non Distinct
\begin{comment}
python -m ibeis.dev -e draw_cases -a timectrl -t best --filt :fail=True,min_gf_timedelta=1h,with_tag=NonDistinct,sortdsc=gfscore --db PZ_Master1 \
--qaid=9038 --cmdaug="FailNonDistinct" --hargv=match \
--cappref="This failure case is caused by non distinct matches receving high scores." \
--capsuf="" \
--render
\end{comment}
\SingleImageCommand{FailNonDistinct}{1}{
Non-distinct failure case
}{
% ---
This failure case is caused by non distinct matches receving high scores.
In most cases the LNBNN~\cite{mccann_local_2012} scoring mechanism downweights
  these incorrect feature correspondences appropriately.
% ---
}{figuresC/case_FailNonDistinct.png}




%\begin{comment}
%    --hargv=match --render  --cmdaug="FailScenery" \
%    --cappref="Failure case due to a scenery match despite heavy background downweighting. Most scenery match cases have small timedeltas between the images. The correct result did not establish many matches due to viewpoint differences."
%\end{comment}
%\newcommand{\PZMasterICaseFailScenery}{
%\begin{figure*}
%\centering
%\fboxII{\includegraphics[width=\textwidthII]{cases_PZ_Master1/individual_results/qaid=5053/best:K=3,AI=F,QRH=T+timectrl.png}}
%\caption{
%    Failure case due to a scenery match despite heavy background downweighting. Most scenery match cases have small timedeltas between the images. The correct result did not establish many matches due to viewpoint differences.This figure depicts correct and incorrect matches from configuration: 
%    {\tt best:K=3,\hspace{0pt}AI=F,\hspace{0pt}QRH=T\hspace{0pt}+\hspace{0pt}timectrl}.}
%\label{fig:PZMasterICaseFailScenery}
%\end{figure*}
%}



% success cases
\begin{comment}
python -m ibeis.dev -e cases --db PZ_Master1 -a timectrl \
    -t invarbest --filt :sortasc=gtscore,success=True,index=200:201 --show --save successpz1.png

python -m ibeis.dev -e cases --db GZ_ALL -a timectrl \
    -t best --filt :sortdsc=gtscore,success=True --show --save successgz1.png
\end{comment}
