Skip to content

A night-vision smart camera that detects eye movements during REM sleep and triggers audio and visual alerts to promote lucidity.

Notifications You must be signed in to change notification settings

lucidcode/Halovision-INSPEC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Halovision-INSPEC

A night-vision smart camera that detects eye movements during REM sleep and triggers audio and visual alerts to promote lucidity.

INSPEC

INSPECs

Works with

Lucid Scribe Android

Lucid Scribe Setting

Lucid Scribe REM sleep at 06:23

Lucid Scribe REM sleep at 07:38

Documentation

Webhook API

Start the webhook API server

cd api
python webhook_server.py

Start the webhook demo

cd api
python webhook_demo.py

Refer to the Interfaces documentation for API endpoints.

Accessories

Firmware build

Install build dependencies

sudo apt-get update
sudo apt-get install git build-essential

Install GNU ARM toolchain

TOOLCHAIN_PATH=${HOME}/cache/gcc
TOOLCHAIN_URL="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz"
mkdir -p ${TOOLCHAIN_PATH}
wget --no-check-certificate -O - ${TOOLCHAIN_URL} | tar --strip-components=1 -Jx -C ${TOOLCHAIN_PATH}
export PATH=${TOOLCHAIN_PATH}/bin:${PATH}

Build the firmware

To build the firmware, run the following commands:

cd firmware
make -j$(nproc) -C src/micropython/mpy-cross
make -j$(nproc) TARGET=OPENMV_INSPEC -C src