D-Alex / ropencv

ffi ruby wrapper for opencv
Other
67 stars 14 forks source link

HoughCircles parameter incorrect #4

Closed bobbdelsol closed 11 years ago

bobbdelsol commented 11 years ago

based on the documentation, i think that Circles is supposed to be a vector

circles – Output vector of found circles. Each vector is encoded as a 3-element floating-point vector (x, y, radius) .

fitting it to cv.HoughCircles void Mat image Mat circles /O int method double dp double minDist double param1 100 double param2 100 int minRadius 0 int maxRadius 0

i get an error that the content doesn't type doesn't match or an error that the content is wrong.

circles.size if a ptr if you set it up as Mat,

of course i could just be confused as how to translate vector circles to ruby

my code

def test_hough hough_circles 'public/g/edit_images/stuff.jpg' end

def hough_circles(img_name)

Mat src, src_gray

/ Read the image

src = cv::imread(img_name, 1)

return -1 unless src.data src_gray=src

/ Convert it to gray

cv::cvtColor(src, src_gray, CV_BGR2GRAY)

/ Reduce the noise so we avoid false circle detection

arraysize=cv::Size.new arraysize.width=9 arraysize.height=9 cv::GaussianBlur(src_gray, src_gray, arraysize, 2, 2)

arraysize.width=3 arraysize.height=1 circles=cv::Mat.new(arraysize,cv::CV_64F)

circles=Vector::Mat.new

  #Vector(3,1,cv::CV_64F)

/ Apply the Hough Transform to find the circles

cv::HoughCircles(src_gray, circles, CV_HOUGH_GRADIENT, 1, src_gray.rows/8, 200, 100, 0, 0)

/ Draw the circles detected

(0..circles.size).each do |i| Point center(cvRound(circles[i][0]), cvRound(circles[i][1])) radius = cvRound(circles[i][2])

circle center

circle(src, center, 3, Scalar(0, 255, 0), -1, 8, 0)
# circle outline
circle(src, center, radius, Scalar(0, 0, 255), 3, 8, 0)
end
#/ Show your results
namedWindow("Hough Circle Transform Demo", cv::CV_WINDOW_AUTOSIZE)
imshow("Hough Circle Transform Demo", src)

end

D-Alex commented 11 years ago

Hi,

the InputArray / OutputArrays of opencv are a bit tricky especially in combination with ruby. If a c++ function requests a InputArray or OutputArray as argument ropencv will always convert this argument to cv::Mat before passing it to the c++ function.

Unfortunately, if you use a std::Vector for an OutputArray this will fail because to convert a std::Vector to a cv::Mat a copy is created and ropencv does not copy the result back into the given std::vector (this will be fixed at some point).

Back to your problem: OpenCV is expecting an OutputArray to store the circles as Point3f. Therefore, it will be happy if you call it with a cv::Mat as argument.

circles = cv::Mat.new
cv::HoughCircles(gray, circles, CV_HOUGH_GRADIENT, 1, gray.rows/10, 10, 20 );

#reshape result --> each row stores one circle
circles = circles.reshape(1,circles.cols)

circles.each_row do |circle|
    puts cv::Point.new(circle[0].round, circle[1].round)
end
bobbdelsol commented 11 years ago

Alex

Thank you.

If you don’t mind, i have another related issue/question

