Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example scripts have blurry video output #31

Closed
itsderek23 opened this issue Feb 24, 2020 · 4 comments
Closed

Example scripts have blurry video output #31

itsderek23 opened this issue Feb 24, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@itsderek23
Copy link
Contributor

The video output for emotion / landmarks is very blurry and the text overlay is large compared to the video output size:

image

From @yuriilaba-luxonis via Slack:

The image in previewout has the same size as input tensor for neural network (in case of emotion recognition it is 64x64, for landmark recognition it is 48x48).
We use it, because it's cheap (resources) to get it.
So we just rescale previewout to 300x300, that's why image is the blurry. We can reduce text size.

@itsderek23 itsderek23 added the enhancement New feature or request label Feb 24, 2020
@itsderek23
Copy link
Contributor Author

@yuriilaba-luxonis - do you have any ideas on how to adjust the input image so we can provide decent-looking output for a reasonable range of image sizes?

@itsderek23
Copy link
Contributor Author

From a Slack convo w/Yurii:

The one way is to add another stream which will output the video which has same size as input video.
And apply NN results on this video.
There isn't any fast way to improve video, at least I don't see it.

@Luxonis-Brandon
Copy link
Contributor

Just as an update on this, this network is intended to be used after a face detector.

We will be starting soon an a pipeline builder which allows one to build series and parallel pipelines of multiple neural networks.

And with this one will be able to select the face detector of interest, and then run networks like this emotion detector on the outputs of the face detector (and then say show emotion on the detected face bounding box).

And similarly than this could be used w/ other networks which are intended to be run on detected faces, like facial landmarks, face pose estimation, etc.

@Luxonis-Brandon
Copy link
Contributor

This is fixed in #94 (review) and will be merging to master soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants