Ask Your Question

Any tool for cropping positive samples

asked 2018-01-14 09:24:47 -0500

DmitryK gravatar image

I am working on a program which detects boxes from a picture. I am using a cascade classifier to do that. To improve its quality I need to provide more positive samples. I have made many photos of boxes from my webcam. I need in tool to create 'good.dat'-file. I trying to use google imageclipper, but there are no results.. Is there any programms to create file Good.dat with positive object coordinates? I found some in github, but cant run them... If yes, help please with links. Thanks. p.s. Sorry for my bad english)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-01-15 09:33:12 -0500

procton gravatar image

updated 2018-01-15 09:33:53 -0500

Take a look at It's a tutorial which makes use of ObjectMaker.exe utility to crop positive and negative samples. Download link is inside PDF file.

edit flag offensive delete link more


Thanks! This really useful application! Do you know anything else, just in case ? :)

DmitryK gravatar imageDmitryK ( 2018-01-15 13:17:38 -0500 )edit

Regarding image crop or anything else?

procton gravatar imageprocton ( 2018-01-17 03:52:34 -0500 )edit

answered 2018-01-14 09:35:07 -0500

berak gravatar image

updated 2018-01-14 09:35:55 -0500

would opencv's annotation tool be, what you want ? (given a folder of images, it would write a text file with image names an boxes, that can be used with the createsamples tool. you also probably already have that on your box !)

edit flag offensive delete link more


As I understand, I should to compile && run, but I want to found tool to run without compile.

DmitryK gravatar imageDmitryK ( 2018-01-14 10:04:28 -0500 )edit

if you built the opencv libs locally, this one will have been built, too ! have another look at your opencv installation !

berak gravatar imageberak ( 2018-01-14 10:16:46 -0500 )edit

I cannot enable local tools, which comes with errors, just cannot run

DmitryK gravatar imageDmitryK ( 2018-01-15 13:19:02 -0500 )edit

Question Tools

1 follower


Asked: 2018-01-14 09:24:47 -0500

Seen: 762 times

Last updated: Jan 15 '18