Using Optic motion tracking (webcam) an object for a computer input device

July 19, 2014 Leave a comment

7/20/14 draft

Using Optic motion tracking (webcam) an object for an input

Introduction

Using a webcam for optic motion tracking, and an object for an input. In this case, it worked really well today with a red object that didn’t match other objects in the room.  Only tracks X, and Y, coordinates.

Notice on object color/problems:

 

It was jittery/wobbily when I used a color that matched other colors in the room.

You could also print out the color as needed and clear tape the paper over the device.

Flashlight may work – I used an led flashlight and was able to use a webcam to track objects but too wobbly…

Paint in Air

Paint in the air, use webcam, or wiimote,  or X as controller

For this lab the following will be needed:

– paint program, Artrage 4 free Demo version may have options for more realistic paint drips

– Camera Mouse 2014: (free but has license for use)

–keyboard: to be used to toggle mouse-click-and-drag, on and off with the Capslock Key.

–Webcam

–Flashlight: (as needed) may work better,

–(optional) print paper to wrap a different color over object, such as red.

Lots of patience :-)

 

 

Camera Mouse 1.0 2014   Homepage: http://www.cameramouse.org/

Downloads page:

http://www.cameramouse.org/downloads.html

Page has software adds ability to drag but didn’t work, so used autohotkey script

Autohotkey forum page link: http://www.autohotkey.com/board/topic/90336-mouse-click-and-drag-help/

used autohotkey script so I could simulate clickndrag with the capslock key and an object.

With Capslock:

 

 


;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         A.N.Other <myemail@nowhere.com>
;
; Script Function:
;	Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#singleinstance force
count = 1

capslock::
if count = 1
	{
	Click down
	traytip,,waiting for 2nd %a_thishotkey%
	}
else if count = 2
	{
	MouseGetPos, varX, varY
	Click up
	send ^c
	click %varX%, %varY%
	traytip,,copied!
	count = 0
	}
++count
return

 

 

The software was Camera Mouse 2014 and disabled all check boxes in the control tab, except F9 to turn on/off mouse tracking.

Controls320x400

Saving the config file:

After you get the settings you want goto File → save as… I saved over the default.

SaveAs320x240

 

 

Other resources:

 

 

Other webcam software:

 

Webcam Signature: http://webcamsignature.wikidot.com/

for writing signatures…

Dorgem – webcam tracker, a security cam

Camspace –  seems made for gaming

http://www.sourcecodeonline.com/list?q=webcam_object_tracking&pg=2

umouse not currently available

 

 

 

Other Input Device/controller ideas:
For cheap Steering wheel: Tape Mouse to the inside of frisbee or lid. using mouse set the buttons within the game to accelerate and brake for the mouse buttons.

 

sword, pen, paintbrush, empty spray paint can, ping pong padal,

Weather Radar prediction, free satelite databases, DIY w. radio

wip

Unimap is astronomy software in pre-alpha stage, the website lists satelite image viewing databases.

http://larryo.org/astronomy/software/unimap/star_catalog.html

An DVB-T usb stick can be used as a software difined radio after a hardware driver called zadig is installed.

 

Ham radio broadcasting now requires a license in the U.S.  As there are alot of RF devices out there it can can be fun to learn about this field.

Categories: Uncategorized Tags:

mp4 data cd/DVD, gift

wip 7/3/14

MP4 Data cd/DVD/Blu-Ray

I’ve also been able to play mp4’s put on a cd-r using ImageBurn, used , Panzera mp4 converter, converted AVI to mp4

Panzera free audio-video pack:

http://www.pazera-software.com/products/free-audio-video-pack/

Then used ImageBurn ‘write files or folders to a disc’ and add files or folders and set a volume name

here’s how to make cheap cd or bigger gifts for people, and you could be able to put other data files besides mp4 to read on a pc

CD/DVD Envelope

Make CD envelope with piece of paper

http://www.wikihow.com/Make-a-CD-Sleeve-from-Paper

Example of cheap $12 for 100 CDs

http://www.ebay.com/sch/i.html?_trksid=p2050601.m570.l1313&_nkw=blank+CD+&_sacat=0&_from=R40

Categories: Uncategorized

Fast Screen Reading and Font, BackgroundColor, Margins

June 25, 2014 Leave a comment

Edited: 7/3/14

What font and background color is best for reading from a computer screen?  I was told Verdana in a computer class.

For background color I like the yellowish color called Sepia RGB(251,240,217) that Kindle for PC uses.  I used software to get the RGB values…  Here is a forum topic discussing it: http://www.mobileread.com/forums/showthread.php?t=123317

Formats for old books that can be easier to read for portable devices if PDF doesn’t work are: mobi, epub, text, and Kindle

Adobe Reader BGColor/Accessibility:  In Adobe Reader GoTo:  Edit, Preferences, click Accessibility on left; you can change the bg color.  You can also choose to configure accessibility options such as screen reader support.

Squirt  – fast screen reading of books/text; 400-1000 wpm

There is a bookmarklet that enables you to read words (text) in a browser faster, you can read on average 400 words per minute, and supposedly up to 1000 words per minute

