rmsalinas / raspicam Goto Github PK
View Code? Open in Web Editor NEWOfficial raspicam from AVA Research Group. Controlling the raspberry pi camera in C++. Moved from Sourceforge to here
Official raspicam from AVA Research Group. Controlling the raspberry pi camera in C++. Moved from Sourceforge to here
Howdy, when I do
Camera.setWidth ( 192 );
Camera.setHeight ( 128 );
I get a tiny part of the middle of the sensor, when I'd like the full frame scaled down to 192x128
raspistill -w 192 -h 128 -o /tmp/raspicam_image.jpg does this fine, but this library does not.
Is there a way to get the library to scale down the image, or do I have to do it myself in code?
Thanks,
Marc
void RaspiCam_Still::setShutterSpeed(unsigned int ss) {
_impl->setShutterSpeed(ss);
}
void RaspiCam_Still::setAWB_RB(float red_g, float blue_g) {
_impl->setAWB_RB(red_g, blue_g);
}
Hello, I'm using Camera V1.3 on Raspbrry Pi 4B, grab 1600x1200 CV_8UC3 18fps
it's take about 80% CPU usage(single core I think), is 80% normal?
In Private_Impl
class defined function setVideoStabilization
, and this function param setted to State.videoStabilisation
.
But, in Private_Impl
not defined getVideoStabilization
.
If necessary, i can create a merge request with the necessary changes.
Sorry for my bad english.
still mode in camera V2.1 seems has a problem.
when capturing starts after a while it can not grab any other frame
I recently got a few of the high quality camera sensors. Is there any support for this? When I use these sensors, I still get the 1280 × 960 images.
Hi,
I just checked out the latest version on raspbian/rPi4.
The included example works fine, but when I tried to compile the sample code given on
http://www.uco.es/investiga/grupos/ava/node/40
sleep is not found, I had to add
#include <unistd.h>
build is missing -L/opt/vc/lib/. I had to build with
g++ simpletest_raspicam.cpp -o simpletest_raspicam -I/usr/local/include -L/opt/vc/lib/ -lraspicam -lmmal -lmmal_core -lmmal_util
runtime warning
root@rPi4b:~/raspicam/example# ./simpletest_raspicam
Opening Camera...
Sleeping for 3 secs
/root/raspicam/src/private/private_impl.cpp:179 :Private_Impl::retrieve type is not RASPICAM_FORMAT_IGNORE as it should be
Image saved at raspicam_image.ppm
not sure what the fix should be, but the ppm file works, so that's the important part
I am using raspbery Pi 4 SoC with Ubuntu 20.10 64bit OS and trying to use raspberry Pi HD Camera.
I am able to compile 'raspicam' and below example code successfully, but when I am running this test code it gives me error.
`
#include <raspicam/raspicam.h>
#include <raspicam/raspicamtypes.h>
int main()
{
raspicam::RaspiCam camera;
camera.open(true);
camera.grab();
return 0;
}
`
Error
mmal_component_create_core: could not find component 'vc.ril.camera'
On the same configuration I am able to run raspistill without any issues so camera is working fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.