Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Camera thumbnail? #2

Open
ricardodani opened this issue May 18, 2015 · 3 comments
Open

Camera thumbnail? #2

ricardodani opened this issue May 18, 2015 · 3 comments

Comments

@ricardodani
Copy link

Hi,

I was a little bit confuse about cameras image. {{ camera.image }}.

Where this came from? It has relation with openCV?

I was not able to show my camera`s image. What can I do ?

Thank you

@joshvillbrandt
Copy link
Owner

GoProController utilizes the goprohero library which in turn uses OpenCV to grab a snapshot of the live camera stream over HTTP, assuming the setting to grab snapshots is turned on. GoProController then saves the base64-encoded image to the database along with the current status information of the camera. This GoProControllerUI app grabs the status from the database which includes the image. {{ camera.image }} would then be a reference to the image.

Does that help?

@joshvillbrandt
Copy link
Owner

Could you check the raw json response from GoProController? Is the image field empty or does it contain content?

@ricardodani
Copy link
Author

Hi @joshvillbrandt ,

Thanks for your reply!
Today, at night (now is 3PM here), I will see the detailed json response.
The OpenCV in the GoProController environment is installed, but I forgot to check if these "Grab snapshot setting" is turned on. I will check that and then I return here to tell you my progress...
Anyway, I think that your work with GoProController, GoProControllerUI and goprohero lib is fantastic !!! I wanna help to improve this library in any way. It will be very useful to me!!
Thank yoU!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants