% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sharkDetectoR.R
\name{is_shark}
\alias{is_shark}
\title{Score a single image for shark presence (binary classification)}
\usage{
is_shark(image_path)
}
\arguments{
\item{image_path}{Path to a local image file (JPEG/PNG).}
}
\value{
A single-row data.frame with columns:
  \itemize{
    \item \code{image_path} – input image path.
    \item \code{shark_confidence} – predicted probability of shark presence.
  }
}
\description{
Calls the Flask API endpoint `/classify_binary` at \code{http://sharkpulse.cnre.vt.edu}.
Returns a single-row data frame with columns `image_path` and `shark_confidence`,
where `shark_confidence` is a probability score [0,1] indicating shark presence.
}
\examples{
\dontrun{
  df <- is_shark("shark.jpg")
  print(df)
}
}