h = cv::findHomography(obj, scene, cv::RANSAC) returns the error. undefined local variable or method `cv' for OpenCV::Cv::Mat:Class

I keep running into issues where the method isn’t available or ??

As in for your answer, the method circles.each_row isn’t available in circles, Did i not load some element i need, or is it just that that isn’t available ousted the C++ env. I just used direct indexing and looped on circles.rows :).

bob

On Oct 28, 2013, at 1:53 AM, Alexander Duda notifications@github.com wrote:

Hi,

the InputArray / OutputArrays of opencv are a bit tricky especially in combination with ruby. If a c++ function requests a InputArray or OutputArray as argument ropencv will always convert this argument to cv::Mat before passing it to the c++ function.

Unfortunately, if you use a std::Vector for an OutputArray this will fail because to convert a std::Vector to a cv::Mat a copy is created and ropencv does not copy the result back into the given std::vector (this will be fixed at some point).

Back to your problem: OpenCV is expecting an OutputArray to store the circles as Point3f. Therefore, it will be happy if you call it with a cv::Mat as argument.

circles = cv::Mat.new cv::HoughCircles(gray, circles, CV_HOUGH_GRADIENT, 1, gray.rows/10, 10, 20 );

reshape result --> each row stores one circle

circles = circles.reshape(1,circles.cols)

circles.each_row do |circle| puts cv::Point.new(circle[0].round, circle[1].round) end — Reply to this email directly or view it on GitHub.

D-Alex commented 11 years ago

Module names with small leading characters are not allowed in ruby. Therefore, cv is nothing else than a method defined on the module OpenCV returning the module Cv. If you still have problems please send a back trace.

each_row is define on OpenCV::Cv::Mat on the ruby side only. It might be that this function is at the moment only on master and not part of the gem.

Alex

bobbdelsol commented 11 years ago

Took me a while to get opencv to compile again. Moved to mavericks, how foolish i am early in the AM:)

Same issue. all the parameters look good. It recognizes findHomograhpy, since if I don’t include parameters it complains.

h=cv::findHomography !! #<ArgumentError: wrong number of arguments (0 for 2..5) Request info Request parameters
{"action"=>"magic", "controller"=>"magicpages"} Rack session

<ActionDispatch::Request::Session:0x007ff376dfb918 @by=#<ActionDispatch::Session::CookieStore:0x007ff378c8fbe0 @app=#<ActionDispatch::Flash:0x007ff378c8fc08 @app=#<ActionDispatch::ParamsParser:0x007ff378c8fca8 @app=#<Remotipart::Middleware:0x007ff378c8fcd0 @app=#<Rack::Head:0x007ff378c8fcf8 @app=#<Rack::ConditionalGet:0x007ff378c8fd20 @app=#<Rack::ETag:0x007ff378c8fd70 @app=#<Warden::Manager:0x007ff378c8fe60 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x007ff376d80510}, @app=#<Rack::Pjax:0x007ff378c8fe88 @app=#>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>>, @parsers={#<Mime::Type:0x007ff377ab7a80 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false}, @key="_animator_session", @cookie_only=true>, @env={"rack.version"=>[1, 2], "rack.input"=>#StringIO:0x007ff378edb570, "rack.errors"=>#IO:, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "rack.url_scheme"=>"http", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/magic", "QUERY_STRING"=>"", "SCRIPT_NAME"=>"", "REMOTE_ADDR"=>"127.0.0.1", "SERVER_ADDR"=>"0.0.0.0", "SERVER_NAME"=>"animator.dev", "SERVER_PORT"=>"88", "HTTP_HOST"=>"animator.dev", "HTTP_X_FORWARDED_FOR"=>"127.0.0.1, 127.0.0.1", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTPACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/_;q=0.8", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_COOKIE"=>"request_method=GET; _animator_session=c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0%3D--d53bcf65aa42cf77e49fc98e448bc40a9a636749", "HTTP_X_FORWARDED_HOST"=>"animator.dev", "HTTP_X_FORWARDED_SERVER"=>"pow", "HTTP_CONNECTION"=>"Keep-Alive", "REMOTE_PORT"=>"50151", "ORIGINAL_FULLPATH"=>"/magic", "ORIGINAL_SCRIPT_NAME"=>"", "action_dispatch.routes"=>#ActionDispatch::Routing::RouteSet:0x007ff377f99c10, "action_dispatch.parameter_filter"=>[:password, :password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<ActiveSupport::Logger:0x007ff378a32a50 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007ff378a32960 @datetime_format=nil>, @formatter=#<ActiveSupport::Logger::SimpleFormatter:0x007ff378c6e990 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007ff378a32898 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/Users/bobbysair/Rails_Projects/animator/log/development.log>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007ff378a32820 @mon_owner=nil, @mon_count=0, @mon_mutex=#>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x007ff378d4c6c8 @filters=[#Proc:0x007ff378d577a8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:10, #Proc:0x007ff378d57730@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:11, #Proc:0x007ff378d57668@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:12, #Proc:0x007ff378d56678@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:24], @silencers=[#Proc:0x007ff378d56650@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:15]>, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x007ff378d56510 @key_generator=#<ActiveSupport::KeyGenerator:0x007ff378d56588 @secret="c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x007ff378d56448 @backend={"encrypted cookie64"=>"\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", "signed encrypted cookie64"=>"\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05"}, @default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "ROUTES_70341833313800_SCRIPT_NAME"=>"", "action_dispatch.request_id"=>"b44d6e76-81c8-4895-a7e3-2ec93bc8f24c", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x007ff378ee3040 @env={...}, @check_ip=true, @proxies=/ ^127\.0\.0\.1$ | # localhost IPv4 ^::1$ | # localhost IPv6 ^fc00: | # private IPv6 range fc00 ^10\. | # private IPv4 range 10.x.x.x ^172\.(1[6-9]|2[0-9]|3[0-1])\.| # private IPv4 range 172.16.0.0 .. 172.31.255.255 ^192\.168\. # private IPv4 range 192.168.x.x /x>, "rack.session"=>#<ActionDispatch::Request::Session:0x007ff376dfb918 ...>, "rack.session.options"=>#<ActionDispatch::Request::Session::Options:0x007ff376dfb8a0 @by=#<ActionDispatch::Session::CookieStore:0x007ff378c8fbe0 @app=#<ActionDispatch::Flash:0x007ff378c8fc08 @app=#<ActionDispatch::ParamsParser:0x007ff378c8fca8 @app=#<Remotipart::Middleware:0x007ff378c8fcd0 @app=#<Rack::Head:0x007ff378c8fcf8 @app=#<Rack::ConditionalGet:0x007ff378c8fd20 @app=#<Rack::ETag:0x007ff378c8fd70 @app=#<Warden::Manager:0x007ff378c8fe60 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x007ff376d80510>}, @app=#<Rack::Pjax:0x007ff378c8fe88 @app=#<ActionDispatch::Routing::RouteSet:0x007ff377f99c10>>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>>, @parsers={#<Mime::Type:0x007ff377ab7a80 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false}, @key="_animator_session", @cookie_only=true>, @env={...}, @delegate={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false, :id=>"396e0312761dca8fd1d22d02c9e22f8e"}>, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "warden"=>Warden::Proxy:70341824076060 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x007ff376d80510>}, "action_dispatch.request.path_parameters"=>{:action=>"magic", :controller=>"magicpages"}, "action_controller.instance"=>#<MagicpagesController:0x007ff376c1b530 @_routes=nil, @_action_has_layout=true, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x007ff376c1af40 @env={...}, @symbolized_path_params=nil, @filtered_parameters={"action"=>"magic", "controller"=>"magicpages"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method="GET", @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/magic", @ip=nil, @uuid=nil>, @_response=#<ActionDispatch::Response:0x007ff376c1ae78 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007ff376c1ac98>, @stream=#<ActionDispatch::Response::Buffer:0x007ff376c1ab80 @response=#<ActionDispatch::Response:0x007ff376c1ae78 ...>, @buf=[], @closed=false>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff", "X-UA-Compatible"=>"chrome=1"}, @status=200, @sending_file=false, @blank=false, @cv=#<MonitorMixin::ConditionVariable:0x007ff376c1aa68 @monitor=#<ActionDispatch::Response:0x007ff376c1ae78 ...>, @cond=#<ConditionVariable:0x007ff376c1aa40 @waiters={}, @waiters_mutex=#<Mutex:0x007ff376c1a950>>>, @committed=false, @content_type=nil, @charset=nil, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x007ff376c1af40 @env={...}, @symbolized_path_params=nil, @filtered_parameters={"action"=>"magic", "controller"=>"magicpages"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method="GET", @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/magic", @ip=nil, @uuid=nil>>, @_env={...}, @_prefixes=["magicpages", "application"], @_lookup_context=#<ActionView::LookupContext:0x007ff376c1a2e8 @details_key=nil, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}, @skip_default_locale=false, @cache=true, @prefixes=["magicpages", "application"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x007ff376c1a040 @paths=[#<ActionView::OptimizedFileSystemResolver:0x007ff3788fa340 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788fa2c8 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788fa278 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9eb0 @backend={"home"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9de8 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9cf8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9c08 @backend={[]=>[app/views/static_pages/home.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c8a38 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c8948 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c8858 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "application"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1db2a0 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1db1b0 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1db0c0 @backend={[]=>[app/views/layouts/application.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "header"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff3750d2300 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff3750d21c0 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007ff3750d20d0 @backend={[]=>[app/views/layouts/_header.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "footer"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff376c22498 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff376c22240 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007ff376c22088 @backend={[]=>[app/views/layouts/_footer.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/Rails_Projects/animator/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff3788f37e8 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788f3748 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788f36f8 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d3aa0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d39d8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d38e8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d37f8 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/devise-3.1.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff3788e9798 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788e9770 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788e96f8 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d2ab0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d29e8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d28f8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d2808 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rails_admin-0.5.0/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff3788e01e8 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788e0198 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788e0120 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d1ac0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d19f8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d1908 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d1818 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/kaminari-0.14.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff377f8a760 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788e3528 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788e3500 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0ad0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0a08 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0918 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0828 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/twitter-bootstrap-rails-2.2.8/app/views">]>>, @_action_name="magic", @_response_body=nil, @_config={}>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"action"=>"magic", "controller"=>"magicpages"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x007ff377aaf830 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html">], "rack.request.cookie_hash"=>{"request_method"=>"GET", "_animator_session"=>"c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0=--d53bcf65aa42cf77e49fc98e448bc40a9a636749"}, "rack.request.cookie_string"=>"request_method=GET; _animator_session=c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0%3D--d53bcf65aa42cf77e49fc98e448bc40a9a636749", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x007ff376c7b9f8 @key_generator=#<ActiveSupport::CachingKeyGenerator:0x007ff378d56510 @key_generator=#<ActiveSupport::KeyGenerator:0x007ff378d56588 @secret="c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x007ff378d56448 @backend={"encrypted cookie64"=>"\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", "signed encrypted cookie64"=>"\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05"}, @default_proc=nil>>, @set_cookies={}, @delete_cookies={}, @host="animator.dev", @secure=true, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", :upgrade_legacy_signed_cookies=>false}, @cookies={"request_method"=>"GET", "_animator_session"=>"c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0=--d53bcf65aa42cf77e49fc98e448bc40a9a636749"}, @encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x007ff376c7a120 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007ff376c7b9f8 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", :upgrade_legacy_signed_cookies=>false}, @encryptor=#<ActiveSupport::MessageEncryptor:0x007ff376c79f18 @secret="\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", @sign_secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x007ff376c79cc0 @secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=Marshal>>, @signed_or_encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x007ff376c7a120 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007ff376c7b9f8 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", :upgrade_legacy_signed_cookies=>false}, @encryptor=#<ActiveSupport::MessageEncryptor:0x007ff376c79f18 @secret="\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", @sign_secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x007ff376c79cc0 @secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=Marshal>>>, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"396e0312761dca8fd1d22d02c9e22f8e", "_csrf_token"=>"jQGiCEiW27SyYe5JtlLXa+XrBbTmjG2rGXv4JygF/bw="}}, @delegate={"session_id"=>"396e0312761dca8fd1d22d02c9e22f8e", "_csrf_token"=>"jQGiCEiW27SyYe5JtlLXa+XrBbTmjG2rGXv4JygF/bw="}, @loaded=true, @exists=true>

Local Variables

frame1
"/Users/bobbysair/Rails_Projects/animator/public/g/images/bull2.png" frame2
"/Users/bobbysair/Rails_Projects/animator/public/g/images/bull1.png" img_object

<OpenCV::Cv::Mat:0x007ff376c80c28 @__obj_ptr__=#>

img_scene

<OpenCV::Cv::Mat:0x007ff376c80228 @__obj_ptr__=#>

sf
5 min_hessian 400 detector

<OpenCV::Cv::Ptr::Cv_FeatureDetector:0x007ff376c8bdf8 @__obj_ptr__=#>

keypoints_object

<OpenCV::Std::Vector::Cv_KeyPoint:0x007ff376c8b718 @__obj_ptr__=#>

keypoints_scene

<OpenCV::Std::Vector::Cv_KeyPoint:0x007ff376c8aca0 @__obj_ptr__=#>

extractor

<OpenCV::Cv::Ptr::Cv_DescriptorExtractor:0x007ff376c93ad0 @__obj_ptr__=#>

descriptors_object

<OpenCV::Cv::Mat:0x007ff376c927e8 @__obj_ptr__=#>

descriptors_scene

<OpenCV::Cv::Mat:0x007ff376c91ac8 @__obj_ptr__=#>

matcher

<OpenCV::Cv::Ptr::Cv_DescriptorMatcher:0x007ff376c9ba28 @__obj_ptr__=#>

matches

<OpenCV::Std::Vector::Cv_DMatch:0x007ff376c9b1e0 @__obj_ptr__=#>

max_dist
0.6097977161407471 min_dist
0.0 good_matches

<OpenCV::Std::Vector::Cv_DMatch:0x007ff378e99df0 @__obj_ptr__=#>

img_matches

<OpenCV::Cv::Mat:0x007ff376e93510 @__obj_ptr__=#>

obj

<OpenCV::Std::Vector::Cv_Point2f:0x007ff376e928e0 @__obj_ptr__=#>

scene

<OpenCV::Std::Vector::Cv_Point2f:0x007ff376e923e0 @__obj_ptr__=#>

obj_corners [#<OpenCV::Cv::Point:0x007ff376f0e2d8 @obj_ptr=#>, #<OpenCV::Cv::Point:0x007ff376f0dba8 @obj_ptr=#>, #<OpenCV::Cv::Point:0x007ff376f0d248 @obj_ptr=#>, #<OpenCV::Cv::Point:0x007ff376f0cc30 @obj_ptr=#>] scene_corners
[#<OpenCV::Std::Vector::Cv_Point2f:0x007ff376f143e0 @obj_ptr=#>, #<OpenCV::Std::Vector::Cv_Point2f:0x007ff376f16be0 @obj_ptr=#>, #<OpenCV::Std::Vector::Cv_Point2f:0x007ff376f17ab8 @obj_ptr=#>, #<OpenCV::Std::Vector::Cv_Point2f:0x007ff376f16ff0 @obj_ptr=#>] noarray [] h

<OpenCV::Cv::Mat:0x007ff376f16488 @__obj_ptr__=#>

Instance Variables

@_routes
nil @_action_has_layout true @_headers
{"Content-Type"=>"text/html"} @_status
200 @_request

<ActionDispatch::Request:0x007ff376c1af40 @env={"rack.version"=>[1, 2], "rack.input"=>#StringIO:0x007ff378edb570, "rack.errors"=>#IO:, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "rack.url_scheme"=>"http", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/magic", "QUERY_STRING"=>"", "SCRIPT_NAME"=>"", "REMOTE_ADDR"=>"127.0.0.1", "SERVER_ADDR"=>"0.0.0.0", "SERVER_NAME"=>"animator.dev", "SERVER_PORT"=>"88", "HTTP_HOST"=>"animator.dev", "HTTP_X_FORWARDED_FOR"=>"127.0.0.1, 127.0.0.1", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTPACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/_;q=0.8", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_COOKIE"=>"request_method=GET; _animator_session=c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0%3D--d53bcf65aa42cf77e49fc98e448bc40a9a636749", "HTTP_X_FORWARDED_HOST"=>"animator.dev", "HTTP_X_FORWARDED_SERVER"=>"pow", "HTTP_CONNECTION"=>"Keep-Alive", "REMOTE_PORT"=>"50151", "ORIGINAL_FULLPATH"=>"/magic", "ORIGINAL_SCRIPT_NAME"=>"", "action_dispatch.routes"=>#ActionDispatch::Routing::RouteSet:0x007ff377f99c10, "action_dispatch.parameter_filter"=>[:password, :password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<ActiveSupport::Logger:0x007ff378a32a50 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007ff378a32960 @datetime_format=nil>, @formatter=#<ActiveSupport::Logger::SimpleFormatter:0x007ff378c6e990 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007ff378a32898 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/Users/bobbysair/Rails_Projects/animator/log/development.log>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007ff378a32820 @mon_owner=nil, @mon_count=0, @mon_mutex=#>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x007ff378d4c6c8 @filters=[#Proc:0x007ff378d577a8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:10, #Proc:0x007ff378d57730@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:11, #Proc:0x007ff378d57668@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:12, #Proc:0x007ff378d56678@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:24], @silencers=[#Proc:0x007ff378d56650@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:15]>, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x007ff378d56510 @key_generator=#<ActiveSupport::KeyGenerator:0x007ff378d56588 @secret="c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x007ff378d56448 @backend={"encrypted cookie64"=>"\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", "signed encrypted cookie64"=>"\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05"}, @default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "ROUTES_70341833313800_SCRIPT_NAME"=>"", "action_dispatch.request_id"=>"b44d6e76-81c8-4895-a7e3-2ec93bc8f24c", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x007ff378ee3040 @env={...}, @check_ip=true, @proxies=/ ^127\.0\.0\.1$ | # localhost IPv4 ^::1$ | # localhost IPv6 ^fc00: | # private IPv6 range fc00 ^10\. | # private IPv4 range 10.x.x.x ^172\.(1[6-9]|2[0-9]|3[0-1])\.| # private IPv4 range 172.16.0.0 .. 172.31.255.255 ^192\.168\. # private IPv4 range 192.168.x.x /x>, "rack.session"=>#<ActionDispatch::Request::Session:0x007ff376dfb918 @by=#<ActionDispatch::Session::CookieStore:0x007ff378c8fbe0 @app=#<ActionDispatch::Flash:0x007ff378c8fc08 @app=#<ActionDispatch::ParamsParser:0x007ff378c8fca8 @app=#<Remotipart::Middleware:0x007ff378c8fcd0 @app=#<Rack::Head:0x007ff378c8fcf8 @app=#<Rack::ConditionalGet:0x007ff378c8fd20 @app=#<Rack::ETag:0x007ff378c8fd70 @app=#<Warden::Manager:0x007ff378c8fe60 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x007ff376d80510>}, @app=#<Rack::Pjax:0x007ff378c8fe88 @app=#<ActionDispatch::Routing::RouteSet:0x007ff377f99c10>>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>>, @parsers={#<Mime::Type:0x007ff377ab7a80 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false}, @key="_animator_session", @cookie_only=true>, @env={...}, @delegate={"session_id"=>"396e0312761dca8fd1d22d02c9e22f8e", "_csrf_token"=>"jQGiCEiW27SyYe5JtlLXa+XrBbTmjG2rGXv4JygF/bw="}, @loaded=true, @exists=true>, "rack.session.options"=>#<ActionDispatch::Request::Session::Options:0x007ff376dfb8a0 @by=#<ActionDispatch::Session::CookieStore:0x007ff378c8fbe0 @app=#<ActionDispatch::Flash:0x007ff378c8fc08 @app=#<ActionDispatch::ParamsParser:0x007ff378c8fca8 @app=#<Remotipart::Middleware:0x007ff378c8fcd0 @app=#<Rack::Head:0x007ff378c8fcf8 @app=#<Rack::ConditionalGet:0x007ff378c8fd20 @app=#<Rack::ETag:0x007ff378c8fd70 @app=#<Warden::Manager:0x007ff378c8fe60 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x007ff376d80510>}, @app=#<Rack::Pjax:0x007ff378c8fe88 @app=#<ActionDispatch::Routing::RouteSet:0x007ff377f99c10>>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>>, @parsers={#<Mime::Type:0x007ff377ab7a80 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false}, @key="_animator_session", @cookie_only=true>, @env={...}, @delegate={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false, :id=>"396e0312761dca8fd1d22d02c9e22f8e"}>, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "warden"=>Warden::Proxy:70341824076060 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x007ff376d80510>}, "action_dispatch.request.path_parameters"=>{:action=>"magic", :controller=>"magicpages"}, "action_controller.instance"=>#<MagicpagesController:0x007ff376c1b530 @_routes=nil, @_action_has_layout=true, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x007ff376c1af40 ...>, @_response=#<ActionDispatch::Response:0x007ff376c1ae78 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007ff376c1ac98>, @stream=#<ActionDispatch::Response::Buffer:0x007ff376c1ab80 @response=#<ActionDispatch::Response:0x007ff376c1ae78 ...>, @buf=[], @closed=false>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff", "X-UA-Compatible"=>"chrome=1"}, @status=200, @sending_file=false, @blank=false, @cv=#<MonitorMixin::ConditionVariable:0x007ff376c1aa68 @monitor=#<ActionDispatch::Response:0x007ff376c1ae78 ...>, @cond=#<ConditionVariable:0x007ff376c1aa40 @waiters={}, @waiters_mutex=#<Mutex:0x007ff376c1a950>>>, @committed=false, @content_type=nil, @charset=nil, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x007ff376c1af40 ...>>, @_env={...}, @_prefixes=["magicpages", "application"], @_lookup_context=#<ActionView::LookupContext:0x007ff376c1a2e8 @details_key=nil, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}, @skip_default_locale=false, @cache=true, @prefixes=["magicpages", "application"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x007ff376c1a040 @paths=[#<ActionView::OptimizedFileSystemResolver:0x007ff3788fa340 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788fa2c8 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788fa278 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9eb0 @backend={"home"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9de8 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9cf8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9c08 @backend={[]=>[app/views/static_pages/home.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c8a38 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c8948 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c8858 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "application"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1db2a0 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1db1b0 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1db0c0 @backend={[]=>[app/views/layouts/application.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "header"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff3750d2300 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff3750d21c0 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007ff3750d20d0 @backend={[]=>[app/views/layouts/_header.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "footer"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff376c22498 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff376c22240 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x007ff376c22088 @backend={[]=>[app/views/layouts/_footer.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/Rails_Projects/animator/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff3788f37e8 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788f3748 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788f36f8 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d3aa0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d39d8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d38e8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d37f8 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/devise-3.1.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff3788e9798 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788e9770 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788e96f8 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d2ab0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d29e8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d28f8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d2808 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rails_admin-0.5.0/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff3788e01e8 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788e0198 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788e0120 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d1ac0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d19f8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d1908 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d1818 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/kaminari-0.14.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x007ff377f8a760 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788e3528 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788e3500 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0ad0 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0a08 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0918 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1d0828 @backend={}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba560@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba4e8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:48 (lambda)>>>, @path="/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/twitter-bootstrap-rails-2.2.8/app/views">]>>, @_action_name="magic", @_response_body=nil, @_config={}>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"action"=>"magic", "controller"=>"magicpages"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x007ff377aaf830 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html">], "rack.request.cookie_hash"=>{"request_method"=>"GET", "_animator_session"=>"c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0=--d53bcf65aa42cf77e49fc98e448bc40a9a636749"}, "rack.request.cookie_string"=>"request_method=GET; _animator_session=c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0%3D--d53bcf65aa42cf77e49fc98e448bc40a9a636749", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x007ff376c7b9f8 @key_generator=#<ActiveSupport::CachingKeyGenerator:0x007ff378d56510 @key_generator=#<ActiveSupport::KeyGenerator:0x007ff378d56588 @secret="c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x007ff378d56448 @backend={"encrypted cookie64"=>"\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", "signed encrypted cookie64"=>"\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05"}, @default_proc=nil>>, @set_cookies={}, @delete_cookies={}, @host="animator.dev", @secure=true, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", :upgrade_legacy_signed_cookies=>false}, @cookies={"request_method"=>"GET", "_animator_session"=>"c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0=--d53bcf65aa42cf77e49fc98e448bc40a9a636749"}, @encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x007ff376c7a120 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007ff376c7b9f8 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", :upgrade_legacy_signed_cookies=>false}, @encryptor=#<ActiveSupport::MessageEncryptor:0x007ff376c79f18 @secret="\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", @sign_secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x007ff376c79cc0 @secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=Marshal>>, @signed_or_encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x007ff376c7a120 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007ff376c7b9f8 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", :upgrade_legacy_signed_cookies=>false}, @encryptor=#<ActiveSupport::MessageEncryptor:0x007ff376c79f18 @secret="\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", @sign_secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x007ff376c79cc0 @secret="\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=Marshal>>>, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"396e0312761dca8fd1d22d02c9e22f8e", "_csrf_token"=>"jQGiCEiW27SyYe5JtlLXa+XrBbTmjG2rGXv4JygF/bw="}}, @symbolized_path_params=nil, @filtered_parameters={"action"=>"magic", "controller"=>"magicpages"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method="GET", @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/magic", @ip=nil, @uuid=nil>

@_response

<ActionDispatch::Response:0x007ff376c1ae78 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @stream=#<ActionDispatch::Response::Buffer:0x007ff376c1ab80 @response=#<ActionDispatch::Response:0x007ff376c1ae78 ...>, @buf=[], @closed=false>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff", "X-UA-Compatible"=>"chrome=1"}, @status=200, @sending_file=false, @blank=false, @cv=#<MonitorMixin::ConditionVariable:0x007ff376c1aa68 @monitor=#<ActionDispatch::Response:0x007ff376c1ae78 ...>, @cond=#<ConditionVariable:0x007ff376c1aa40 @waiters={}, @waiters_mutex=#>>, @committed=false, @content_type=nil, @charset=nil, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x007ff376c1af40 @env={"rack.version"=>[1, 2], "rack.input"=>#StringIO:0x007ff378edb570, "rack.errors"=>#IO:, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "rack.url_scheme"=>"http", "REQUEST_METHOD"=>"GET", "PATH_INFO"=>"/magic", "QUERY_STRING"=>"", "SCRIPT_NAME"=>"", "REMOTE_ADDR"=>"127.0.0.1", "SERVER_ADDR"=>"0.0.0.0", "SERVER_NAME"=>"animator.dev", "SERVER_PORT"=>"88", "HTTP_HOST"=>"animator.dev", "HTTP_X_FORWARDED_FOR"=>"127.0.0.1, 127.0.0.1", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTPACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/_;q=0.8", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_COOKIE"=>"request_method=GET; _animator_session=c0c2WFVheXdaU0pObDM4ZDMvTFJQb1BZVjVaRTFLVDI1Z0h6VXFGenQxeEd2SVc2cHNBR0ZuVWlzcmc3OVRHQUJrbXBaTHlsazZjbWtMa05FTGJlNTkreUFyOVZaY2hhNEh0dlE3eGg4a1RwUWFBa0Z2cERNd1hUb21veEMzUGZKZTExZE1QSDk4VlVyMDVIbVZ1RFp3Tng1Zm1xU0tCQmxDcnVZMkVQYi8rdi9HUWVNc29vR0o0b1dHdnh3WnF3LS1WS3pXQWhLbytMTENEeUlBczdnY2RBPT0%3D--d53bcf65aa42cf77e49fc98e448bc40a9a636749", "HTTP_X_FORWARDED_HOST"=>"animator.dev", "HTTP_X_FORWARDED_SERVER"=>"pow", "HTTP_CONNECTION"=>"Keep-Alive", "REMOTE_PORT"=>"50151", "ORIGINAL_FULLPATH"=>"/magic", "ORIGINAL_SCRIPT_NAME"=>"", "action_dispatch.routes"=>#ActionDispatch::Routing::RouteSet:0x007ff377f99c10, "action_dispatch.parameter_filter"=>[:password, :password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", "action_dispatch.show_exceptions"=>true, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<ActiveSupport::Logger:0x007ff378a32a50 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007ff378a32960 @datetime_format=nil>, @formatter=#<ActiveSupport::Logger::SimpleFormatter:0x007ff378c6e990 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007ff378a32898 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/Users/bobbysair/Rails_Projects/animator/log/development.log>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007ff378a32820 @mon_owner=nil, @mon_count=0, @mon_mutex=#>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x007ff378d4c6c8 @filters=[#Proc:0x007ff378d577a8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:10, #Proc:0x007ff378d57730@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:11, #Proc:0x007ff378d57668@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:12, #Proc:0x007ff378d56678@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:24], @silencers=[#Proc:0x007ff378d56650@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.1/lib/rails/backtrace_cleaner.rb:15]>, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x007ff378d56510 @key_generator=#<ActiveSupport::KeyGenerator:0x007ff378d56588 @secret="c7adb8868ee4b0f725af6906d4840b088c74cc7021218db7b80f236e884aa7473b91d45f6e7b2278614810012a1b372e7abfa4e0e36f756d176eba240a3f1c93", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x007ff378d56448 @backend={"encrypted cookie64"=>"\x9B9\x19<\t\xA0Z\x05\x8F\x82Y\r\xBDN\xB3\xF2hP\xF1\x05\xCE\xE8\xF4Y\xE3\x14e\x86\xA3T\x02\xFC\x89iE\xDF\xC9Ur\xED\xEE\xD0\x05\x88\x86n\x90\x9At5`#f\xEC\xBE\x17m\a\xAB\xE5A\xFA5\x89", "signed encrypted cookie64"=>"\xEB\xD0mJUZ=\x92\x9E=(J\x9C'\x05Lw\x18\xE5|\xD2X\"l\xAA\xE3\xEA\xCE\x1A-\xB4\x80<\xAE\xBD\x86\x17\x119PRA\x0F\xE1\xBE\xEF\x94\xD8{\xDF\a\xA2h\x87X'\xFE\xAF\xF0\x90\xEA\xF2\xCF\x05"}, @default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "ROUTES_70341833313800_SCRIPT_NAME"=>"", "action_dispatch.request_id"=>"b44d6e76-81c8-4895-a7e3-2ec93bc8f24c", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x007ff378ee3040 @env={...}, @check_ip=true, @proxies=/ ^127.0.0.1$ | # localhost IPv4 ^::1$ | # localhost IPv6 ^fc00: | # private IPv6 range fc00 ^10. | # private IPv4 range 10.x.x.x ^172.(1[6-9]|2[0-9]|3[0-1]).| # private IPv4 range 172.16.0.0 .. 172.31.255.255 ^192.168. # private IPv4 range 192.168.x.x /x>, "rack.session"=>#<ActionDispatch::Request::Session:0x007ff376dfb918 @by=#<ActionDispatch::Session::CookieStore:0x007ff378c8fbe0 @app=#<ActionDispatch::Flash:0x007ff378c8fc08 @app=#<ActionDispatch::ParamsParser:0x007ff378c8fca8 @app=#<Remotipart::Middleware:0x007ff378c8fcd0 @app=#<Rack::Head:0x007ff378c8fcf8 @app=#<Rack::ConditionalGet:0x007ff378c8fd20 @app=#<Rack::ETag:0x007ff378c8fd70 @app=#<Warden::Manager:0x007ff378c8fe60 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x007ff376d80510}, @app=#<Rack::Pjax:0x007ff378c8fe88 @app=#>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>>, @parsers={#<Mime::Type:0x007ff377ab7a80 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false}, @key="_animator_session", @cookie_only=true>, @env={...}, @delegate={"session_id"=>"396e0312761dca8fd1d22d02c9e22f8e", "_csrf_token"=>"jQGiCEiW27SyYe5JtlLXa+XrBbTmjG2rGXv4JygF/bw="}, @loaded=true, @exists=true>, "rack.session.options"=>#<ActionDispatch::Request::Session::Options:0x007ff376dfb8a0 @by=#<ActionDispatch::Session::CookieStore:0x007ff378c8fbe0 @app=#<ActionDispatch::Flash:0x007ff378c8fc08 @app=#<ActionDispatch::ParamsParser:0x007ff378c8fca8 @app=#<Remotipart::Middleware:0x007ff378c8fcd0 @app=#<Rack::Head:0x007ff378c8fcf8 @app=#<Rack::ConditionalGet:0x007ff378c8fd20 @app=#<Rack::ETag:0x007ff378c8fd70 @app=#<Warden::Manager:0x007ff378c8fe60 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x007ff376d80510}, @app=#<Rack::Pjax:0x007ff378c8fe88 @app=#>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>>, @parsers={#<Mime::Type:0x007ff377ab7a80 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false}, @key="_animator_session", @cookie_only=true>, @env={...}, @delegate={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>true, :httponly=>true, :defer=>false, :renew=>false, :id=>"396e0312761dca8fd1d22d02c9e22f8e"}>, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "warden"=>Warden::Proxy:70341824076060 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x007ff376d80510}, "action_dispatch.request.path_parameters"=>{:action=>"magic", :controller=>"magicpages"}, "action_controller.instance"=>#<MagicpagesController:0x007ff376c1b530 @_routes=nil, @_action_has_layout=true, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x007ff376c1af40 ...>, @_response=#<ActionDispatch::Response:0x007ff376c1ae78 ...>, @_env={...}, @_prefixes=["magicpages", "application"], @_lookup_context=#<ActionView::LookupContext:0x007ff376c1a2e8 @details_key=nil, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}, @skip_default_locale=false, @cache=true, @prefixes=["magicpages", "application"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x007ff376c1a040 @paths=[#<ActionView::OptimizedFileSystemResolver:0x007ff3788fa340 @pattern=":prefix/:action{.:locale,}{.:formats,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x007ff3788fa2c8 @data=#<ActionView::Resolver::Cache::SmallCache:0x007ff3788fa278 @backend={#<ActionView::LookupContext::DetailsKey:0x007ff37b1cb1e8 @hash=-3388988254246498143>=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9eb0 @backend={"home"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9de8 @backend={"static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9cf8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c9c08 @backend={[]=>[app/views/static_pages/home.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x007ff3788ba5d8@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:45 (lambda)>>}, @default_proc=#<Proc:0x007ff3788ba5b0@/Users/bobbysair/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.1/lib/action_view/template/resolver.rb:46 (lambda)>>, "static_pages"=>#<ActionView::Resolver::Cache::SmallCache:0x007ff37b1c8a38 @backend={"layouts"=>#<ActionView::Resolver::Cache::Smal

D-Alex commented 11 years ago

I added an example on master. There was problem with the conversion from std::Vector to cv::Mat. Some opencv functions are expecting std::Vector to be converted into a multi channel mat if the elements have more than one field.

bobbdelsol commented 11 years ago

no * method for std::Vector.new(cv::Point2f) or ami i doing something wrong?

On Nov 2, 2013, at 5:59 AM, Alexander Duda notifications@github.com wrote:

I added an example on master. There was problem with the conversion from std::Vector to cv::Mat. Some opencv functions are expecting std::Vector to be converted into a multi channel mat if the elements have more than one field.

— Reply to this email directly or view it on GitHub.

D-Alex commented 11 years ago

I guess you are using an old version of ropencv (not the one on master).

Try the following:

OpenCV::Std::Vector::Cv_Point2f.new                    # direct access
OpenCV::Std::Vector.new(OpenCV::Cv::Point2f)    # using a helper method

include OpenCV                                 # adds some more helper methods
points = std::Vector.new(cv::Point2f)

# you have to reshape the resulting mat before giving it to findHomography 
# if you use an old version
points = cv::Mat.new(points).reshape(2,points.size)

Alex