Comments (3)
Hello,
(1) Yes you can, here are the instructions (shared by a user):
HOW TO DEPLOY DEVELOPMENT ENVIRONMENT TO EC2 and USE PUBLIC IP CAMS
(a.) Install OpenCV on a Linux AMI:
o sudo yum install git cmake gcc-c++ numpy python-devel
o sudo pip install --upgrade pip
o sudo ln -rs /usr/local/bin/pip /usr/bin/
o wget https://pypi.python.org/packages/18/eb/707897ab7c8ad15d0f3c53e971ed8dfb64897ece8d19c64c388f44895572/numpy-1.11.1-cp27-cp27mu-manylinux1_x86_64.whl
o sudo pip install numpy-1.11.1-cp27-cp27mu-manylinux1_x86_64.whl
o git clone https://github.com/Itseez/opencv.git
o cd opencv
o git checkout 3.1.0
o mkdir build
o cd build
o cmake .. -DBUILD_opencv_python2=ON
o make -j4
o sudo make install
o echo 'export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages/:/usr/local/lib/python2.7/dist-packages/'>>~/.bashrc;. ~/.bashrc
o python -c 'import cv2; print "cv2 imported"'
Reference: https://stackoverflow.com/questions/38775044/installing-opencv-python-on-amazon-linux-apache
(b.) Modify line 370 in build.py as follows:
httpd = SocketServer.TCPServer(("0.0.0.0", port), Handler)
(c.) Camera Input:
Using IP camera on laptop or elsewhere requires Security Group setting updates, or NAT’ing depending on whether the camera has public IP or not. An alternative is to use public IP Cameras from internet (precondition is MJPEG streaming). Following is a camera from an observatory in Spain that is verified to be working. http://iris.not.iac.es/axis-cgi/mjpg/video.cgi
(2) This is an AWS Lambda-based solution and is capable of processing video frames ingested through Kinesis Streams. Consuming Kinesis Video Streams in Lambda is currently not supported.
Hope that helps
from amazon-rekognition-video-analyzer.
Closing .. please re-open if you need further assistance .. thanks!
from amazon-rekognition-video-analyzer.
Hey @moanany , after making all this installation I didn't succeed to use the camera of my laptop / RSTP camera on alphapose do you maybe know why I can't detect my camera? I'm using ASUS Zenbook UX331UA
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.