Using Kinect and a Webcam
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- computer-vision, stream-processing
Research direction
Start by reading the MediaCapture entry point and comparing it with the AzureKinectSensor setup shown in the issue. Determine how the intended webcam is selected when both devices are present; done means documenting or exposing a reliable way to choose the webcam separately from the Kinect.
Written by the indexing model from the issue text.
Description
Hi!
I am planning to use a Kinect camera and a webcam to gather data.
To gather data from Kinect I have tried and I know that this works:
// Kinect Camera 1
var cam = new AzureKinectSensor(p, new AzureKinectSensorConfiguration()
{
DeviceIndex = 0,
OutputColor = true,
CameraFPS = FPS.FPS30,
//WiredSyncMode = WiredSyncMode.Master,
PowerlineFrequency = AzureKinectSensorConfiguration.PowerlineFrequencyTypes.SixtyHz,
ExposureTime = TimeSpan.FromTicks(80000),
ColorResolution = ColorResolution.R720p
});
var imageStream = cam.ColorImage.EncodeJpeg(75, DeliveryPolicy.LatestMessage);
imageStream.Write("Image1", store);
var decodedImageStream = imageStream.Decode();
However I am not certain at all how to gather the information from the webcam. Should be this way?
var webcam = new Microsoft.Psi.Media.MediaCapture(pipeline, 1920, 1080, 30);
How do I know that this will take data from the Webcam and not from the Kinect camera? is there any way to specify the name of the camera you want to gather the data from?
Thank you in advance.
- Dominant language
- C#
- Stars
- 574
- Forks
- 104
- Avg merge
- 19m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/psi
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 42/100
-
feature request help wanted
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
help wanted
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·