Giter Club home page Giter Club logo

motion_for_mukoyama's People

Contributors

koki-h avatar lm-itou avatar

Watchers

 avatar  avatar

Forkers

lumbermill

motion_for_mukoyama's Issues

画像の向きを修正できるようにする

 Rotate image this number of degrees. The rotation affects all saved images as
# well as movies. Valid values: 0 (default = no rotation), 90, 180 and 270.
rotate <%= rotation %>
"lib/mk_motionconf.rb" 12L, 438C
#!/usr/bin/env ruby
require 'erb'

motion_home      = ENV['MOTION_HOME']
target_dir       = ENV['MOTION_TARGET_DIR'] || '/var/lib/motion'
threshold        = ENV['MOTION_THRESHOLD'] || 1500
stream_localhost = ENV['MOTION_STREAM_LOCALHOST'] || 'on'
snapshot_interval= ENV['MOTION_SNAPSHOT_INTERVAL'] || 0
rotate           = ENV['MOTION_ROTATE'] || 0 #<----
config_template = "#{motion_home}/motion/template/motion.conf.erb"
erb = ERB.new(open(config_template).read)
puts erb.result(binding)

動体検出をOFFにする設定を追加する

常に動体がフレームに入ってくる場合、動体検出時に毎回画像アップロードでは画像が大量になるため却って見づらくなる。動体検出時にアップロードせずに定時撮影だけにすることはできないか。

mukoyamaに送信される日付の書式が不正

そのためmukoyama側でタイムゾーンが正しく反映されない場合がある。

`dt=2017-07-18T10:10:10+0900` ってcurlに渡すと、URLエンコードされて `dt=2017-07-18T10:10:10 0900` ってのをrailsで受け取ってるみたいです。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.