sample-data

building positive samples for rotated images for cascaded training in OpenCV

扶醉桌前 提交于 2019-12-06 03:20:37
I need to train a cascaded classifier to detect vehicles and different viewing angles. I'm using OpenCV. Some of the angles that I need to capture cause the placement of the vehicle within the image to be diagonal, as shown below: Now the problem with this is that because the vehicle is diagonally placed across the image, then there's a lot of unnecessary background which I can't crop out simply because images have to be rectangular. Is there another way to build positive samples for diagonally placed angles/perspectives of objects? I do need the classifier to be able to recognize this

Core Audio AudioFIleReadPackets… looking for raw audio

陌路散爱 提交于 2019-12-04 19:42:57
I'm trying to get raw audio data from a file (i'm used to seeing floating point values between -1 and 1). I'm trying to pull this data out of the buffers in real time so that I can provide some type of metering for the app. I'm basically reading the whole file into memory using AudioFileReadPackets. I've create a RemoteIO audio unit to do playback and inside of the playbackCallback, i'm supplying the mData to the AudioBuffer so that it can be sent to hardware. The big problem I'm having is that the data being sent to the buffers from my array of data (from AudioFileReadPackets) is UInt32... I

How to find thousands of company names? [closed]

久未见 提交于 2019-12-03 05:52:50
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . How can I find or generate thousands of company names for testing and demo purposes? (Address, phone number, and related information would be nice too.) I've got a system I'm building which includes business contact information. Pretty common no doubt. My test/demo database currently has randomly generated

where to get csv sample data? [closed]

痴心易碎 提交于 2019-12-03 04:12:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . As part of my development I need to process some .csv files. For what it matters I am writing a super fast CSV parser in java I would like to ask if somebody can name some websites where I can find some good csv files so I can test my app. Please don't tag this question is inappropriate I think developers would

How do I “pickle” instances of Django models in a database into sample python code I can use to load sample data?

百般思念 提交于 2019-12-03 03:28:19
How do I "pickle" instances of Django models in a database into sample python code I can use to load sample data? I want to: 1) Take a snapshot of several hundred records that I have stored in a MySQL database for a Django project 2) Take this snapshot and modify the data in it (blanking out names) 3) Transform this data into a "pickled string" or actual python code that I can use to load the data into a new users account. The main feature I'm trying to implement is to select one of my current active Django website users , copy and anonymize some of their data, and then load that as sample

How to find thousands of company names? [closed]

三世轮回 提交于 2019-12-02 19:13:06
How can I find or generate thousands of company names for testing and demo purposes? (Address, phone number, and related information would be nice too.) I've got a system I'm building which includes business contact information. Pretty common no doubt. My test/demo database currently has randomly generated individual's names loaded (thanks to a handy IRS spreadsheet I found). This has worked great for internal testing and review purposes, but it looks really odd when shown to prospective customers. I've tried various online public information sources (e.g. EDGAR, and county based property

opencv createsamples has no error, but no samples found

廉价感情. 提交于 2019-12-02 11:04:59
问题 I'm using this tutorial, and I'm on the stage of creating lots of samples from my positive images. I'm using Windows. This is the command: perl bin/createsamples.pl positives.txt negatives.txt samples 1500\ "C:\opencv_built\bin\Release\opencv_createsamples.exe -bgcolor 0 -bgthresh 0 -maxxangle 1.1\ -maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 80 -h 40" And this is what I get as output, for each of the positive images: C:\opencv_built\bin\Release\opencv_createsamples.exe -bgcolor 0 -bgthresh 0

opencv createsamples has no error, but no samples found

拈花ヽ惹草 提交于 2019-12-02 05:16:03
I'm using this tutorial, and I'm on the stage of creating lots of samples from my positive images. I'm using Windows. This is the command: perl bin/createsamples.pl positives.txt negatives.txt samples 1500\ "C:\opencv_built\bin\Release\opencv_createsamples.exe -bgcolor 0 -bgthresh 0 -maxxangle 1.1\ -maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 80 -h 40" And this is what I get as output, for each of the positive images: C:\opencv_built\bin\Release\opencv_createsamples.exe -bgcolor 0 -bgthresh 0 -max xangle 1.1\ -maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 80 -h 40 -img 60inclin ation_315azimuth

Sample data for IPv6?

♀尐吖头ヾ 提交于 2019-12-01 09:47:26
Do any sample data sets exist for IPv6 traffic, e.g. Apache logs or traffic analysis logs? Alternatively does anyone have any ideas how to generate one or - optimistically - an existing tool to generate data? Ideally I would like sample addresses from real deployed ranged in proportion to how many addresses are in that range and / or expected traffic volume to / from those ranges, i.e. representative of the traffic that would go through a real-world router or web proxy or web server access log. We're adding an IPv6 lookup to an existing project (matching subnets / address prefixes) and I was

Sample database for exercise [closed]

扶醉桌前 提交于 2019-11-29 19:12:19
I would like to play with a larger database to test my knowledge on SQL. Is there a huge .sql out there that I can use to play with SQL queries? karim79 You could try the classic MySQL world database . The world.sql file is available for download here: http://dev.mysql.com/doc/index-other.html Just scroll down to Example Databases and you will find it. iberck This is an online database but you can try with the stackoverflow database: http://data.stackexchange.com/stackoverflow/query/new You also can download its dumps here: https://archive.org/download/stackexchange bendewey Check out CodePlex