class_docstr: A single keypoint (aka landmark) on an image.
  
  Parameters
  ----------
  x : number
      Coordinate of the keypoint on the x axis.
  
  y : number
      Coordinate of the keypoint on the y axis.
class_docstr_tok: ["A","single","keypoint","(","aka","landmark",")","on","an","image",".","Parameters","--","--","--","--","--","x",":","number","Coordinate","of","the","keypoint","on","the","x","axis",".","y",":","number","Coordinate","of","the","keypoint","on","the","y","axis","."]
docstr: Compute fraction of the keypoint that is out of the image plane.
  
  The fraction is always either ``1.0`` (point is outside of the image
  plane) or ``0.0`` (point is inside the image plane). This method
  exists for consistency with other augmentables, e.g. bounding boxes.
  
  Added in 0.4.0.
  
  Parameters
  ----------
  image : (H,W,...) ndarray or tuple of int
      Image dimensions to use.
      If an ``ndarray``, its shape will be used.
      If a ``tuple``, it is assumed to represent the image shape
      and must contain at least two integers.
  
  Returns
  -------
  float
      Either ``1.0`` (point is outside of the image plane) or
      ``0.0`` (point is inside of it).
docstr_tok: ["Compute","fraction","of","the","keypoint","that","is","out","of","the","image","plane",".","The","fraction","is","always","either","``","1.0","``","(","point","is","outside","of","the","image","plane",")","or","``","0.0","``","(","point","is","inside","the","image","plane",")",".","This","method","exists","for","consistency","with","other","augmentables",",","e.g",".","bounding","boxes",".","Added","in","0.4.0",".","Parameters","--","--","--","--","--","image",":","(","H",",","W",",","...",")","ndarray","or","tuple","of","int","Image","dimensions","to","use",".","If","an","``","ndarray","``",",","its","shape","will","be","used",".","If","a","``","tuple","``",",","it","is","assumed","to","represent","the","image","shape","and","must","contain","at","least","two","integers",".","Returns","--","--","--","-","float","Either","``","1.0","``","(","point","is","outside","of","the","image","plane",")","or","``","0.0","``","(","point","is","inside","of","it",")","."]
code: def compute_out_of_image_fraction(self, image):
      """Compute fraction of the keypoint that is out of the image plane.
  
      The fraction is always either ``1.0`` (point is outside of the image
      plane) or ``0.0`` (point is inside the image plane). This method
      exists for consistency with other augmentables, e.g. bounding boxes.
  
      Added in 0.4.0.
  
      Parameters
      ----------
      image : (H,W,...) ndarray or tuple of int
          Image dimensions to use.
          If an ``ndarray``, its shape will be used.
          If a ``tuple``, it is assumed to represent the image shape
          and must contain at least two integers.
  
      Returns
      -------
      float
          Either ``1.0`` (point is outside of the image plane) or
          ``0.0`` (point is inside of it).
  
      """
      return float(self.is_out_of_image(image))
  
imports: from __future__ import print_function, division, absolute_import
  import numpy
  import scipy.spatial.distance
  import six.moves
  from ..None import imgaug
  from .base import IAugmentable
  from .utils import normalize_imglike_shape, project_coords, _remove_out_of_image_fraction_, _handle_on_image_shape
label_desc: Use image node_id 10 for calling the Keypoint obj's underlying member method code with example usage: obj.compute_out_of_image_fraction(image) and returns: float