S
S
SingularityNRN2019-01-30 12:03:52
C++ / C#
SingularityNRN, 2019-01-30 12:03:52

C++ or C# within an OpenCV project?

The task is to write an application program in WinForms that performs access control using the OpenCV library for the thesis, that is, there is a certain interface that will display information about a person by an identifiable person, information about a person is stored in the database. In the process of learning, I wrote simple programs in Java, C, C #. In C and C#, I have an idea how to work with libraries (in particular, with MySql), but I have absolutely no experience in writing in C ++. Therefore, the choice was to write a program in C # using the OpenCVSharp wrapper or use native C ++ with native OpenCV and learn the basics of pluses in the process. Actually the questions themselves:
1. Regardless of the experience, the choice of which tools is more optimal for solving the task.
2. If C# and OpenCVSharp are chosen - how to justify your choice (I think if you say that I chose the platform with which I am familiar, it would somehow be incorrect)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2019-01-30
@SingularityNRN

In C ++ it will work faster (if written correctly).
C# will be easier to write and faster to write.
For such a task, I would choose a bundle in C #:
1) sqllite or mssql express as a database. Sqllite if all data is stored locally.
2) To work with the database in c # there is an entity framework
3) I would choose EmguCv as a computer vision library. (Almost the same as OpenCVSharp, but the documentation is better, it is better supported and there is more information in general)
4) Well, you can use winforms as an interface, although I would write in wpf . You
can justify this choice by reducing development time.
Regarding question 1: If this were a real project, then most likely the image processing part would be written in c ++, and the interface in c # + wpf or using some kind of react frame work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question