
Recherche avancée
Autres articles (52)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (5425)
-
Unable to connect to UDP through opencv [closed]
16 février 2020, par HeyyayaCurrently on my windows laptop, I have setup a project which uses OpenCV to get live feed (udp) off my drone using the cv2.VideoCapture("udp ://@") command. It works very well, yet when I try running my code on the pi, it doesn’t recognize the video capture and returns errors including, unable to resize null object. Is there something I need installed inorder to get this working ?
Thanks
-
Opencv cv2.VideoCapture('file.avi') shows first frame then throws exception
3 novembre 2014, par holografixI’m trying to read a .avi included in the OpenCV original package, it’s called 768x576.avi and shows a few people walking around a street.
The code below shows what seems to be the 1st frame and runs for a few seconds before returning an Exception.
import cv2
cap = cv2.VideoCapture('768x576.avi')
cap.isOpened() # returns True
cap.get(3); cap.get(4) # returns 768 and 576
while (True):
ret, frame = cap.read()
cv2.imshow('frame', frame)Hands me this error after a few secs on the cv2.imshow line, I think it means the returned frame had no data associated it in.
error: /tmp/opencv-7y6HHt/opencv-2.4.9/modules/highgui/src/window.cpp:261: error: (-215) size.width>0 && size.height>0 in function imshow
I have no idea why this is happening, I’m running Yosemite, brew installed Python, OpenCv and Ffmpeg.
opencv: stable 2.4.9, HEAD
http://opencv.org/
/usr/local/Cellar/opencv/2.4.9 (219 files, 38M) *
ffmpeg: stable 2.4.2 (bottled), HEAD
https://ffmpeg.org/
/usr/local/Cellar/ffmpeg/2.4.2 (199 files, 40M) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/ffmpeg.rb
==> Dependencies
Build: pkg-config ✔, texi2html ✘, yasm ✘
Recommended: x264 ✔, faac ✔, lame ✔, xvid ✔ -
failed to set frame number in opencv in cpp
28 février 2018, par Madhu NadendlaI am trying to set frame position of opened videofile using OpenCV in C++ but it returns 0.
solution 1
bool success = capture.set(CV_CAP_PROP_POS_FRAMES, noFrame);
double frameRate = capture.get(CV_CAP_PROP_FPS);