Comments (4)
Hi, @seanXYZ I am not sure which OpenCV version you are talking about. The code should works with the previous version 2.4.9. Alternatively, you could try the mexOpenCV https://github.com/kyamagu/mexopencv, it should help you getting things done with the latest OpenCV YAML interface.
from objectness.
Hi, thank you for your message. I have already figured it out.And read and test all your code.
The problem takes place because that the format of YAML can not be parsed on my machine.So I have tried different formats, this format below is working:
%YAML:1.0
annotation:
folder: VOC2007
filename: "000001.jpg"
source: {database: The VOC2007 Database, annotation: PASCAL VOC2007, image: flickr,
flickrid: '341012865'}
owner: {flickrid: Fried Camels, name: Jinky the Fruit Bat}
size: {width: '353', height: '500', depth: '3'}
segmented: '0'
object:
- bndbox: {xmin: '48', ymin: '240', xmax: '195', ymax: '371'}
name: dog
pose: Left
truncated: '1'
difficult: '0'
- bndbox: {xmin: '8', ymin: '12', xmax: '352', ymax: '498'}
name: person
pose: Left
truncated: '1'
difficult: '0'
from objectness.
@seanXYZ Hello, I want make own data set like VOC2007 Annotations, but the annotations is xml, I want generate yml,could you tell me how to generate the formats like follow
%YAML:1.0
annotation:
folder: VOC2007
filename: "000001.jpg"
source: {database: The VOC2007 Database, annotation: PASCAL VOC2007, image: flickr,
flickrid: '341012865'}
owner: {flickrid: Fried Camels, name: Jinky the Fruit Bat}
size: {width: '353', height: '500', depth: '3'}
segmented: '0'
object:
- bndbox: {xmin: '48', ymin: '240', xmax: '195', ymax: '371'}
name: dog
pose: Left
truncated: '1'
difficult: '0' - bndbox: {xmin: '8', ymin: '12', xmax: '352', ymax: '498'}
name: person
pose: Left
truncated: '1'
difficult: '0'
from objectness.
I think you can use a lot of APIs to edit your YAML file or XML file. To the infomation of the object, you may write a program to select the box of it.
from objectness.
Related Issues (15)
- A small bug in the evaluation code
- run ./BING_linux Invalidate class name HOT 3
- About dataset HOT 4
- precision recall
- YAML files generated from xml2yml.m HOT 2
- /Objectness.cpp:304 not enough training sample for r[0] = 2. P = 0, N = 6760
- Content in the dataset catalog
- Compilation error: error: ‘CV_INTER_NN’ was not declared in this scope. HOT 1
- OpenCV 3.0 Objectness HOT 2
- Are there any alternatives to given xml2yaml.m ? HOT 1
- Installing on Mac HOT 4
- Linking Problems During Building HOT 6
- How to correctly set all the paths and run the code? HOT 14
- Problem with installing on Mac HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from objectness.