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

What files have you modified relative to the original darknet ? help #5

Open
clemente0731 opened this issue Jun 2, 2019 · 6 comments

Comments

@clemente0731
Copy link

What files have you modified relative to the original darknet ? I noticed that image.c is modified.. I want to find out how you work this

@SmitSheth
Copy link
Owner

@clemente620 Yes, only image.c is modified, that is where the whole logic of people counting is located

@clemente0731
Copy link
Author

what does image_opencv.cpp use for ?

@clemente0731
Copy link
Author

there is a error that can not make

In file included from ./src/image.c:25:0:
/usr/local/include/opencv2/core/types_c.h: In function ‘cvIplImage’:
/usr/local/include/opencv2/core/types_c.h:370:12: error: incompatible types when returning type ‘int’ but ‘IplImage {aka struct _IplImage}’ was expected
return _IplImage();
^
compilation terminated due to -Wfatal-errors.
Makefile:90: recipe for target 'obj/image.o' failed
make: *** [obj/image.o] Error 1

@SmitSheth
Copy link
Owner

what does image_opencv.cpp use for ?

@clemente620 It is used for performing opencv related operations like showing, loading an image, getting frames for video,etc

@SmitSheth
Copy link
Owner

there is a error that can not make

In file included from ./src/image.c:25:0:
/usr/local/include/opencv2/core/types_c.h: In function ‘cvIplImage’:
/usr/local/include/opencv2/core/types_c.h:370:12: error: incompatible types when returning type ‘int’ but ‘IplImage {aka struct _IplImage}’ was expected
return _IplImage();
^
compilation terminated due to -Wfatal-errors.
Makefile:90: recipe for target 'obj/image.o' failed
make: *** [obj/image.o] Error 1

@clemente620 Can you share the complete error log

@renguoyin123
Copy link

renguoyin123 commented Aug 24, 2019

Hi,guy. There seems to be an error in " {} " of the code which you added codes in image.C. Would you please check again?@SmitSheth

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

No branches or pull requests

3 participants