DiamondLightSource / DiamondLightSource/sci-react-ui
Make a MJPG point and click component
@DominicOram is already working on this.
Since Jun 13, 2025.
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 3
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 5
Description
For many applications in DAQ we need a user to click on a location on a video stream and use the location of this click to move some underlying hardware. The classic example of this is an image showing the sample in a beamline and the user's click moving the sample so that the location of the click is in the beam.
## Notes
* Videos are normally in MJPG format
* The click location should be posted to an API that actually does the movement (probably through BlueAPI)
* Video resolutions may change, the click location should probably be in fractions of image e.g. (0.5, 0.5) is image centre
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.