View Single Post
  #2   Spotlight this post!  
Unread Today, 11:11
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 420
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Opencv Imwrite and Copy

Quote:
Originally Posted by Steve Warner View Post
Does anyone know how to save a Mat image as a .jpg file in C++? We have tried imwrite but cannot get Eclipse to recognize the function.

Also is there a way to copy one Mat image to another?
Thanks
Sometimes eclipse gives you fake errors in C++. Try putting in an imwrite (make sure to #include the opencv header) and actually build it, ignoring eclipse's instant feedback. Does g++ give you errors?
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote