Comments (2)
Apologies, the model is not under the in the "nn_models" folder. Try doing this:
import blobconverter
MIN_THRESHOLD = 15. # Degrees in yaw/pitch/roll to be considered as head movement
with OakCamera() as oak:
color = oak.create_camera('color')
det_nn = oak.create_nn('face-detection-retail-0004', color)
# Passthrough is enabled for debugging purposes
# AspectRatioResizeMode has to be CROP for 2-stage pipelines at the moment
det_nn.config_nn(resize_mode='crop')
second_blob = blobconverter.from_zoo(name="head-pose-estimation-adas-0001", shaves=6)
headpose = oak.create_nn(second_blob, input=det_nn)
from depthai-experiments.
Apologies, the model is not under the in the "nn_models" folder. Try doing this:
import blobconverter MIN_THRESHOLD = 15. # Degrees in yaw/pitch/roll to be considered as head movement with OakCamera() as oak: color = oak.create_camera('color') det_nn = oak.create_nn('face-detection-retail-0004', color) # Passthrough is enabled for debugging purposes # AspectRatioResizeMode has to be CROP for 2-stage pipelines at the moment det_nn.config_nn(resize_mode='crop') second_blob = blobconverter.from_zoo(name="head-pose-estimation-adas-0001", shaves=6) headpose = oak.create_nn(second_blob, input=det_nn)
Thank you!!
from depthai-experiments.
Related Issues (20)
- Running YOLOv8 model on OAK D Pro Wide camera. I keep getting a not enough memory error. HOT 2
- OAK-D-SR Camera save color image and depth image by record.py HOT 3
- [gen2-yolo/device-decoding] Visualization doesn't show camera footage or detections HOT 2
- To add mesh generation for gen2-pointcloud and Multiple camera HOT 2
- How to visualize when I record data with gen2-record-replay?
- Why pylance is complaining about NNData(), node, and ImageManipConfig() call in script.py from gen2-gaze-estimation project?(Solved) HOT 2
- Head posture estimation module HOT 2
- segmentation with yolov5
- How to load external video or webcam feed and process it on device side HOT 1
- New recommendations on head pose estimation model. HOT 1
- Support for YOLOP HOT 2
- Depth information in deep learning model HOT 3
- Camera extrinsic parameter HOT 1
- Issue with installing requirements for RTSP streaming HOT 1
- Deploy yolov8 on OAK-D HOT 6
- Challenges Installing PyGObject for OKA Camera RTSP Streaming HOT 1
- Can we specify the layers you are interested in for a custom nn ? HOT 8
- Yolo v8 on OAK-D camera HOT 1
- gen2-pedestrian-reidentification freezes while person is detected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from depthai-experiments.