Skip to content

Conversation

@bshaffer
Copy link
Contributor

No description provided.

video/video.php Outdated
The <info>%command.name%</info> command finds shot changes in a video using the
Google Cloud Video Intelligence API.
$inputDefinition = new InputDefinition([
new InputArgument('uri', InputArgument::REQUIRED, 'URI pointing to a video.'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have to be a Cloud Storage URI? If so, might be good to specify here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, currently only Cloud Storage URIs are supported. Good call, I'll add that.

@bshaffer bshaffer force-pushed the add-video-samples branch from 0d57d8e to f1968b6 Compare July 13, 2017 18:34
$results = $operation->getResult()->getAnnotationResults()[0];
foreach ($results->getFaceAnnotations() as $face) {
foreach ($face->getLocations() as $location) {
if (!$box = $location->getBoundingBox()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This conditional can be removed ~7/17

@bshaffer bshaffer merged commit 81683d1 into master Jul 13, 2017
@bshaffer bshaffer deleted the add-video-samples branch July 13, 2017 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants