GithubHelp home page GithubHelp logo

anthonybsong / blossomnav Goto Github PK

View Code? Open in Web Editor NEW

This project forked from interaction-lab/blossomnav

1.0 0.0 0.0 309.58 MB

License: MIT License

Python 50.81% Jupyter Notebook 48.89% JavaScript 0.30%

blossomnav's Introduction

BlossomNav

Requirements

Software

  • NodeJS and NPM Installed
  • MiniConda Installed
  • Python Installed

Hardware

  • Raspberry Pi Zero 2
  • Raspberry Pi Camera Rev 1.3

Installation and Configuration

Clone the repository and its submodules (ZoeDepth):

git clone --recurse-submodules https://github.com/interaction-lab/BlossomNav.git

Install the dependencies from conda:

conda env create -n blossomnav --file environment.yml
conda activate mononav

Tested On: (release / driver / GPU)
Ubuntu 22.04 / NVIDIA 535 / RTX 3060

Running the Code

Upload MP4:

If you want to use BlossomNav on a video (.mp4) on your local computer, you can run the following code.

cd utils
python split.py video_file_path image_dir 10
cd .. // go back to the parent directory

The video_file_path is the path to your video, and the image_dir is the directory in which you want the images to be saved.

Using the Raspberry Pi Zero 2:

If you have set up the Raspberry Pi Zero 2, you can also use our app to record videos in BlossomNav.

python app.py

Below is an image of the app's user interface. You can press Start to start recording and stop when you want to by pressing the stop button. After hitting stop, you will get the following pop-up screen. We recommend saving the mp4 into the data folder and following the steps from Upload MP4.

User Interface Save Screen
Alt text Alt text

blossomnav's People

Contributors

anthonybsong avatar

Stargazers

 avatar

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.