Find Jobs
Hire Freelancers

bug fixing for a program which uses OpenCV library

$30-5000 USD

已取消
已发布将近 20 年前

$30-5000 USD

货到付款
I am using cvStartReadChainPoints() to read the contour points in function sSign::shape_signature(const char *filename). I have encountered 2 weird bug of it. If I comment out the lines of cvStartReadChainPoints((CvChain *)contour, reader); and cvReadChainPoint(reader); The weird problems disapear. 1. If I call the function sSign::shape_signature(const char *filename) which contains lines of cvStartReadChainPoints() from main(); it works fine. If I call it from main(), enter anotherFunction(), then call sSign::shape_signature(const char *filename). What I get on consle is a bunch of something look like this - "20349: binding file /usr/lib/libstdc++.so.6 to /usr/lib/libstdc++.so.6: normal symbol `_ZNSt13basic_ostreamIwSt11char_traitsIwEE5flushEv' [GLIBCXX_3.4] Segmentation fault" That means, I can only use cvStartReadChainPoints() in the function which is no more than 2 layers of function calls. 2. I have changed my code, sSign::shape_signature(const char *filename) remains the same. I call this function in main() as follows: main(int argc, char* argv[]) { shapeSign.shape_signature(argv[2]); cout<<argv[3]<<endl; shapeSign2.shape_signature(argv[3]); } This is the most weird thing I have ever met. cout<<argv[3]<<endl; prints nothing on my console. That means the memory was tempered while calling cvStartReadChainPoints(). I need someone helps me workaround this problem. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. ## Platform I am coding it on Linux with GCC and Anjuta IDE. Actually you may do it on any platform.
项目 ID: 3213095

关于此项目

远程项目
活跃15 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

AUSTRALIA的国旗
Ryde, Australia
0.0
0
会员自5月 15, 2004起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。