
Recherche avancée
Autres articles (29)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (5376)
-
Anomalie #4543 : Accessibilité des chargements ajax (live regions)
4 septembre 2020, par nicod _Si sur le site de cette région, ya pas mal d’ajax qui se recharge "tout seul" sans interaction, possible oui ça va pas du tout,
Non non, ce sont les cas classiques d’utilisation "de base" : formulaires, et listes de résultats avec paginations.
-
OpenCV - motion detection in large video files
18 décembre 2023, par M9AI have large video files (over a few GB each) that I am trying detect motion on. I am using fairly basic OpenCV code in python with ROI to detect motion in a certain area of the video only. This works absolutely fine but takes absolutely ages to process large files. Is there any way to speed things up ? I am simply just checking to see which file has motion detected in it and will not be outputting a video. The moment the first motion is detected the rest of the file is not checked.


import sys
import cv2

video_path = “video.mp4”

capture = cv2.VideoCapture(video_path)

# Set the first frame as the reference background
_, background = capture.read()

# Define the region of interest (ROI)
x, y, w, h = 1468, 1142, 412, 385
roi = (x, y, x + w, y + h)

while capture.isOpened():
 ret, frame = capture.read()

 if not ret:
 break

 # Extract the region of interest from the current frame
 frame_roi = frame[y:y + h, x:x + w]

 # Calculate the absolute difference between the ROI and the background
 diff = cv2.absdiff(background[y:y + h, x:x + w], frame_roi)
 gray = cv2.cvtColor(diff, cv2.COLOR_BGR2GRAY)
 _, thresh = cv2.threshold(gray, 30, 255, cv2.THRESH_BINARY)

 # Check if motion is detected in the ROI (adjust threshold as needed)
 if cv2.countNonZero(thresh) > 75:
 print("YES")
 break

# Release the video capture object
capture.release()



-
Merge commit ’51ca3cb604a7585a7cff35d4b954794508955c19’
15 février 2015, par Michael NiedermayerMerge commit ’51ca3cb604a7585a7cff35d4b954794508955c19’
* commit ’51ca3cb604a7585a7cff35d4b954794508955c19’ :
xcbgrab : Use the correct geometry for the region highlightSee : 0ae37e460c345a4c76e28256af56931e00c94cb5
Merged-by : Michael Niedermayer <michaelni@gmx.at>