Recherche avancée

Médias (91)

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (15077)

  • How to import the CascadeClassifier module from Opencv ?

    22 juillet 2015, par kylel95

    This porgram is to detect faces in the specified image. I have opencv and ffmpeg properly installed. Also, when I check the file path to see if CascadeClassifer was there, indeed it was. I somehow, still received the error :
    AttributeError : ’module’ object has no attribute ’CascadeClassifer’. I was thinking maybe it should not be called using ’cv2.CascadeClassifier’ and maybe something more lengthy. Thank you

    import cv2
    import numpy as np

    face_cascade = cv2.CascadeClassifer('haarcascade_frontalface_default.xml')
    eye_cascade = cv2.CascadeClassifier('haarcascade_eye.xml')

    image = cv2.imread('image.png')
    gray = cv2.cvtColor(image, cv2.COLOR_RGB2GRAY)

    faces = face_cascade.detectMultiScale(gray, 1.3, 5)
    for (x,y,w,h) in faces:
      cv2.rectangle(image,(x,y),(x+w,y+h), (225,0,0),2)
      roi_gray = gray[y:y+h, x:x+w]
      roi_color = image[y:y+h, x:x+w]
      eyes = eye_cascade.detectMultiScale(roi_gray)
      for (ex,ey,ew,eh) in eyes:
          cv2.rectangle(roi_color,(ex,ey),(ex+ew,ey+eh),(0,255,0),2)

    cv2.imshow('Imgae', image)
    cv2.waitKey(0)
    cv2.destroyAllWindows()
  • avcodec : Implementation of AAC_fixed_decoder (PS-module)

    20 juillet 2015, par Djordje Pesut
    avcodec : Implementation of AAC_fixed_decoder (PS-module)
    

    Add fixed point implementation.

    Signed-off-by : Nedeljko Babic <nedeljko.babic@imgtec.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/Makefile
    • [DH] libavcodec/aac_defines.h
    • [DH] libavcodec/aacps.c
    • [DH] libavcodec/aacps.h
    • [DH] libavcodec/aacps_fixed.c
    • [DH] libavcodec/aacps_fixed_tablegen.h
    • [DH] libavcodec/aacps_float.c
    • [DH] libavcodec/aacpsdata.c
    • [DH] libavcodec/aacpsdsp.c
    • [DH] libavcodec/aacpsdsp.h
    • [DH] libavcodec/aacpsdsp_fixed.c
    • [DH] libavcodec/aacpsdsp_float.c
    • [DH] libavcodec/aacpsdsp_template.c
    • [DH] libavcodec/aacsbr_template.c
  • Revision e8b133c79c : Factor inverse transform functions into vpx_dsp This commit moves the module in

    31 juillet 2015, par Jingning Han

    Changed Paths :
     Modify /test/idct8x8_test.cc


     Delete /vp9/common/arm/neon/vp9_idct16x16_1_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct16x16_1_add_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_idct16x16_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct16x16_add_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_idct16x16_neon.c


     Delete /vp9/common/arm/neon/vp9_idct32x32_1_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct32x32_1_add_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_idct32x32_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct32x32_add_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_idct4x4_1_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct4x4_1_add_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_idct4x4_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct4x4_add_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_idct8x8_1_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct8x8_1_add_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_idct8x8_add_neon.c


     Delete /vp9/common/arm/neon/vp9_idct8x8_add_neon_asm.asm


     Modify /vp9/common/vp9_idct.c


     Modify /vp9/common/vp9_idct.h


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/common/x86/vp9_idct_intrin_sse2.c


     Delete /vp9/common/x86/vp9_idct_intrin_sse2.h


     Delete /vp9/common/x86/vp9_idct_sse2.asm


     Delete /vp9/common/x86/vp9_idct_ssse3_x86_64.asm


     Modify /vp9/encoder/x86/vp9_dct_ssse3.c


     Modify /vp9/vp9_common.mk


     Add /vpx_dsp/arm/idct16x16_1_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct16x16_1_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct16x16_1_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct16x16_1_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct16x16_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct16x16_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct16x16_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct16x16_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct16x16_neon.c
    (from /vp9/common/arm/neon/vp9_idct16x16_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct32x32_1_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct32x32_1_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct32x32_1_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct32x32_1_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct32x32_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct32x32_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct32x32_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct32x32_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct4x4_1_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct4x4_1_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct4x4_1_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct4x4_1_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct4x4_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct4x4_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct4x4_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct4x4_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct8x8_1_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct8x8_1_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct8x8_1_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct8x8_1_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct8x8_add_neon.asm
    (from /vp9/common/arm/neon/vp9_idct8x8_add_neon_asm.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/arm/idct8x8_add_neon.c
    (from /vp9/common/arm/neon/vp9_idct8x8_add_neon.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/inv_txfm.c
    (from /vp9/common/vp9_idct.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/inv_txfm.h


     Modify /vpx_dsp/vpx_dsp.mk


     Modify /vpx_dsp/vpx_dsp_rtcd_defs.pl


     Add /vpx_dsp/x86/inv_txfm_sse2.asm
    (from /vp9/common/x86/vp9_idct_sse2.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/x86/inv_txfm_sse2.c
    (from /vp9/common/x86/vp9_idct_intrin_sse2.c
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/x86/inv_txfm_sse2.h
    (from /vp9/common/x86/vp9_idct_intrin_sse2.h
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)
     Add /vpx_dsp/x86/inv_txfm_ssse3_x86_64.asm
    (from /vp9/common/x86/vp9_idct_ssse3_x86_64.asm
    :7f8dd35329fcec4f32eba6f56ada69224e30f238)

    Factor inverse transform functions into vpx_dsp

    This commit moves the module inverse transform functions from vp9
    to vpx_dsp folder. The hybrid transform wrapper functions stay in
    the vp9 folder, since it involves codec-specific data structures.

    Change-Id : Ib066367c953d3d024c73ba65157bbd70a95c9ef8