►
From YouTube: Blink Detection [DEMO #3] (2015 Spring NuPIC Hackathon)
Description
Using NuPIC to detect blinks in Muse data.
http://nupic2015spring.challengepost.com/submissions/37834-blink-detection
A
A
So
the
way
in
EG
device
works
is
that
it
detects
your
brain
signal
as
long
as
you're
not
moving,
and
if
you
move
like
blink
your
eyes
or
something
that
muscle
movement
overwhelms
the
brain
signal,
and
so
you
can
easily
pick
it
out
with
your
eyes.
So
we
thought
this
would
be
a
pretty
easy
test
for
an
HTM
we're
just
trying
to
get
up
to
speed
on
HTM
and
how
it
works
and
how
to
program
with
it.
A
So
Muse
data
is
an
EEG
device
is
also
basically
a
voltmeter.
So
it's
like
just
a
wave
of
data.
There's
four
channels
in
this
we
decided
to
try
to
use
a
single
channel,
which
was
the
left
ear,
to
try
to
be
able
to
check
blinks.
So,
first
of
all
give
you
idea
of
what
the
typical
data
looks
like.
The
blue
line
here
would
be
your
EG
and
then
the
red
line
is
our
own
algorithm
that
we
use
to
detect
blinks.
A
Ok
and
then
so
we
don't
really
have
much
to
show
except.
Oh
it's
done.
Ok,
so
we
were
try.
The
biggest
problem
we
had
was
to
try
to
get
the
data
small
enough
so
that
we
could
actually
process
the
data
in
time
to
do
something
useful.
So
we
kept
shrinking
down
the
input
data
because
miu
samples
at
220
hertz
per
second,
and
so
we
we
downsampled
to
average
over
10
samples
and
our
this
is
on
the
on
the
left
side.
Is
the
HTM
predicting
whether
you
blinked
and
on
the
right
side,
is
our
existing
algorithm?
A
Oh,
it's
vice
versa.
Okay,
reverse
what
I
just
said.
So
this
is
HTM.
This
is
our
existing
algorithm,
so
it
seems
to
be
doing
pretty.
Well,
it's
only
miss
predicting
occasionally
this
is
so.
This
is
so
here
we
have
some
mispredictions,
but
most
the
time
it
seems
to
be
working
pretty
well
yeah.
So
that's
what
we
got
do
you
want
to
have
anything
yeah.
Any
questions,
yeah
well,
good,.
C
B
C
D
That
you,
you
were
saying
in
this
case
you
say:
oh,
we
missed
a
couple,
it's
a
couple,
but
a
single.
A
A
C
D
E
A
Okay,
so
yeah
we
talked
about
yeah
internally,
we
talked
about
whether
to
use
prediction
or
anomaly
detection
or
what,
since
it's
a
binary
value
like
you,
blanked
or
didn't
blink,
it
kind
of
can
fit
into
prediction
because
you
base
it
on
the
EEG
data
and
you
predict
basically
because
we
had
a
way
to
classify
the
links
already
it
didn't
have
to.
We.