Regarding opendetection idealist:Python binding

49 views
Skip to first unread message

b11...@iiit-bh.ac.in

unread,
Mar 21, 2017, 2:47:25 AM3/21/17
to opendetection

Hello Sir,

 I am a technical content writer on geeksforgeeks.org a computer science portal. I have a good idea of OpenCV. I have done project on 'Monitoring vehicle detection and tracking in video surveillance' implemented Haar features method in Python. I have contribution in converting existing C++ codes to Python codes on gfg. I would like to contribute on your project. Please suggest regarding this.  

Marco Antonio

unread,
Mar 21, 2017, 3:22:39 AM3/21/17
to b11...@iiit-bh.ac.in, opendetection
Hello,

You can start by installing the library and running the examples and see what you get. Got any specific part of the library where you want to contribute? We are always looking to expand the amount of algorithms we can offer through our simplified interface.

Thanks,

Marco.

On Tue, Mar 21, 2017 at 2:47 PM, <b11...@iiit-bh.ac.in> wrote:

Hello Sir,

 I am a technical content writer on geeksforgeeks.org a computer science portal. I have a good idea of OpenCV. I have done project on 'Monitoring vehicle detection and tracking in video surveillance' implemented Haar features method in Python. I have contribution in converting existing C++ codes to Python codes on gfg. I would like to contribute on your project. Please suggest regarding this.  

--
You received this message because you are subscribed to the Google Groups "opendetection" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendetection+unsubscribe@googlegroups.com.
To post to this group, send email to opende...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opendetection/650e010e-f65c-4d50-b491-bd1f36f455b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

b11...@iiit-bh.ac.in

unread,
Mar 30, 2017, 11:27:11 AM3/30/17
to opendetection
Sir,
 I have attached the link below to share my draft with you. Please evaluate and give feedback as well.

https://docs.google.com/document/d/1h44Fd-qenX_dRFxnVAgbk8E7Fz5oPHmCrMs1siNwoKo/edit#heading=h.g3l627albt8


On Tuesday, March 21, 2017 at 12:52:39 PM UTC+5:30, Marco Antonio wrote:
Hello,

You can start by installing the library and running the examples and see what you get. Got any specific part of the library where you want to contribute? We are always looking to expand the amount of algorithms we can offer through our simplified interface.

Thanks,

Marco.
On Tue, Mar 21, 2017 at 2:47 PM, <b11...@iiit-bh.ac.in> wrote:

Hello Sir,

 I am a technical content writer on geeksforgeeks.org a computer science portal. I have a good idea of OpenCV. I have done project on 'Monitoring vehicle detection and tracking in video surveillance' implemented Haar features method in Python. I have contribution in converting existing C++ codes to Python codes on gfg. I would like to contribute on your project. Please suggest regarding this.  

--
You received this message because you are subscribed to the Google Groups "opendetection" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendetectio...@googlegroups.com.

b11...@iiit-bh.ac.in

unread,
Mar 30, 2017, 11:29:38 AM3/30/17
to opendetection
Here, I give an example below in python. Please have a look.

# Example code of objectdetector/od_image_facerecog.cpp in python
import od
import cv2

# detector as object
objdet = od.g2d.ODFaceRecognizer

objdet.setTrainingInputLocation(training_input_csv))
objdet.setTrainingDataLocation(trained_xml))
objdet.setRecogtype(objdet.OD_FACE_FISCHER)
objdet.initTrainer()
objdet.train()
objdet.initDetector()

# GUI
cv.namedWindow("Overlay", cv.WINDOW_NORMAL)
  while(od.ODframeGenerator.isValid() && cv.waitKey(2000) != 27):
 
    od.ODSceneImage(scene) = od.ODframeGenerator.getNextFrame()
    # Detect
    od.ODDetections(detections) =  objdet.detect(scene)
    detections[0].printSelf()
    cv.imshow("Overlay", od.ODSceneImage(scene).getCVImage());
    del scene

  return 0;
Reply all
Reply to author
Forward
0 new messages