FaceDetection Example

Discussions about the AI-deck
Post Reply
BadWoman
Member
Posts: 33
Joined: Thu Jan 07, 2021 8:12 pm

FaceDetection Example

Post by BadWoman »

Hi, are we able to run the face detection example on the Bitcraze VM work environment? If so, how should I do it?
BadWoman
Member
Posts: 33
Joined: Thu Jan 07, 2021 8:12 pm

Re: FaceDetection Example

Post by BadWoman »

So currently I followed the Docker Gap8 instruction thoroughly and got to this part of the FaceDetection. I don't understand how can I use the viewer.py to see the image streaming.
Image
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: FaceDetection Example

Post by kimberly »

Hi! please see these instructions. https://www.bitcraze.io/documentation/r ... detection/

In the make file you need to uncomment the two defines as indicated at the bottom of the instructions. We will need to update the text as both streamer and camera should work in SDK 3.8
BadWoman
Member
Posts: 33
Joined: Thu Jan 07, 2021 8:12 pm

Re: FaceDetection Example

Post by BadWoman »

It works now! However, the stream image is upside down somehow. Is there a way to fix that?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: FaceDetection Example

Post by kimberly »

Awesome!

yeah the upside down image was an issue but that should actually be fixed now since this issue: https://github.com/bitcraze/AIdeck_examples/issues/51

are you sure that you have pulled the latest changes of the AIdeck_examples repo?
BadWoman
Member
Posts: 33
Joined: Thu Jan 07, 2021 8:12 pm

Re: FaceDetection Example

Post by BadWoman »

I might not have done that yet. How should I pull the latest AIdeck_examples again?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: FaceDetection Example

Post by kimberly »

Probably a 'git pull origin master' will suffice. But if you did a lot of changes to the code already, you can also just try a new git clone of the repo
Post Reply