OpenCV  NemtyrevAI.     ,    +   
 NemtyrevAI


    .              .         ,   ,          (HOG).         ,    ,   R-CNN, Fast R-CNN, Faster R-CNN  YOLO.          ,     ,      .           ,    , ,  ,    .        AI MEDIC   .





NemtyrevAI

"OpenCV  NemtyrevAI"     ,    +   





:1





    "    : ,   ".              ,       .

     ,      ,   , ,   .          ,               .

           ,       .          Python,            .

  ,   ,      .  ,        ,            .

 ,       .         ,     . -              .

,         ,        .







            .      ,       .           Python,            .   ,   ,      .



   



 1:       



*       

*     ,   

*        

*         



 2:    



*     ,    ,     (HOG)     (DPM)

*   ,         

*     Python    



 3:    



*     ,       

*     ,    ,   R-CNN, Fast R-CNN, Faster R-CNN  YOLO

*     Python    



 4:    



*       ,    ,      

*           

*     Python    



 5:      



*         ,   , ,  ,    

*    ,        



 6:   AI MEDIC



*   



 7   



*   ,   

*              

*       













  (Computer Vision)     ,             .       , , ,    .      ,       .          ,               .



       .         1950-  1960- .              .



 1966      ,       .  1970-            .



 1980-                 .         ,    .



 1990-      ,        .            .



 2000-      ,      .      ,   ,    .



               .       ,  ,       .     ,    ,  ,     .



     :



* 1959        

* 1966     

* 1970-         

* 1980-       

* 1990-     ,        

* 2000-     ,    

* 2010-         ,  ,  ,     .



          ,   , ,  ,    . ,            ,     .            .               .



         ,    ,   ,   ,    .         ,    ,        .



    .              .         ,   ,          (HOG).         ,    ,   R-CNN, Fast R-CNN, Faster R-CNN  YOLO.          ,     ,      .           ,    , ,  ,    .          .



 ,                     .   ,             .



                 .     ,   ,      ,    .         ,             .








 2









    



         :  ,     (HOG)     (DPM).



 



          2001      .               .



    ,           ,       .          ,            .



     ,    .       1910          .         ,          .



       ,       .      ,   ,    ,   .








 2.1:          



      ,          ,   ,   ..



    (HOG)



    (HOG)         2005 .          .



 HOG    :



1.       .



2.            .



3.            .



4.       .





 2.2:















            .         (SVM),        .



 HOG     ,     ,             .



   (DPM)     ,     ,  ,       2010 .      ,       .



 DPM    ,   ,     .         ,           .           ,     .



 DPM           ,      (HOG)     (CNN).      ,   .           ,   ,    .



          .     ,         .   ,     .             ,         .



           .           .      ,      .              .                  .



 DPM           ,    PASCAL VOC  ILSVRC.       ,    ,   .




 ,   DPM       :



import cv2

import numpy as np

from sklearn.externals import joblib



# Load the trained DPM model

model = joblib.load('dpm_model.pkl')



# Load the input image

img = cv2.imread('input.jpg')



# Convert the image to grayscale

gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)



# Detect objects in the image using the DPM algorithm

rects = model.detect(gray, threshold=0.5)



# Draw the bounding boxes around the detected objects

for rect in rects:

x, y, w, h = rect

cv2.rectangle(img, (x, y), (x+w, y+h), (0, 255, 0), 2)



# Display the output image

cv2.imshow('Output', img)

cv2.waitKey(0)

cv2.destroyAllWindows()



        DPM  .          .     ()            .      ()   OpenCV. ,        imshow()   OpenCV.



 ,      ()   ,   ,     .   ,            .



 ,  DPM        .          ,                .   .





      ,       .         ,        .



         (Latent SVM),        .      ,        .










2.3:    





       ,     ,          objects   .



 ,         



      ,         .



 1:  



          ,      .



 2:  



       ,                .



 3:    



              ,   .




  .


   .

   ,     (https://www.litres.ru/book/nemtyrevai/opencv-ot-nemtyrevai-obnaruzhenie-obektov-v-komputernom-zrenii-70617445/)  .

      Visa, MasterCard, Maestro,    ,   ,     ,  PayPal, WebMoney, ., QIWI ,       .


