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

Compiler error in pmsis_tools_frame_streamer.cpp #274

Open
jonasdn opened this issue Sep 20, 2021 · 0 comments · May be fixed by #275
Open

Compiler error in pmsis_tools_frame_streamer.cpp #274

jonasdn opened this issue Sep 20, 2021 · 0 comments · May be fixed by #275

Comments

@jonasdn
Copy link

jonasdn commented Sep 20, 2021

python/pmsis_tools_frame_streamer.cpp: In member function ‘virtual void Frame_stream::handle_req(Transport_req_t*)’:
python/pmsis_tools_frame_streamer.cpp:264:41: error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope
  264 |       Mat image = imdecode(input_array, CV_LOAD_IMAGE_GRAYSCALE);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~
python/pmsis_tools_frame_streamer.cpp: In function ‘void* frame_stream_get_frame(void*, unsigned char*)’:
python/pmsis_tools_frame_streamer.cpp:364:1: warning: no return statement in function returning non-void [-Wreturn-type]
  364 | }
      | ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant