
Recherche avancée
Autres articles (58)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (7362)
-
How to import the CascadeClassifier module from Opencv ?
22 juillet 2015, par kylel95This 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 youimport 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 Pesutavcodec : 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 HanChanged 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_dspThis 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