Comments (5)
Would you increase the number of shards?
from amazon-rekognition-video-analyzer.
Hi @jaweiss8,
There could be several reasons for this high latency you're observing. A potential cause could be network latency between video client and Kinesis or between API Gateway and your browser. Has this been ruled out already?
Thanks,
Moataz
from amazon-rekognition-video-analyzer.
Hi @moanany,
I believe the slowdown is occurring between the video client and rekognition. I timed it and it takes anywhere from seven seconds to 30 seconds for a frame from the video client to be sent to rekognition. Do you think this can be improved by increasing the number of shards? Or do you think it is more a matter of running the video analyzer on a more powerful wifi-network? How close to real-time is the video analyzer on your network?
Thanks,
Jacob
from amazon-rekognition-video-analyzer.
Kinesis supports up to 1MiB/sec ingest throughput and as long as you're not getting ProvisionedThroughputExceededException, then Kinesis is able to handle the throughput or requests/sec requirement. When you start getting those, then it signals the need for more shards.
I would recommend you start by measuring latency from the video capture client's network to the AWS region where you deployed the stack. For example, https://cloudharmony.com/speedtest-for-aws seems to provide this kind of measurement.
If latencies look OK, next thing I would look at is the processing power of the video capture client device, and whether it is able to capture, package, and stream the frames without excessive delays.
Based on the configurations I've tested, the delay between capture and seeing frames in the Web UI should be in the order of a few seconds.
from amazon-rekognition-video-analyzer.
Please reopen issue if needed. Thanks!
from amazon-rekognition-video-analyzer.
Related Issues (20)
- Error with build.py file HOT 2
- pynt create stack: HOT 4
- 'JobStatus': 'FAILED', 'StatusMessage': 'Unsupported codec/format.' HOT 1
- Video takes infinite time to analyze HOT 2
- Having Trouble Creating Stack
- Final step videocapture HOT 4
- Accessing VideoCaptureIP
- amazon-rekognition-video-analyzer does not return data the request HOT 4
- Hey, I have a question...
- Has anyone set it up?
- Video/Image does not appear on webui
- 我的外包
- All works (after some modification), except viewing image frames
- Update example to use SigV4 S3 URLs
- create stack fails
- import cv2 not working
- No module named http.server HOT 1
- Video doesn't load to the webui
- Using Container in ImageProcessor Lambda Function
- duplicated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-rekognition-video-analyzer.