Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
streamlit-terran-timeline
Advanced tools
Creating face-recognition timelines on videos has never been so easy! Using the power of Terran we can easily build these timelines.
This Streamlit component requires the following packages for working properly:
# Install dependencies
pip install --upgrade streamlit terran youtube-dl
# Install the component
pip install streamlit-terran-timeline
You can generate a timeline from any kind of video using the generate_timeline
function and then using the terran_timeline
Streamlit component like this:
import streamlit as st
from streamlit_terran_timeline import generate_timeline, terran_timeline
# Generate the timeline information
timeline = generate_timeline("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
#
# Display the timeline. If the users click, you'll get the exact second of
# the part of the timeline video. By default, it returns 0.
#
start_time = terran_timeline(timeline)
st.write(f"User clicked on second {start_time}")
You can also check out more examples in the examples folder.
_RELEASE
variable from streamlit_terran_timeline/__init__.py
to False
.streamlit_terran_timeline/frontend
by running npm install
and then npm run start
pip install -e .
streamlit run streamlit_terran_timeline/examples/youtube.py
Terran is human-perception library made by Pento 🚀
With Terran, making this demo was super easy! You can take a look at the generate_timeline
function to understand how Terran modules works with videos, face-recognition, and face-detection.
FAQs
Create faces timelines from videos
We found that streamlit-terran-timeline demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.