Homepage: Squirt.io

A similiar smartphone App is called: Spritz

 

original reference:  http://www.geek.com/apps/squirt-lets-you-read-the-web-at-over-a-1000-words-per-minute-1597665/

Some Monitor settings for Windows PCs

Monitors ClearType Tuner for windows – you can also adjust these settings to make fonts more clear.

 

Adjusting Refresh Rate:

If you are using windows, go to Control panel,Display, Click on settings tab,Advanced,Monitor, make sure that “Hide modes that this monitor cannot display” is checked and then select your Screen refresh rate who fits your needs.

 

Categories: book, Uncategorized Tags: ,

thoughts Virtual Globe, Google Earth

Wip

Was looking for alternatives to google earth that gives user more freedom with maps

Marble is more like a virtual globe, and I think would be helpful to learn geography and has access to old maps and works on smartphones.

http://marble.kde.org

Softpedia link for World Wind: http://www.softpedia.com/get/Others/Home-Education/World-Wind.shtml

——————–

Installing, Configuring, and using World Wind Java; didn’t work

Part one Downloading and installing some files

1. create WORLDWIND_JAVA folder to put files in

2. Download and install the latest Java Runtime Engine and uncheck to install Macafee if you want

3. Downloaded World Wind daily zip

4. Extract the zip file to a folder

4. after looking at readme text files: Locate and run WorldWind.jar in the folder, a jogl file [example jogl*.jar](I assume Java openGL library), I put jogl-all-natives-windows-i586.jar

5. If it doesn’t open go to open with and go to: C:\Program Files\Oracle\JavaFX 2.1 Runtime\bin\

and click javaws.exe

This is for Java web start launcher

I couldn’t get it going because of Java Issues…

——————–

I did get the 1.4 windows version to load up, and couldn’t use it very well, it was from 2007, it requires Microsoft dot Net but not Java

Reference:

Earthbrowser desktop – from 2007, but mobile might be ok

SASGIS was in russian

Resources:

Looked at alternatives to google earth http://alternativeto.net/software/google-earth/

Earth Explorer doftware on Softpedia: http://www.softpedia.com/hubs/Earth-Explorer

‘Professional Review of 1.3.5′: http://www.softpedia.com/reviews/windows/World-Wind-Review-24337.shtml (May 22, 2006)

Home Planet: Old/2006

Categories: Uncategorized

Options for playback Adobe Flash and Google’s Youtube

This post is primarily for Firefox on Windows but some of the settings such as using Greasemonkey+ the Youtube HD Lite Revived script may work on Linux also.

ADOBE FLASH SETTINGS

First adobe flash has some settings in the control panel.  Some settings you may want to configure for privacy reasons or if they annoy you include:

Local Storage for specific websites – ask,yes, no…

Microphone and Camera usage

Peer to peer networking

YOUTUBE STREAMING CONTROL

For Firefox Greasemonkey addon with the user script Youtube HD Lite Revived can be used to control youtube streaming.  Here are some Modifiable setting with it as of 2013/11/1

// CONFIGURABLE OPTIONS (see http://userscripts.org/scripts/show/124528 for more info)
var use1080p = false,
use720p = false,
wideVideo = true,
wideSize = “medium”,
hideAnnotations = false,
scrollToVideo = true,
autoPlay = false,
autoPlayChan = false,
skipAds = false,
hideControls = true;

You might want to configure it for lower quality if video takes awhile to buffer on the site.

other options for better streaming are available as well

Categories: Uncategorized

DIY Movie/Media Projector – $5-70

April 4, 2014 Leave a comment

Option 1  $5 for a 50 inch

From the KingofRandom:

Easy Laptop/Ipad MOD

 

Option 2:

You can also use crt monitors/tvs, watch tv on a big screen.  Then you wouldn’t have to pay for expensive bulbs. (WIP)

Lumen 15 inch projector plans.  Now Free PDF, direct download and torrent:

Forum link:  http://lumenlab.com/forums/index.php?showtopic=8972

Homepage for Luman Labs; http://lumenlab.com

Ideas from the web:

http://www.instructables.com/id/homemade-projector-cornflake-box/step1/what-you-will-need/

Another: http://www.instructables.com/id/How-to-make-a-small-Diy-LED-Projector/

DIY Projector screen:
http://www.youtube.com/watch?v=bHFis3j6O0w

Smartphone Projects: http://www.instructables.com/id/How-to-make-a-projector-for-your-iPodiPhone-for-a/

http://www.curbly.com/users/craftmel/posts/14444-how-to-make-a-diy-image-projector-using-a-light-bulb-and-a-cardboard-box

 

Research on 2006/12 DIY 150inch projector TV: http://www.practical-home-theater-guide.com/DIY-projection-tv.html

cheaper $160 Med. res. hdmi in: Advanced Fugetek HD Port ready LCD Projector, 1080

4k technology cheapening the market, Update: 7/24/14 Active Matrix Organic LED available for smart phones.

Categories: Uncategorized Tags: , ,
Follow

Get every new post delivered to your Inbox.