GithubHelp home page GithubHelp logo

asahichine / depthai-experiments Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luxonis/depthai-experiments

0.0 1.0 0.0 791.93 MB

Experimental projects we've done with DepthAI.

License: MIT License

Python 97.10% Shell 0.13% Dockerfile 0.04% JavaScript 2.11% HTML 0.63%

depthai-experiments's Introduction

depthai_experiments中文文档

depthai-experiments

Experimental projects we've done with DepthAI.

Experiments can be anything from "here's some code and it works sometimes" to "this is almost a tutorial".

The following list isn't exhaustive (as we randomly add experiments and we may forget to update this list):

[Gen2] Gaze estimation (here)

This example demonstrates how to run 3 stage (3-series, 2 parallel) inference on DepthAI using Gen2 Pipeline Builder.

Gaze Example Demo

Origina OpenVINO demo, on which this example was made, is here

[Gen2] Subpixel and LR-Check Disparity Depth (here)

This example shows how to do Subpixel, LR-Check or Extended Disparity, and also how to project these measurements into a point cloud for visualization. This uses the Gen2 Pipeline Builder.

image image

[Gen2] Age Gender (here)

This shows a simple two-stage neural inference example, doing face detection and then age/gender estimation based on the face.

Gen2 Age & Gender recognition

[Gen2] Text Detection + Optical Character Recognition (OCR) Pipeline (here)

This pipeline implements text detection (EAST) followed by optical character recognition of the detected text.

Text Detection + OCR on DepthAI

[Gen2] Pedestrian Reidentification (here)

This example demonstrates how to run 2 stage inference on DepthAI using Gen2 Pipeline Builder to identify and re-identify pedestrians with unique IDs.

Pedestrian Re-Identification

Original OpenVINO demo, on which this example was made, is here.

COVID-19 Mask / No-Mask Detector (here)

This project shows you how to run the COVID-19 mask/no-mask object detector which was trained here

COVID-19 mask-no-mask megaAI

Social Distancing Example (here)

Since DepthAI gives the full 3D position of objects in physical space, it's a couple lines of code to make a social-distancing monitor with DepthAI. So that's what this project is, a quick cut at a social-distancing monitor.

COVID-19 Social Distancing with DepthAI

Demo-UI (here)

Application used to demonstrate various capabilities of the DepthAI platform. Contains examples with descriptions, console outputs and preview windows.

DemoUI

MJPEG and JSON streaming (here)

MJPEG Streaming DepthAI

This lay the groundwork to make DepthAI OpenDataCam compatible.

Stereo Neural Inference Results Visualizer (here)

Because there are often application-specific host-side filtering to be done on the stereo neural inference results, and because these calculations are lightweight (i.e. could be done on an ESP32), we leave the triangulation itself to the host.

Stereo Inference GIF

People Counting (here)

This is a basic usage example of megaAI and/or DepthAI (although it doesn't actually use the depth aspect of DepthAI): simply counting people in a scene and logging this count.

So you could use this to make plots over a day of room occupancy. One could modify this example to show where in a room those people were, over time, if desirable. But for now it just produces a count of people - so the total in view of the camera - over time.

Watch the demo

People Tracker (here)

This application counts how many people went upwards / downwards / leftwards / rightwards in the video stream, allowing you to receive an information about how many people went into a room or went through a corridor.

Watch the demo

Recording and reconstruction of the scene (here)

The record.py app syncs all streams (across all devices) and saves them into mjpeg/h265 files, or, in case of depth, into rosbag that can be viewed by the RealSense Viewer (gif below). Replay class is used to send the frames back to the device, and it allows reconstruction of the depth perception from two (synced) mono frames.

depth gif

Point Cloud Projection (here)

This is a simple application which creates rgbd image from right and depth_raw stream and projects it into point clouds. There is also a interactive point cloud visualizer. (depth_raw with left and rgb will be added soon)

point cloud visualization

RGB-D and PCL (here)

This is a simple application which creates rgbd image from rgb and depth stream and projects it into rgb with depth overlay and point clouds. There is also a interactive point cloud visualizer.

rgbd rgbd-pcl

Host-Side WLS Filter (here)

This gives an example of doing host-side WLS filtering using the rectified_right and depth stream from DepthAI.

Example running on BW1092 shown below: image

Human-Machine safety (here)

Calculates palm spatial coordinates on the host and calculates spatial distance between the palm and a dangerous object. If spatial distance is below selected threshold, it will warn the user.

Watch the demo

Multiple devices per host (here)

This demo shows how you can use multiple devices per host. The demo will find all devices connected to the host and display an RGB preview from each of them.

Multiple devices per host

depthai-experiments's People

Contributors

erol444 avatar vandavv avatar luxonis-brandon avatar alex-luxonis avatar tersekmatija avatar jonngai avatar szabolcsgergely avatar saching13 avatar moj0 avatar dhruvsheth-ai avatar themarpe avatar luxonis-steven avatar harajune avatar rt-luxonis avatar chris-piekarski avatar hello-word-yang avatar dependabot[bot] avatar tannergilbert avatar raudette avatar joashc702 avatar ijunsang avatar raudie avatar 759401524 avatar cabelo avatar wasauce avatar raymondlo84 avatar oguzhanmeteozturk avatar oakchina avatar cafemoloko avatar hsheimbuch avatar

Watchers

James Cloos 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.