Skip to content

Commit

Permalink
example in receiver with ip configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bardo91 committed Feb 3, 2019
1 parent 5cb1820 commit fd3c155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/receiver_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
#include <iostream>
#include <chrono>

int main(){
int main(int _argc, char**_argv){

fastcom::ImageSubscriber subscriber(8888);
fastcom::ImageSubscriber subscriber(_argv[1], 8888);

std::function<void(cv::Mat &)> callback = [&](cv::Mat &_data){
cv::imshow("display", _data);
Expand Down

0 comments on commit fd3c155

Please sign in to comment.