Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eugenehp/elixir-motiondetection
Motion detection written in Elixir (Erlang) on top of libjpeg
https://github.com/eugenehp/elixir-motiondetection
Last synced: 3 days ago
JSON representation
Motion detection written in Elixir (Erlang) on top of libjpeg
- Host: GitHub
- URL: https://github.com/eugenehp/elixir-motiondetection
- Owner: eugenehp
- License: gpl-3.0
- Created: 2015-07-27T14:05:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-27T14:13:40.000Z (over 9 years ago)
- Last Synced: 2023-04-10T05:52:15.674Z (over 1 year ago)
- Language: Elixir
- Size: 10.3 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Motiondetection
===============Elixir based motion detection application using libjpeg. Comparing pixel differences and provides with a output rate of the changes.
[Video](http://youtu.be/pjpctl-V8_c)
Compile and run
==============
`./run.sh` from your TerminalOutput
==============
```
Interactive Elixir (1.0.5) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Motiondetection.init
:ok
iex(2)> Motiondetection.test "test_images"
Doing compare_two_files with `1.jpg` and `2.jpg`
Comparison result is 1.5046296296296297e-5
Doing compare_two_files with `2.jpg` and `3.jpg`
Comparison result is 0.03755118312757202
Doing compare_two_files with `3.jpg` and `4.jpg`
Comparison result is 0.0188369341563786
Doing compare_two_files with `4.jpg` and `5.jpg`
Comparison result is 0.02012692901234568
Doing compare_two_files with `5.jpg` and `6.jpg`
Comparison result is 0.04197710905349794
Doing compare_two_files with `6.jpg` and `7.jpg`
Comparison result is 3.690843621399177e-5
```