google / aistreamer Goto Github PK
View Code? Open in Web Editor NEWGoogle AIStreamer
Home Page: https://cloud.google.com/video-intelligence/
Google AIStreamer
Home Page: https://cloud.google.com/video-intelligence/
Docker image doesn't build.
Error:
Step 6/37 : RUN add-apt-repository ppa:jonathonf/ffmpeg-3 -y ---> Running in 5047ea9a7292 Cannot add PPA: 'ppa:~jonathonf/ubuntu/ffmpeg-3'. The user named '~jonathonf' has no PPA named 'ubuntu/ffmpeg-3'
I changed to RUN add-apt-repository ppa:jonathonf/ffmpeg-4 -y
, and works.
I'm following the instructions on https://cloud.google.com/video-intelligence/docs/streaming/live-streaming?hl=es-419#build_instructions
I've figured out how to connect to dns:///videointelligence.googleapis.com instead of "dns:///alpha-videointelligence.googleapis.com"
but when I run
./streaming_client_main --alsologtostderr --endpoint "dns:///videointelligence.googleapis.com" \ --video_path=$PIPE_NAME --use_pipe=true --config=$CONFIG --timeout=$TIMEOUT>
I get the following error:
E1016 05:00:37.176703 371 streaming_client.cc:165] Received an error: List of found errors: 1.Field: name; Message: Location ID was not provided. 2.Field: name; Message: Required field is invalid
I guess that is something with the connection and the default location_id but I can't find where the c++ client is connecting to the video intelligence API, It would be wonderful if someone can give some hints on what am I missing.
Thanks in advance
Hi,
I would like to know that Google video Intelligence is same as Wowza streaming engine server ?
I would like to send live video from my home to Google video intelligence and distribute to many users (family members) on their mobiles like Android/iOS using push notifications.
Usecase would be, Ring door bell kind of solution, where I should be able to store videos specific to each client on his namespace and he and his family could see them when ever they wants from google storage.
Thanks,
Kiran.
I am trying to stream my webcam output to video intelligence API (which I am aware is in beta version). I am running a docker file provided in env folder. As described in the example, I was able to start aistreamer using following command:
./streaming_client_main --alsologtostderr --endpoint "dns:///videointelligence.googleapis.com" --video_path=$PIPE_NAME --use_pipe=true --config=$CONFIG --timeout=$TIMEOUT
To feed the pipe with gstreamer pipeline output I used following gstreamer command:
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x264enc bframes=0 key-int-max=45 bitrate=500 ! video/x-h264,stream-format=avc,alignment=au,profile=baseline ! filesink location=$PIPE_NAME
However, there is no response, the output is stuck at:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0426 01:34:56.147866 6301 streaming_client.cc:132] Received 0 responses.
And when I close the gstreamer pipeline, I get the following output:
I0426 01:35:15.143780 6302 pipe_reader.cc:116] Pipe /google/cpp/streaming-pipe has been closed by remote side.
I0426 01:35:15.144083 6297 streaming_client.cc:205] Sent 305 requests consisting of 592599 bytes of video data in total.
E0426 01:35:15.144237 6297 streaming_client.cc:103] StreamingAnnotateVideo RPC failed: Code(12): GRPC target method can't be resolved.
After going through gRPC docs I think I am using wrong name for video intelligence API but I don't know what name to use since the streaming part is in beta version.
COPY BUILD *.BUILD *.md *.py LICENSE WORKSPACE $SRC_DIR/ doesn't run because those directories are missing. where are those files suppose to be located?
Step 5/39 : RUN easy_install pip
---> Running in 15f57dd87113
Searching for pip
Reading https://pypi.python.org/simple/pip/
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Couldn't find index page for 'pip' (maybe misspelled?)
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
The command '/bin/sh -c easy_install pip' returned a non-zero code: 1
and please let me know how to step by step proceed for doing object detection from a live streaming video using the git code available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.