Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
capturing
- Page 1
The Rise of AI Scams: Deciphering Reality in a World of Deepfakes
Community Center
4 Weeks Ago
by Johannes C.
… indiscriminate, with scammers casting a wide net in hopes of
capturing
a few unsuspecting victims. These attempts often took the form…
Track Faces from Videos with Margins Using Deep Learning in Python
Programming
Computer Science
2 Months Ago
by usmanmalik57
…, overcoming the limitations of DeepFace's `extract_faces()` method, particularly in
capturing
boundary features and reducing jitter in video outputs. If you…
Re: Extracting values from a regex match
Programming
Software Development
1 Month Ago
by AndreRet
Same question, different post - [Extracting values from
capturing
groups in rege](https://www.daniweb.com/programming/software-development/threads/541420/extracting-values-from-
capturing
-groups-in-regex)
Re: Trump Returns & A Good Year for BTC: ChatGPT’s Bold Predictions for 2024
Community Center
2 Months Ago
by carriejo810
… upset, a strong third-party candidate emerges after the primaries,
capturing
disaffected voters from both major parties and ultimately winning the…
Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Tom_45
I am trying to extract three values from the td tags in an html downloaded file. <tr align="right"><td>236</td><td>Roy</td><td>Allyson</td> <tr align="right"><td>237</td><td>Marvin</td><td>Pamela</td> <tr align="right"><td…
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Reverend Jim
For html = '<tr align="right"><td>236</td><td>Roy</td><td>Allyson</td>' pat = '<td>(.+?)</td>' then re.split(pat,html) returns ['<tr align="right">', '236', '', 'Roy', '', 'Allyson', ''] and re.split(pat,html)[1::2] will …
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Tom_45
I'm not getting the results you presented, I'm getting the whole file not just the tr tags. The tr tags I used was just a subset of the entire file.
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Reverend Jim
Just process the file line by line and apply the regular expression to particular lines. I can't give you an expression that matches only the lines you showed me with a guarantee that in matches nothing else without seeing the entire file.
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Reverend Jim
You can either read the entire file into a list, then filter that list, or you could process it line by line and process each matching line. For example (using my file) for line in open('usblog.txt'): if '2024-01-24' in line: print(line) or text = open('usblog.txt').readlines() for line in [x for x in text if…
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Tom_45
It's a long one, but here it is. <head><title>Popular Baby Names</title> <meta name="dc.language" scheme="ISO639-2" content="eng"> <meta name="dc.creator" content="OACT"> <meta name="lead_content_manager" content="JeffK"&…
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Reverend Jim
Try import re pat = '<td>(.+?)</td>' for line in open('yourfile.html'): if line.startswith('<tr align="right"><td>'): print(re.findall(pat,line)) I realized that findall is cleaner than split. You might want to have a look at [this regex online tool](https://www…
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by AndreRet
Your main issue is with the way you're trying to capture the values inside the 'td' tags. Also, you should consider using non-greedy quantifiers - [Minimal or non-greedy quantifiers](Regular expressions are generally considered greedy because an expression with repetitions will attempt to match as many characters as possible. The asterisk (*), plus…
Re: Extracting values from capturing groups in regex
Programming
Software Development
1 Month Ago
by Tom_45
Issue resolved
Re: Track Faces from Videos with Margins Using Deep Learning in Python
Programming
Computer Science
2 Months Ago
by EdwardMatthew
It's fantastic, I have read this article and it is super amazing. thankyou for the knowledge.
Re: displaying and capturing mutiple images
Programming
Software Development
16 Years Ago
by iamthwee
Capturing
images. Please explain, you could mean a whole host of things.
Re: Java code to capture your screen as image
Programming
Software Development
10 Years Ago
by Obfuscator
Capturing
a screenshot may be achieved in 2 ways - 1. using &… one, and trying the other if the 1st one failed.
Capturing
part of the screen: 1. using 1st method: "robot…
Re: How to pass Checkbox status to jave method as parameter..
Programming
Web Development
15 Years Ago
by Sappster
capturing
the status of a checkbox in javascript if(document.getElementById("checkBox").checked == true){ //do something } else{//do something else} (where "checkBox" is replaced by the elements id you are using.) Not sure if thats what your asking though??
Capturing video in the browser
Programming
Web Development
8 Years Ago
by mmcdonald
… a new project in my spare time and it involves
capturing
30 seconds of video from each registered user. Does anyone… suggestions as to the most widely accepted/compatible method of
capturing
video in the browser and storing it somewhere such as…
Capturing data from txt file using JavaScript/HTML
Programming
Web Development
19 Years Ago
by javadano
… step. My issue now that i am facing is "
capturing
" pertinent data. I am attempting to do this by…
capturing images using java
Programming
Software Development
15 Years Ago
by swapna7999
can anybody tel me what are the steps in
capturing
images from a webcam using java
Capturing problems with Open CV
Programming
Software Development
15 Years Ago
by mhan07
… open CV on my study. However, i have some problems
capturing
anything from my webcam using open cv. I am using…
capturing a dynamic number into a variable
Programming
Web Development
14 Years Ago
by Addweb
Hi, I have a problem with
capturing
a number that is generated with a javascript. Let me …
Re: capturing a dynamic number into a variable
Programming
Web Development
14 Years Ago
by saiprem
[QUOTE=Addweb;1133375]Hi, I have a problem with
capturing
a number that is generated with a javascript. Let me …
Re: Capturing .jpg using a WebCam
Programming
Software Development
13 Years Ago
by debayanmitra
NO Sir actually I want idea for VB.net code which will help me to capture a pic from webcam. Actually I want to create a Pic-
Capturing
Software using vb.net.
Problem Capturing video with AIW 9600XT
Hardware and Software
Microsoft Windows
19 Years Ago
by gmanater
… All-In-Wonder 9600 XT card and when I try
capturing
video via composite and RCA jacks it only captures the…
video capturing
Programming
Software Development
13 Years Ago
by eagleeye3
… me to capture the video I’m using a video
capturing
card which works fine, still I need to integrate the…
need help in c# video capturing
Programming
Software Development
13 Years Ago
by Jessurider
hey can anyone tell me how to remove the delay in webcam video streaming..........i've created a webcam
capturing
project but find little delay in the video streaming
code for fingerprint capturing using vb6.0
Programming
Software Development
12 Years Ago
by Awulonu
I need the code for fingerprint
capturing
using vb6 and also which control do i use in achieving it.
asp .net web app is capturing wrong logged in user name in Audit trail
Programming
Web Development
8 Years Ago
by anupamverma
Reason why asp .net web app is
capturing
wrong logged in user name in Audit trail?
Affiliate Commerce System And Method
Digital Media
Digital Marketing
17 Years Ago
by marketraise int
…executing instructions that perform the steps of: i)
capturing
a look and feel description associated with a host…the processor executes instructions for performing the step of
capturing
a look and feel by performing the steps of…commerce support pages, comprising the steps of: a)
capturing
a look and feel description associated with a host website…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC