UNPKG

object.detection4autopsy.server

Version:

This package supports the [Autopsy](https://www.autopsy.com) module [object.detection4autopsy](https://github.com/rcaceiro/obejct.detection4autopsy) that takes the power of the real-time object detection system called [Yolo](https://pjreddie.com/darknet/y

49 lines (37 loc) 1.81 kB
# Object Detection for Autopsy Server This package supports the [Autopsy](https://www.autopsy.com) module [object.detection4autopsy](https://github.com/rcaceiro/obejct.detection4autopsy) that takes the power of the real-time object detection system called [Yolo](https://pjreddie.com/darknet/yolo/). It is sponsored by [Instituto de Telecomunicações](https://www.it.pt) developed by [Rúben Caceiro](https://github.com/rcaceiro) and guided by [Patrício Domingues](https://scholar.google.com/citations?user=LPwSQ2EAAAAJ&hl=en). ### Pre-requirements * Please get the minimum requirements from [node-yolo](https://github.com/rcaceiro/node-yolo) module ### Minimum hardware requirements * Please get the minimum requirements from [node-yolo](https://github.com/rcaceiro/node-yolo) module ### Installation ```bash sudo npm install object.detection4autopsy.server -g --unsafe-perm ``` ## How To Use ```bash port=80 od4a ``` **Note 1:** You can change port 80 to another that you want. ### Endpoints ```html /ping ``` **Expects:** nothing <br>**Gives on success:** 200 response code ```html /process/image ``` **Expects:** a image file* <br>**Gives on success:** 200 response code with a json string with detections <br>**Gives on error:** 400 response code with error message ```html /process/video ``` **Expects:** a image video** <br>**Gives on success:** 200 response code with a json string with detections <br>**Gives on error:** 400 response code with error message # *Only support image extensions .jpeg, .jpe, .jpg, .jp2, .tiff, .tif, .bmp, .png, .ppm, .pgm, .pbm, .sr, .ras, dib **Only support video extensions .3gp, .3g2, .asf, .wma, .wmv, .avi, .divx, .evo, .f4v, .flv, .mkv, .mk3d, .mka, .mks, .webm, .mcf, .mp4, .mpg, .mpeg, .ts, .m2p, .ps, .m2ts, .mxf, .ogg, .rmvb, .mov, .qt, .vob, .ifo