aws-samples / amazon-rekognition-video-analyzer

A working prototype for capturing frames off of a live MJPEG video stream, identifying objects in near real-time using deep learning, and triggering actions based on an objects watch list.
Other
368 stars 158 forks source link

Unable to access CCTV IP camera #17

Closed RATHINAMOORTHY closed 6 years ago

RATHINAMOORTHY commented 6 years ago

Hi, I have cloned amazon-rekognition-video-analyzer and installed all the prerequisite software's, got IAM user to access all necessary AWS services.

After setting the environment , I have configured the code and executed.

The amazon-rekognition-video-analyzer is working very fine with my in-build camera when i run the following command > pynt videocapture[20]

But Iam unable to access the CCTV IP camera. The CCTV IP Camera has credentials too. I have tried following commands, But not sending the video to kinesis stream.

> pynt videocaptureip["12..*.161", 20]** , as it have credentials I have also tried

pynt videocaptureip["http://@1*2.*..161", 20] But not working In capturing terminal it shows Capturing but not streaming to Kinesis service. I have also tried by accessing a camera connected to the same network by providing it's IP. Iam able to ping. But it's raising I/O error.

Kindly help me to access the CCTV IP Camera with credentials.

RATHINAMOORTHY commented 6 years ago

@moanany

moanany commented 6 years ago

Hello,

Two things come to mind:

1) Are you sure this is the correct URL format for your camera (including the credentials)? Cameras vary in terms of the specific URL to access the stream. Some research online could help. For example, you may find the URL format for your camera model here.

2) Sometimes, the pynt tool has issues parsing URLs with special characters. If you are sure of the URL format of your IP camera, you can invoke the video_cap_ipcam.py python script directly instead of using pynt, passing the CCTV camera URL and capture rate.

Hope that helps.

RATHINAMOORTHY commented 6 years ago

@moanany It's working! thanks ;-)

ghost commented 6 years ago

can you please provide the steps to make it up and running

Moriuks commented 5 years ago

to what @RooCoder said x2 would have been nice