noos::cloud::orb_query Struct Reference
user can provide query image to detect objects More...
#include <vision_detection.hpp>
Public Types | |
| using | callback = std::function< void(std::vector< noos::object::point2d< float >>)> |
Public Types inherited from noos::cloud::cloud_base< std::vector< noos::object::point2d< float > > > | |
| using | data_type = std::vector< noos::object::point2d< float > > |
Public Member Functions | |
| orb_query (noos::object::picture image, const std::string model, const float threshold) | |
| constructor using an image, a model and a threshold More... | |
| orb_query (const std::string model, const float threshold) | |
| constructor without image for using it with vision_batch More... | |
Public Member Functions inherited from noos::cloud::http_request | |
| http_request (const std::string uri) | |
| construct a cloud HTTP request (multipart/form-data) | |
| http_request (const std::string uri, bool keep_alive) | |
| construct a cloud HTTP request (multipart/form-data) with keep_alive param | |
| http_request (const http_request &arg) | |
| copy constructor | |
| void | fill_buffer (boost::asio::streambuf &buffer, noos::cloud::platform info) |
| fill the socket streambuf with the request header and post data More... | |
| template<typename... Args> | |
| void | add_content (Args...args) |
| add multiple content to the post with HTTP Protocol | |
| void | close () |
| close this request properly More... | |
| std::string | to_string (noos::cloud::platform info) const |
| translate noos::cloud::platform parameters into a string with HTTP Protocol format | |
| std::string | to_post () const |
| translate post data into a string with HTTP Protocol format | |
| bool | operator== (const http_request &rhs) const |
| compare if two http_request are equal | |
| void | make_multipart_form () |
| make this a multipart-form, by creating the correct header fields, boundaries and multipart entries | |
Public Member Functions inherited from noos::cloud::cloud_base< std::vector< noos::object::point2d< float > > > | |
| cloud_base (bool single_call) | |
| Constructor. More... | |
| bool | is_single_callable () const |
| std::string | make_http_uri (std::string uri) const |
Static Public Attributes | |
| static const std::string | uri |
Additional Inherited Members | |
Public Attributes inherited from noos::cloud::vision_base | |
| std::string | json |
Detailed Description
user can provide query image to detect objects
- Version
- 0.8.0
- Note
- data type passed back is an
std::vector<noos::object::point2d<float>>
Inheritance diagram for noos::cloud::orb_query:

Collaboration diagram for noos::cloud::orb_query:

Constructor & Destructor Documentation
| noos::cloud::orb_query::orb_query | ( | noos::object::picture | image, |
| const std::string | model, | ||
| const float | threshold | ||
| ) |
constructor using an image, a model and a threshold
- Parameters
-
image will be used to find objects model is the filename of the model which is going to be loaded threshold is the minimum distance between keypoints
| noos::cloud::orb_query::orb_query | ( | const std::string | model, |
| const float | threshold | ||
| ) |
constructor without image for using it with vision_batch
- Parameters
-
model is the filename of the model threshold is teh minimun distance between keypoints
The documentation for this struct was generated from the following file:
- noos/cloud/vision_detection.hpp

Public Types inherited from