SharpAI / DeepCamera

Open-Source AI Camera. Empower any camera/CCTV with state-of-the-art AI, including facial recognition, person recognition(RE-ID) car detection, fall detection and more
https://sharpai.github.io/DeepCamera/
MIT License
1.82k stars 311 forks source link

My side need to support the s3 storage or other #11

Closed smallverse closed 5 years ago

smallverse commented 5 years ago

hello!

My side need to support the s3 storage or other, but need to know the current logic of uploading files, so that together

  1. Only the following file?

    https://github.com/SharpAI/DeepCamera/blob/master/src/detector/upload.js

  2. The following two is the key method?Who is calling them?

image

solderzzc commented 5 years ago

The upload interface is defined here: https://github.com/SharpAI/DeepCamera/blob/master/src/detector/upload.js#L127

you can add a new file to implement it, after then, import in the up layer module with ENV control or setting file.

smallverse commented 5 years ago

‘’putFileAliyun‘’,‘ getAccessUrl’,Who is calling them?

solderzzc commented 5 years ago

please reopen if still have question.