Google\Cloud\Vision\Annotation\Face::isAngry PHP Method

isAngry() public method

Example: if ($face->isAngry()) { echo "Face is Angry"; }
public isAngry ( string $strength = self::STRENGTH_LOW ) : boolean
$strength string [optional] Value should be one of "low", "medium" or "high". Recommended usage is via `Face::STRENGTH_*` constants. Higher strength will result in fewer `true` results, but fewer false positives. **Defaults to** `"low"`.
return boolean
    public function isAngry($strength = self::STRENGTH_LOW)
    {
        return $this->likelihood($this->info['angerLikelihood'], $strength);
    }