Hello,
I'm starting a new B4J application – in the planning stage. I'm using the latest B4J (2.50) and Scene Builder (2.0). I've written a few fairly involved B4J apps, but I'm in no way an expert.
Imagine a bitmap image in an ImageView of several people standing in a room. I first want to draw a rectangle around a single person. Then within that rectangle I want to be able to draw rectangles to identify certain features – face, hands, feet, etc.
I'm not asking for code, but does this look like a good approach? Can someone suggest or point me toward controls, examples, or some things I may want to look at?
Thanks,
Barry.
I'm starting a new B4J application – in the planning stage. I'm using the latest B4J (2.50) and Scene Builder (2.0). I've written a few fairly involved B4J apps, but I'm in no way an expert.
Imagine a bitmap image in an ImageView of several people standing in a room. I first want to draw a rectangle around a single person. Then within that rectangle I want to be able to draw rectangles to identify certain features – face, hands, feet, etc.
- Each rectangle will have to be transparent with a colored border - maybe two pixels wide.
- I would like to be able to draw the rectangle by clicking a mouse button, dragging, release.
- The rectangle needs to be selectable (at which point I'll redraw the border to a different color).
- I would like to be able to resize or reposition the rectangles once drawn by selecting within the rectangle and using the cursor keys. I'm thinking the above two suggest the rectangles need to be Windows rather than drawn Shapes.
- I will maintain a List of the rectangles and their state.
I'm not asking for code, but does this look like a good approach? Can someone suggest or point me toward controls, examples, or some things I may want to look at?
Thanks,
Barry.